Thanks Stuart.<br><br>That's what I did finally. Logged in as root in the console (in fact I booted into recovery mode from GRUB in order to do this).<br>Also, to ensure that the underlying file system is also resized accordingly, I used the -r option.<br>
<br>lvresize -r -L-20G vgme/lvhome<br>lvresize -r -L+20G vgme/lvroot<br><br>That did the trick. Thanks.<br><br><div class="gmail_quote">On Tue, Jan 17, 2012 at 11:45 PM, Stuart D. Gathman <span dir="ltr"><<a href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Long ago, Nostradamus foresaw that on Jan 16, Kiran Rao would write:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Now, I tried the GUI (system-config-lvm) tool to do this. I can click on<br>
lvhome and try to resize it. However, the problem is that since I am logged<br>
in as a non-root user, the /home is mounted. Resizing requires one to<br>
unmount it, but the unmount operation fails since I am mounted.<br>
<br>
How do I work around this?<br>
</blockquote>
<br></div>
Log out of GUI<br>
Switch to text console (on linux try Ctrl-Alt-F3 for vt3)<br>
Login as root Unmount /home<br>
resize2fs <device-for-home><br>
# WARNING!  Make sure lvresize size is >= resize2fs size.  If you aren't<br>
# sure about the units, make lvresize larger than you think you made<br>
# the filesystem.  You can always expand the filesystems again, but<br>
# you can't undo shrinking the LV too far.<br>
lvresize <device-for-home><br>
mount /home<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
              Stuart D. Gathman <<a href="mailto:stuart@bmsi.com" target="_blank">stuart@bmsi.com</a>><br>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154<br>
"Confutatis maledictis, flammis acribus addictis" - background song for<br>
a Microsoft sponsored "Where do you want to go from here?" commercial.<br>
<br>
______________________________<u></u>_________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-<u></u>HOWTO/</a><br>
</font></span></blockquote></div><br>