[CentOS] Upgrading to larger HD with LVM

Thu Dec 21 18:00:11 UTC 2006
Aleksandar Milivojevic <alex at milivojevic.org>

Quoting Paul <unix at bikesn4x4s.com>:

> # lvresize -L +10G --test /dev/mapper/VolGroup00-LogVol00 /dev/hda2
>   Test mode: Metadata will NOT be updated.
>   Volume group mapper doesn't exist

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).