Red Hat Bugzilla – Bug 131597
lvm2 is missing e2fsadm
Last modified: 2007-11-30 17:10:48 EST
The lvm2 package doesn't contain /sbin/e2fsadm. (The lvm package
contained this in FC1.)
e2fsadm is obsolete.
The --resizefs option to lvextend/lvreduce/lvresize replaces it, but
this option isn't enabled yet because it needs people to test it first.
[To test it, get LVM2 from CVS and configure --enable-fsadm, reporting
findings to the linux-lvm mailing list.]
I would like to (politely :) suggest that
a) --enable-fsadm be turned on in rawhide (if it isn't already)
b) a new e2fsadm (or just fsadm) be added, simply for backwards
compatibility with lvm1 and HP-UX's LVM tools
On b), I'd be willing to write such a wrapper, if necessary.
The former HP-UX admins at a large company I used to work for (who I
believe is a RHEL customer) will miss it.
(a) Not until it's been tested properly. Its purpose is to *reduce*
the risk of people making mistakes with resizing, not to add to the
risk of losing a filesystem:-)
(b) e2fsadm can be made an alias for 'lvresize -r' within lvm but I'm
reluctant to put the link in the filesystem as I find the name quite
misleading - it isn't part of the ext2 tools. What does the name
mean? ext2 filesystem administration? Yet it's manipulating a
logical volume and only lets you change the size of the filesystem.
*** This bug has been marked as a duplicate of 117316 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.