[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

>>>>> "Andreas" == Andreas Dilger <adilger 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]