{"id":474,"date":"2008-09-28T20:58:51","date_gmt":"2008-09-28T18:58:51","guid":{"rendered":"https:\/\/www.networknet.nl\/apps\/wp\/archives\/474"},"modified":"2012-01-04T10:12:13","modified_gmt":"2012-01-04T09:12:13","slug":"vmware-esx-virtual-hard-disk-full","status":"publish","type":"post","link":"https:\/\/www.networknet.nl\/apps\/wp\/archives\/474","title":{"rendered":"VMWare ESX: Virtual Hard Disk FULL"},"content":{"rendered":"<p>Recently I was working to move a virtual machine test network to production. Before bringing this virtual machine into production I wanted to run the latest updates and during that process my virtual hard disk become full. When I created this virtual machine I configured the initial disk space 6GB.<\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px;\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_thumb.png\" alt=\"image\" width=\"504\" height=\"163\" border=\"0\" \/><\/a><\/p>\n<p>VMWare ESX allows you to extend the virtual disk size on a running virtual machine.<\/p>\n<h3>How to extend the virtual disk size?<\/h3>\n<p>Right click on the virtual machine in the VI cleint; choose settings and go to &#8220;Hard Disk 1&#8221; and type new disk size. Click OK. <a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px;\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_thumb_3.png\" alt=\"image\" width=\"504\" height=\"214\" border=\"0\" \/><\/a><\/p>\n<p>Example of my new Disk Configuration in &#8220;Disk Management&#8221;. To extend the virtual disk we need to go to diskpart and extend the volume.<\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px;\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_thumb_4.png\" alt=\"image\" width=\"504\" height=\"258\" border=\"0\" \/><\/a><\/p>\n<p>I opened command prompt and opened diskpart; selected the volume and run extend.<\/p>\n<div class=\"messageBox note icon\"><span>The volume you selected may not be extended. Please select another volume and try again.<\/span><\/div>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px;\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_thumb_5.png\" alt=\"image\" width=\"504\" height=\"250\" border=\"0\" \/><\/a><\/p>\n<p>My virtual hard disk was full and I was not able to extend my basic disk with the additional 2GB. I found the following two solutions how to extend the hard disk.<\/p>\n<h3>Solution 1<\/h3>\n<p>Thanks to <a href=\"http:\/\/blogs.conchango.com\/kalpeshprajapati\/default.aspx\">Kalpesh Prajapati<\/a> post I was able to find a solution to my problem. Follow these steps to extend your virtual machine basic hard disk:<\/p>\n<ul>\n<li>Shutdown the virtual machine<\/li>\n<li>Extend the virtual disk size<\/li>\n<li>Add the harddisk to another virtual machine and start it up (second virtual machine)<\/li>\n<li>Open command prompt and start diskpart.exe<\/li>\n<li>list volumes and select the volume with the disk problem<\/li>\n<li>extend the disk<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_6.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px;\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMWareESXVirtualHardDiskFULL_1352A\/image_thumb_6.png\" alt=\"image\" width=\"504\" height=\"221\" border=\"0\" \/><\/a><\/p>\n<p>Make sure the volume has a drive letter assigned otherwise same warning will be returned. Virtual machine was started again without any problems and two additional gigs of disk space.<\/p>\n<h4>Solution 2<\/h4>\n<p>Arne Fokkema posted another solution to extend a basic disk. It should be easier if you download the additional ExtPart.exe tool from Dell. <a href=\"http:\/\/ictfreak.wordpress.com\/2008\/10\/10\/vmware-extend-the-os-disk-the-easy-way-extpartexe\/\" target=\"_blank\">Extend the OS disk the easy way (ExtPart.exe)<\/a><\/p>\n<div class=\"messageBox info icon\"><span class=\"closeBox\">Close<\/span><span>ExtPart &#8211; Utility to extend basic disks (Build 1.0.4)<br \/>(c) Dell Computer Corporation 2003<\/p>\n<p>Usage: extpart.exe [volume size]<br \/>volume &#8211; volume to expand. eg. f:, g: etc. (only basic volumes)<br \/>size &#8211; size in megabytes to expand the volume<br \/><\/span><\/div>\n<pre class=\"brush:text\">ExtPart.exe C: 2048<\/pre>\n<p>Both solutions worked fine and it solved my problem with the virtual machine!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I was working to move a virtual machine test network to production. Before bringing this virtual machine into production I wanted to run the latest updates and during that process my virtual hard disk become full. When I created this virtual machine I configured the initial disk space 6GB. VMWare ESX allows you to extend the virtual disk size on a running virtual machine. How to extend the virtual disk size? Right click on the virtual machine in the VI cleint; choose settings and go to &#8220;Hard Disk 1&#8221; and type new disk size. Click OK. Example of my new Disk Configuration in &#8220;Disk Management&#8221;. To extend the virtual disk we need to go to diskpart and extend the volume. I opened command prompt and opened diskpart; selected the volume and run extend. My virtual hard disk was full and I was not able to extend my basic disk with the additional 2GB. I found the following two solutions how to extend the hard disk. Solution 1 Thanks to Kalpesh Prajapati post I was able to find a solution to my problem. Follow these steps to extend your virtual machine basic hard disk: Shutdown the virtual machine Extend the virtual disk size Add the harddisk to another virtual machine and start it up (second virtual machine) Open command prompt and start diskpart.exe list volumes and select the volume with the disk problem extend the disk Make sure the volume has a drive letter assigned otherwise same warning will be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1464,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[400,33],"tags":[458,237,460,37,457,147,461,245,781,459],"class_list":["post-474","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esx-vmware","category-vmware","tag-basic","tag-disk","tag-disk-full","tag-esx","tag-extend","tag-howto","tag-resize","tag-virtual-machine","tag-vmware","tag-volume"],"_links":{"self":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":5,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":2136,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/474\/revisions\/2136"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/media\/1464"}],"wp:attachment":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}