Re: resize online with ext3?
Jonathan Sailor <[email protected]>
| Newsgroups | gmane.linux.evms.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 30 Dec 2006, Steinar H. Gunderson wrote: > Theodore, since you probably know this from at least one side of the > equation; how difficult do you think it would be to simply fix this in the > ext2 EVMS plugin? In other words, how much work is there to > > a) Determine if a file system is online resizeable, and > b) Resize it using the right ioctls > > Actually, b) could probably simply be handled by calling resize2fs like with > offline resizing, but I'm not sure how one could detect if the user had a > version capable of doing online resizing. Well, to be completely paranoid, you would also need c) check that the kernel and/or resize2fs can do online resizing. However, one thing which I've wondered: why does the plugin refuse to expand at all? Assuming the old versions of resize2fs would refuse to expand a mounted volume, why not just have the plugin warn before doing an online expand? After that, you could treat it identically to offline, and if resize2fs/the volume/linux can't do an online resize, the filesystem will just remain small. ------------------------------------------------------------------------- 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