Hi, I'm still "playing around" with RHEL5 before any major production deployment, and just bumped into a limitation I really didn't expect... it seems like online resizing of ext3 filesystems no longer works (vs. RHEL4 where it works fine with "ext2online").
First of all, it took me a while to find out what command to use for ext3 resizing... I remember the good old "e2fsadm" from the RHEL3 days, the "ext2online" I still use a log with RHEL4, and now it's yet another tool with a completely different name : resize2fs. >From the man page : "The resize2fs program will resize ext2 or ext3 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 only.)." Well, RHEL5 has a 2.6 kernel, *but* when trying to resize a mounted partition I get a "can't resize a mounted filesystem!" message :-( I was really hoping I would be able to grow the ext3 formatted logical volume I use as a phy device with Xen from "underneath" the Xen guest system, and have it "just work", but apparently that isn't the case... the guest must be completely stopped and e2fsck run before the partition can be resized. Oh, and for the brave : Save yourself some time and don't even try to resize the partition with the Xen guest only paused or saved... it doesn't go smoothly at all. It had been a long time since I had to run e2fsck so many times :-( Does anyone know if online ext3 resizing has been disabled for some reason? Is there any way to resize a Xen guest's "/" filesystem "on the fly"? Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora Core release 6 (Zod) - Linux kernel 2.6.20-1.2943.fc6 Load : 0.26 0.18 0.17 _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list