list volume groups :
#vgs
or
#vgdisplay
create a lv :
#lvcreate -L 10G -n lvname vgname
format the lv to ext3:
#mkfs.ext3 /dev/vgname/lvname
to create the fs, need to add the correct entry in /etc/fstab
list the lvm /fs :
#lvdisplay
extend lv :
#lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3
extend fs :
#resize2fs /dev/vg01/lvol10
Aucun commentaire:
Enregistrer un commentaire