Re: resize online with ext3?
Theodore Tso <[email protected]>
| Newsgroups | gmane.linux.evms.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Dec 29, 2006 at 06:30:48PM +0100, Mauro Sanna wrote: > >> Expanding reiserfs filesystems with evms in remote machines is very > >> simple and useful but with ext3 it's very hard and also dangerous if, > >> for example, I want to expand /var I must unmount it and is better to do > >> in single mode. > >> With a remote machine it is impossible. > > > > Nah, it's just really hard. You can run most of the init scripts to stop > > daemons manually and kill the rest, leaving mostly just your fork of > > ssh, and then copy/unmount/remount. I had to do it once, before LVM. > > And if I want to to expand /usr? > I can't umount it if I am not in single mode. Ext3 does support on-line resizing, although you do need to make sure you created the filesystem with -O resize_inode (this is the default in the latest e2fsprogs, but may not be for your distribution-provided version of mke2fs). If the filesystem is created with the resize_inode feature, then you wouldn't need to umount it in order to resize it. You just need to convince EVMS to expand the Logical Volume without trying to expand the filesystem, and then manually run resize2fs to expand the filesystem afterwards. This can all be done while the filesystem is mounted. - Ted ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Evms-devel mailing list [email protected] To subscribe/unsubscribe, please visit: https://lists.sourceforge.net/lists/listinfo/evms-devel