Re: LVM - How to resize a volume group?

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

 



Dejan

Instead of making a new partition on disk, why not create another logical volume? You can shrink one of the two logical volumes {root | home} and create a new LV for your new partition. This will allow you more flexibility in the future with resizing, and will be worlds easier than shrinking your LV's VG's, PV, the partition, and then writing a new one.

If you're using EXT2/3 for your /home, you can shrink the LV like this:

# umount /home
# e2fsadm -L-1G /dev/VolGroup00/home
# mount /home


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. See the e2fsadm man page for more information.
See the lvcreate manpage for instructions on creating the new volume.
Brian
On May 25, 2008, at 9:51 AM, Dejan Čabrilo wrote:
Can you be more clean on your goal, I understand you'd like to create a new
filesystem?

I would like to create a new primary partition. I currently have sda1
(/boot) and sda2 (lvm), and would like to shrink sda2.

Please provide output of the following two commands:
vgdisplay
lvdisplay

Attached.

Thanks,
Dejan

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

<lvdisplay><vgdisplay>-- 
fedora-list mailing list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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

  Powered by Linux