VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
6 Replies Last post: Oct 6, 2007 5:46 PM by philleeder  

Unable to Extend virtual disk in MAC OSX posted: Oct 6, 2007 6:47 AM

Click to view philleeder's profile Lurker 3 posts since
Oct 6, 2007

Hello,

Have an XP Pro installation running on a virtual disk under VMWare Fusion. tried to grow disk from 20GB to 100GB, using this How-to: http://communities.vmware.com/docs/DOC-1110. Operation fails with the folowing error:
Using log file /var/tmp//vmware-philleeder/vdiskmanager.log
Failed to expand the disk '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk': One of the parameters supplied is invalid (1).

Here is a copy of the vmdiskmanager.log file:

Oct 06 08:26:51.613: app| Log for VMware Fusion pid=239 version=e.x.p build=build-51348 option=Release
Oct 06 08:26:51.613: app| Hostname=phil-leeders-computer.local
Oct 06 08:26:51.614: app| Failed to acquire super user privileges.
Oct 06 08:26:51.614: app| UUID: Unable to open /dev/mem: No such file or directory
Oct 06 08:26:51.614: app| Failed to acquire super user privileges.
Oct 06 08:26:51.615: app| Failed to acquire super user privileges.
Oct 06 08:26:51.616: app| Failed to acquire super user privileges.
Oct 06 08:26:52.078: app| DISKLIB-DSCPTR: Opened [0]: "Windows XP Professional.vmdk" (0x18)
Oct 06 08:26:52.078: app| DISKLIB-LINK : Opened '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk' (0x18): monolithicSparse, 209715200 sectors / 102400 Mb.
Oct 06 08:26:52.078: app| DISKLIB-LIB : Opened "/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk" (flags 0x18). 0x1107d94
Oct 06 08:26:52.078: app| Failed to acquire super user privileges.
Oct 06 08:26:52.078: app| Scanning directory of file /Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk for vmx files.
Oct 06 08:26:52.078: app| baseDir = '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/', vmx file = 'Windows XP Professional.vmx'
Oct 06 08:26:52.078: app| Search start: '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmx', baseDiskOnly [X]
Oct 06 08:26:52.079: app| Search result: inTree [X], isCurrent [X], isLegacy [ ], states: 1
Oct 06 08:26:52.079: app| Search analysis: disk file found as part of current state.
Oct 06 08:26:52.399: app| DISKLIB-DSCPTR: Opened [0]: "Windows XP Professional.vmdk" (0)
Oct 06 08:26:52.399: app| DISKLIB-LINK : Opened '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk' (0): monolithicSparse, 209715200 sectors / 102400 Mb.
Oct 06 08:26:52.399: app| DISKLIB-LIB : Opened "/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk" (flags 0). 0x1107e14
Oct 06 08:26:52.399: app| DISKLIB-LIB : Growing disk '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk' : createType = monolithicSparse
Oct 06 08:26:52.399: app| DISKLIB-LIB : Growing disk '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk' : capacity = 209715200 sectors - 100.0 Gb
Oct 06 08:26:52.399: app| DISKLIB-LIB : Growing disk '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk' : new capacity = 35651584 sectors - 17.0 Gb
Oct 06 08:26:52.399: app| DISKLIB-LIB : capacity needs to be bigger than : 209715200 (35651584)
Oct 06 08:26:52.399: app| .DISKLIB-LIB : Failed to grow disk '/Users/philleeder/Documents/Virtual Machines/Windows XP Professional.vmwarevm/Windows XP Professional.vmdk' : One of the parameters supplied is invalid (1).
Oct 06 08:26:52.399: app| AIOMGR-U : stat o=1 r=204 w=2 i=0 br=13146112 bw=1024
Oct 06 08:26:52.399: app| AIOMGR-S : stat o=5 r=214 w=2 i=0 br=13185024 bw=1024

Is this a problem with the Super User priviledges? If so how do I straighten this out, and if not, can someone tell me what is happening here?

Very frustrated.......

philleeder


Re: Unable to Extend virtual disk in MAC OSX

1. Oct 6, 2007 7:00 AM in response to: philleeder
Click to view rcardona2k's profile Champion 5,198 posts since
Oct 20, 2005
Have you tried using vdiskmanager GUI?

Re: Unable to Extend virtual disk in MAC OSX

3. Oct 6, 2007 7:53 AM in response to: philleeder
Click to view rcardona2k's profile Champion 5,198 posts since
Oct 20, 2005
Try running vdiskmanager as a superuser by opening Terminal, typing sudo open, then drag the icon of the GUI into the Terminal window, that should put the path to the GUI into Terminal and hit return. The command should look like:
sudo open /Users/rcardona/Desktop/vdiskmanager\ GUI\ 0.2007.06.18/vdiskmanager\ GUI.app/


If running it this way still fails, vdiskmanager gui allows you copy and paste the command it's going to run, right before clicking Go, can you copy and paste the command at the bottom of the window into your reply here?

Thanks

Re: Unable to Extend virtual disk in MAC OSX

4. Oct 6, 2007 9:32 AM in response to: philleeder
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
Is this a problem with the Super User priviledges?

No, the privileges messages are bogus, ignore them. Don't run it via sudo or as root either because that'll mess up ownership of the disk.

According to the log, you have a 100 GB disk and are trying to expand it to 17 GB. This is failing because 17 < 100. Are you sure you didn't already grow the disk and didn't run gparted or are looking at the wrong disk?

Re: Unable to Extend virtual disk in MAC OSX

5. Oct 6, 2007 9:39 AM in response to: philleeder
Click to view rcardona2k's profile Champion 5,198 posts since
Oct 20, 2005
Like Eric says, expanding is a two-part process. One is changing the disk capacity, the second is stretching the logical partition on the disk. The latter requires a tool like GParted, Partition Magic, DiskPart, etc.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities