[CentOS] Upgrading to larger HD with LVM
Paul
unix at bikesn4x4s.com
Thu Dec 21 19:50:21 UTC 2006
On Thu, December 21, 2006 1:00 pm, Aleksandar Milivojevic wrote:> Logical
volume name should be specified as /dev/VolGroup00/LogVol00.
>
> Also, you might prefer to use pvdisplay, vgdisplay and lvdisplay. For
> example, it will print sizes in physical extents too (in case you want
> to use -l instead of -L option).
Thank you, Aleksander! All well. Thanks for you explanations, presented
very easy to understand.
Only downtime, was to reboot once after fdisk.
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
36G 5.7G 29G 17% /
/dev/hda1 99M 22M 73M 24% /boot
none 506M 0 506M 0% /dev/shm
My commands were:
1. fdisk /dev/hda
2. init 6
3. pvresize
4. lvresize
5. ext2online
More information about the CentOS
mailing list