[Ocfs2-tools-devel] [PATCH 13/19] Ocfs2-tools: Add running codes for '--file-statistics' in operation.c
Sunil Mushran
sunil.mushran at oracle.com
Mon Apr 19 13:25:43 PDT 2010
tristan wrote:
> Frag%: 0.00 Clusters: 0 Extents: 0 Score: 0
> Shared: 0 Unwritten: 0 Holes: 0 Xattr: 0
>
> Above 2 lines is the additional info o2info provides.
>
> non-privileged users are not able to have a close watch on these
> without 'o2info --file-statistics'.
The filefrag utility provides most of this info. I have submitted
a patch that teaches it about shared too.
# filefrag -v Random
Filesystem type is: 7461636f
File size of Random is 409600000 (100000 blocks, blocksize 4096)
ext logical physical expected length flags
0 0 722940 256
1 256 582866 723195 28463 shared
2 28719 645121 611328 30720 shared
3 59439 677377 675840 30720 shared
4 90159 709633 708096 9841 shared,eof
Random: 5 extents found
attr(1) should suffice for xattr.
More information about the Ocfs2-tools-devel
mailing list