VMware Cloud Community
milesmeridith
Enthusiast
Enthusiast
Jump to solution

Adjusting VM storage doesn't take effect

I have a VM with a thick provisioned lazy hard disk. When I edit the size in the settings and hit refresh in VSphere client it updates. However, even after restarting the VM it doesn't reflect this change on the disc when I look under my computer. Any ideas?

0 Kudos
1 Solution

Accepted Solutions
jrmunday
Commander
Commander
Jump to solution

This is the first half of the process, and now you have to use diskpart to extend the volume in the OS. There are a few limitations that you need to be aware of ... You can't use disk part on a system drive (ie. the C:\), or on a disk that has been configured for virtual memory (pagefile.sys). For a system drive, download and use the Dell extpart tool, which allows you to extend system drives without any downtime. For disks that contain a page file, move the page file off (requires a reboot) and then use diskpart to extend the volume. For diskpart to work, make sure that your virtual disk service is running.

Do you need help with the diskpart syntax? Open a command prompt, run as administrator if UAC is enabled, and then type diskpart. Type list disk to see the disks available. Type select disk #, where # is the disk that you want to extend. Then type list volume to see the volumes. Now type select volume #, where # is the volume that you want to extend. Now type extend, and you should see a message saying that the disk has been successfully extended. Type exit, close the command prompt and you should see the extra disk space available.

Cheers,

Jon

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77

View solution in original post

0 Kudos
2 Replies
sparrowangelste
Virtuoso
Virtuoso
Jump to solution

you mean inside the operating system it doenst show the extra space?

or in the vi client for the vm?

in the os , example windows, go to disk maangement, rescan if you need to , then extend.

for 2003 you would need diskpart

--------------------- Sparrowangelstechnology : Vmware lover http://sparrowangelstechnology.blogspot.com
jrmunday
Commander
Commander
Jump to solution

This is the first half of the process, and now you have to use diskpart to extend the volume in the OS. There are a few limitations that you need to be aware of ... You can't use disk part on a system drive (ie. the C:\), or on a disk that has been configured for virtual memory (pagefile.sys). For a system drive, download and use the Dell extpart tool, which allows you to extend system drives without any downtime. For disks that contain a page file, move the page file off (requires a reboot) and then use diskpart to extend the volume. For diskpart to work, make sure that your virtual disk service is running.

Do you need help with the diskpart syntax? Open a command prompt, run as administrator if UAC is enabled, and then type diskpart. Type list disk to see the disks available. Type select disk #, where # is the disk that you want to extend. Then type list volume to see the volumes. Now type select volume #, where # is the volume that you want to extend. Now type extend, and you should see a message saying that the disk has been successfully extended. Type exit, close the command prompt and you should see the extra disk space available.

Cheers,

Jon

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
0 Kudos