Re: Fedora Cookbook: Resizing a logical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Root FS resizes imho usually requires the Rescue mode. Perhaps when growing, but shrinking is a bit tough...

You may - in rescue mode - import the Volume Group (when using LVM) and do the resize operations. Do not forget to do a partprobe /dev/xda, as the kernel will still be using the old filesystem tables when resizing (one of our customers did a shrink on the root partition and ran fsck, this made a lot of errors afterwards).

brgds
rainer


Robert P. J. Day schrieb:
On Fri, 28 Dec 2007, Luciano Rocha wrote:

  
2. There is no need to do an off-line resize. Ext3 (and xfs) suppors
on-line resizing, so the steps are:
  * lvextend -L +4G /dev/f8/opt
  * resize2fs /dev/f8/opt
    
does that include the root filesystem as well?  i recall that that
*used to be* an issue.

rday

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================

  


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux