How to add drive lvm -

Chris Tyler chris at tylers.info
Sat Feb 21 23:51:45 UTC 2009


On Sat, 2009-02-21 at 23:30 +0000, iarly selbir wrote:
> - create a lvm partition with fdisk
> fdisk /dev/xxx
> n ( new partition )
> p ( type primary )
> 1 ( first partition )
> t ( select partition type )
> 8e ( lvm )
> 
> - create physical volume
> # pvcreate /dev/xxx1

Alternately, add it to the existing volume group:

# lvextend VolGroup00 /dev/xxx

The advantage to doing this is that you can extend existing logical
volumes as well as create new ones.

BTW, all of this can be done graphically using system-config-lvm (which
is System>Administration>Logical Volume Management on the Gnome menu).

-Chris




More information about the fedora-list mailing list