[LUNI] Resizing my LVM

David Terrell dbt at meat.net
Fri May 18 09:59:55 CDT 2007


On Wed, May 16, 2007 at 11:24:36PM -0500, Martin Maney wrote:
> On Wed, May 16, 2007 at 11:38:57PM -0400, Keith T. Garner wrote:
> > Also, you didn't mention the distribution or kernel you're on, but if its a
> > new enough kernel and new enough e2fsprogs, you can do the resizing without
> > unmounting the filesystem.
> 
> Contrariwise, if you do need to run the filesystem resize offline, you
> might encounter some difficulty unmounting /home if you get root by
> su[do] from a normal login.
> promised?


cd / ; sudo umount /home 

Should work just fine.  

Now, umounting /var via sudo could cause problems, especially if you
try to re-mount with sudo and /var/run/sudo is gone. :)

-- 
David Terrell
dbt at meat.net
((meatspace)) http://meat.net/


More information about the luni mailing list