Difference between revisions of "Expand Disk Space without Rebooting - Vmware"

From SmartHCM Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 04:58, 28 October 2021

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