|
|
Subscribe / Log in / New account

Fedora and LVM

Fedora and LVM

Posted Nov 1, 2012 0:52 UTC (Thu) by butlerm (subscriber, #13312)
In reply to: Fedora and LVM by nix
Parent article: Fedora and LVM

>a bit of fs corruption in e.g. /var that takes /home with it

That is a weakness in the filesystem that shouldn't require hard partitioning to resolve. It would make a lot more sense for a filesystem to be able to place files from different directory trees into internally independent allocation groups, such that a corruption in one of them would be no more likely to take another down than if they were in separate partitions.

That would be one way to radically speed fsck times as well.


to post comments

Fedora and LVM

Posted Nov 1, 2012 17:55 UTC (Thu) by nix (subscriber, #2304) [Link]

To some degree, ext4 does this -- for that matter so does ext3. However, if one group gets full, an allocation is going to come from a different group, possibly one containing blocks from elsewhere, and they all share the same journal, the same inode tables, the same superblock and so on. Fundamentally there are a lot of shared data structures there, and if one of them gets corrupted, every related structure is at risk. (Also, e.g., a mv between two distant directories on the same filesystem is not normally expected to move all its blocks from one group to another, but on different filesystems, it does.)

With entirely independent filesystems, this problem goes away -- and moving *that* down into the filesystem is redundant, because we already have the ability to do just the same thing by making more than one filesystem.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds