[Ocfs2-tools-devel] [PATCH 0/5] Add "sparse" feature modification in tunefs.ocfs2, take 1

Tao Ma tao.ma at oracle.com
Wed Oct 17 02:18:28 PDT 2007


The disk layout for ocfs2 volume will be changed for sparse files in 1.4,
so for some boxes which have ocfs2-1.2.* installed, it is impossible for
them to access the new-formatted devices. On the other hand, for some
old-formatted volume, we could turn on this feature so that the future
cluster allocation can use it to save space.

Another new usage for tunefs.ocfs2 is to list all the sparse files in a
volume. This is useful before a user want to disable "sparse_files".
It will provide the user a quick way to list all such files. So he might
just decide that some files are not worth it, like coredumps. And he may
choose to remove them to save spaces.

So add "--list-sparse" "--fs-features=[no]sparse" to tunefs.ocfs2, so that
user can use them to do the feature modification work.



More information about the Ocfs2-tools-devel mailing list