lvm

LVM

vgs - Display information about volume groups (free space etc.)
lvs - Display information about logical volumes
lvdisplay - display attributes of a logical volume
lvremove - remove a logical volume

install
apt-get intall -y lvm2

create volume group
pvcreate /dev/md1
vgcreate vg2 /dev/md1
pvdisplay

create lvm volume
lvcreate --name VOLUME_NAME --size 4G vg2
# lvcreate -n NAME -l 100%FREE vg0
mkfs.ext3 /dev/vg2/VOLUME_NAME

renamee lvm
lvrename /dev/vg01/mx-swap /dev/vg01/mx-swap.org