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
========================================================================

  

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux