Tag Archives: added new vm disk esxi

Command to re-read added new VM disk that not showing real size CentOS 6

System: CentOS 6.9

Case:
– User request in ESXi to add new 30 GB VM disk(2nd disk it mean sdb) but accidentally wrong added VM disk only 10 GB,after remove the 10 Gb and added 30 GB when run fdisk -l still showing 10 GB VM disk size.

Resolution:
Login as root, run this command to re-read the new disk size without reboot the server.

# echo 1 > /sys/block/sdb/device/rescan

Continue reading