Quantcast
Channel: VMware Communities : All Content - Virtual Machine, Guest OS and VM Tools
Viewing all articles
Browse latest Browse all 2641

linux: rescan disk geometry for resized virtual disk

$
0
0

 

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,

 

 


Viewing all articles
Browse latest Browse all 2641

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>