VMware Communities > VMTN > VMware Infrastructure™ > VI: ESXi 3.5 > Discussions

This Question is Answered

2 "helpful" answers available (6 pts)
6 Replies Last post: Jul 2, 2009 2:40 PM by DSTAVERT
Reply

failed to extend virtual disk?

Jul 2, 2009 2:04 PM

Click to view VirtualTman's profile Novice VirtualTman 22 posts since
Aug 21, 2008

I get this meesage when trying to extend a hard disk with vmkfstools:

Failed to extend disk: Device or resource busy (1048585

If I use VI client to extend the hard drive (only happens with this particular drive), it gives operation completed sucessfully, yet no change?? I get this same result with vm off

I have esx3.5 and VC2.5 U2 and should be able to do this while its running anyway.

Ay ideas would be most appreciated.

Reply Re: failed to extend virtual disk? Jul 2, 2009 2:09 PM
Click to view DSTAVERT's profile Virtuoso DSTAVERT 2,180 posts since
Nov 30, 2003
Please be a little more descriptive. You are trying to extend a vmdk? From what to what? The size of the VMFS is? It was formatted with what block size?
Reply Re: failed to extend virtual disk? Jul 2, 2009 2:10 PM
Click to view Anton V Zhbankov's profile Champion Anton V Zhbankov 2,714 posts since
May 26, 2008
Virtual disk can't be extended if VM has snapshots.

---
VMware vExpert '2009
http://blog.vadmin.ru
Reply Re: failed to extend virtual disk? Jul 2, 2009 2:20 PM
in response to: DSTAVERT
Click to view VirtualTman's profile Novice VirtualTman 22 posts since
Aug 21, 2008

Hi thanks for reply, details are as follows:

Extending vmdk from 1020GB to 1100GB (and have tried multiple other sizes smaller and larger than this)

It is on an 8MB block size SAN LUN which is 1.17TB in size with 162GB free.

It is the only virtual machine on that LUN. Have previously moved others off there to free space on the LUN.

Size of vmdk as shown through VI Client is 1020GB in vm "edit settings". Size shown through datastore browser in VI client is 1069,5GB. Size as seen through putty is 1095GB.


Reply Re: failed to extend virtual disk? Jul 2, 2009 2:23 PM
in response to: VirtualTman
Click to view VirtualTman's profile Novice VirtualTman 22 posts since
Aug 21, 2008
No shapshots ever on this vmdk - I have been to weary of snapshotting this one due to its size. Do you think its OK to snapshot a 1TB vmdk if enough free space available? I'd like to VCB the thing at least.
Reply Re: failed to extend virtual disk? Jul 2, 2009 2:35 PM
in response to: VirtualTman
Click to view Anton V Zhbankov's profile Champion Anton V Zhbankov 2,714 posts since
May 26, 2008
Snapshot size depends on disk activity, and it can remain very very small if there is 1TB of read only data.
VCB works with snapshots to backup VM.

---
VMware vExpert '2009
http://blog.vadmin.ru
Reply Re: failed to extend virtual disk? Jul 2, 2009 2:40 PM
in response to: VirtualTman
Click to view DSTAVERT's profile Virtuoso DSTAVERT 2,180 posts since
Nov 30, 2003
There is overhead when you are extending and you don't have enough. No for snapshots. I would get busy working on a move since you don't have much room for anything on this LUN.
Actions