13 Replies Latest reply on Sep 22, 2016 11:09 AM by zik

    linux: rescan disk geometry for resized virtual disk

    jlmale0 Novice

       

      Since update 2, ESX 3.5 has given us the ability to add disk space and resize disks on the fly.

       

       

      If I add disk space, I can rescan the scsi bus, see the new disk, partition it, pvcreate, add it to lvm and I'm off to the races.  However, when changing the disk size, I can't seem to find a command to rescan the already attached disk for its new geometry.  A reboot picks  up the changes, so I can repartition with fdisk and continue as above.  But, I was hoping to stay up.

       

       

      This test is being conducted in rhel 5.2.

       

       

       

       

       

      Thanks,