- sudo apt-get install system-config-lvm
- sudo pvcreate /dev/your_disk
- sudo vgextend VG_Name /dev/your_disk
- sudo lvextend -1 +100%FREE LV_PATH
- sudo resize2fs LV_PATH
- sudo init 6
To determine the disk(s) you want to add you do ls /dev/sd* it will return your disks, you will probably want to add the disks with no numbers at the end.
To figure out your volume group (VG_NAME) you do sudo vgdisplay and to figure out the logical volume path (LV_PATH) you do sudo lvdisplay.
No comments:
Post a Comment