Skip to content

Instantly share code, notes, and snippets.

@keyurdg
Created April 22, 2014 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keyurdg/82b955fb96b003930e4f to your computer and use it in GitHub Desktop.
Save keyurdg/82b955fb96b003930e4f to your computer and use it in GitHub Desktop.
AG's before DIRECT_IO test
[root@dbtest09 linux-3.10.37]# for ag in `seq 0 1 2`; do echo freespace in AG $ag; xfs_db -r -c "freesp -s -a $ag" /dev/sda4 ; done
freespace in AG 0
from to extents blocks pct
1 1 4 4 0.00
4 7 2 9 0.00
8388608 16777215 2 24024970 100.00
total free extents 8
total free blocks 24024983
average free extent size 3.00312e+06
freespace in AG 1
from to extents blocks pct
1 1 4 4 0.00
16777216 24024992 1 24024984 100.00
total free extents 5
total free blocks 24024988
average free extent size 4.805e+06
freespace in AG 2
from to extents blocks pct
1 1 4 4 0.00
16777216 24024992 1 24024984 100.00
total free extents 5
total free blocks 24024988
average free extent size 4.805e+06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment