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

Re: How to add drive lvm -



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


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