[linux-lvm] Alpha testers rqd for ext2 fs extend utility.

Stefan Monnier monnier+lists/linux/lvm/news/ at tequila.cs.yale.edu
Wed Jun 30 17:42:43 UTC 1999


>>>>> "Andreas" == Andreas Dilger <adilger at enel.ucalgary.ca> writes:
> all of the space on your disks.  It is easy to grow a filesystem, but
> lots of work to shrink it (ie backup, rebuild, restore).

That's exactly why I don't like this pre-allocation idea.
It will end up with a grow2fs utility and no way to shrink a filesystem.
I'd rather see the work be out in a real ext2resize that can both grow and
shrink a filesystem, as can AdvFS.
Problem is:  shrinking will necessarily mean heavy disk reorganization
(most importantly: some files will have to be reassigned to other inodes
which means `stale filehandle' across NFS).  So I must admit that it is indeed
desirable to at least try to avoid moving things around when possible,
via (f.ex.) pre-allocation.

All in all, it just goes to show that a static inode->block mapping
as is used in ext2 (and ufs) is not flexible enough.


	Stefan



More information about the linux-lvm mailing list