GLOSSARY

pv physical volume -- physical disk
vg volume group -- name of the array
lv logical volume -- virtual disk within the array

CREATE PV

    pvcreate /dev/sdb

ADD PV TO VG

    vgextend vg_storage /dev/sdb

VALIDATE VG NEW SIZE

    vgdisplay vg_storage

EXTEND LV

    lvextend -l +100%FREE /dev/vg_storage/storage

VALIDATE

    lvdisplay

RESIZE EXT VOLUME

    resize2fs /dev/vg_storage/storage
    df  -h

LIST PVs ON SYSTEM

    pvscan

LIST VGs ON SYSTEM

    vgscan

OR

    vgs

REMOVE PV FROM VG

    vgreduce my_volume_group /dev/hda1

MIGRATION FROM OLD DISKS IN VG TO NEW ONES

Create PV for new disk

    pvcreate /dev/sdz

Extend the VG to include the new disk

    vgextend vg_name /dev/sdz

Migrate extents to new disk

    pvmove /dev/sdb /dev/sdz

Remove PV from LV

    vgreduce vg_name /dev/sdb

Remove PV from VG

    pvremove /dev/sdb