Expand Disk Space without Rebooting - Vmware

From SmartHCM Wiki
Revision as of 04:58, 28 October 2021 by Usman (talk | contribs) (Created page with "'''1. Install growpart''' yum install cloud-utils-growpart '''2. Check the name(s) of your SCSI devices.''' $ ls /sys/class/scsi_device/ '''3. Re-scan the SCSI Bus to Add...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

1. Install growpart

yum install cloud-utils-growpart

2. Check the name(s) of your SCSI devices.

$ ls /sys/class/scsi_device/

3. Re-scan the SCSI Bus to Add a SCSI Device Without rebooting the VM using the following command

$ echo 1 > /sys/class/scsi_device/0\:0\:0\:0/device/rescan

4. Resize device

resize2fs /dev/sda