Command is under : /usr/es/sbin/cluster/utilities
lundi 24 août 2009
mercredi 12 août 2009
quicky : create / extend a fs on a redhat 5 with lvm
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
#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
Inscription à :
Articles (Atom)