User talk:Cgeroux

From CC Doc
Jump to: navigation, search

LVM

Linux Logical Volume Manager

What does LVM do [1] Using LVM [2]

pvcreate <dev1> <dev2> ...: initialize one or more disk to be used by LVM (needs to be unmounted, previous filesystems will be wiped) vgcreate <volume-group-name> <dev1> <dev2> ...: creates a volume group vgremove <volume-group-name>: removes a previously created volume group lvcreate -n <logical-volume-name> -L <size> <volume-group-name>: creates a logical volume from an existing volume group, note "-l" can use list of extents to specify size instead of size in units of GB etc.