Add Second Disk To Linux VM


Let’s say you need to attach a second disk to a linux VM with LVM setup, this is how you would do it on RHEL 7

To Resolve:

1a. Attach 70 GB Disk in vsphere by going to the VM – Hardware – Add New: Disk

2.  In the VM – we want to create the following file system:

2a. Scan SCSI to see new DISK

2b. Create physical volume:

2c. Create Volume Group:

2d. Next create the volumes

2e. Create new file system on volumes:

2f. Create mountpoint:

2g. Mount logical volume:

2h. Add to fstab for automount

3. reboot

4. After reboot, run df -h  you should see the filesystem!