PsiCop
asked on
Resizing an ext3 filesystem
In a RHES v3 environment, how do I re-size (shrink) an ext3 filesystem? The solution can require the filesystem to be unmounted.
"parted" doesn't seem to be able to do this - the parted v1.6.25 we have claims that it doesn't understand ext3, or that the "ext2 filesystem looks funny". Yes, the GNU docs list ext3 as a supported filesystem.
e2fsprogs seems to require a v2.6 kernel, which is not presently an option.
We tried Knoppix, but it mounts (and won't let us unmount) the server's root filesystem.
"parted" doesn't seem to be able to do this - the parted v1.6.25 we have claims that it doesn't understand ext3, or that the "ext2 filesystem looks funny". Yes, the GNU docs list ext3 as a supported filesystem.
e2fsprogs seems to require a v2.6 kernel, which is not presently an option.
We tried Knoppix, but it mounts (and won't let us unmount) the server's root filesystem.
Have you tried using knoppix without mounting the filesystem first? You should be able to use QtParted then which comes on knoppix. To resize the partition it shouldn't be mounted anyway.
ASKER
Knoppix insists on mounting it on its way to Run Level 5. And once its mounted, it won't let us umount it. We want to get to QtParted, but we can't get Knoppix to NOT mount the partition.
I've never seen knoppix mounting a partition by itself, except if it is a swap partition or finds a swap file. Have you tried the cheatcodes to boot knoppix without a swap partition? What knoppix version is it?
ASKER
I'm actually helping a co-worker with this.
The issue seems to be that Knoppix is loading its automounter, and the automounter is mounting the root partition from the HDD.
I don't know the specific Knoppix version, altho I do know its fairly recent. Also, cheat codes have been tried.
The issue seems to be that Knoppix is loading its automounter, and the automounter is mounting the root partition from the HDD.
I don't know the specific Knoppix version, altho I do know its fairly recent. Also, cheat codes have been tried.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, I think my co-worker is giving up. It's his choice. I'll split the points. Thanks to all who responded.
Thanks anyway.