Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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