1
edit
Changes
no edit summary
2. Describe the process of use LVM to extent a partition
1st COMMAND: fdisk /dev/sdb # create two partitions sdb1 and sdb2
2nd COMMAND: mkfs -t ext3 pvcreate /dev/sdb1; mkfs -t ext3 /dev/sdb2
3rd COMMAND: pvcreate vgcreate /dev/sdb1 /dev/sdb2
4th COMMAND: vgcreate lvcreate -n home --size 500M seneca 5 th COMMAND: mkfs.ext3 /dev/sdb1 seneca/home 6 th COMMAND: mount /dev/seneca/home /mnt 7 th COMMAND: e2label /dev/seneca/home myhome 8 th COMMAND: vgextend seneca /dev/sdb2sda6 9 th COMMAND: lvextend -L+1G /dev/seneca/home 10 th COMMAND: resize2fs /dev/seneca/home
</pre>