3.0.10 breaks raw disk support? VERR_SHARING_VIOLATION

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mrpeenut24
Posts: 1
Joined: 9. Nov 2009, 13:34
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

3.0.10 breaks raw disk support? VERR_SHARING_VIOLATION

Post by mrpeenut24 »

I just upgraded to 3.0.10 and noticed that my reiserfs partition wasn't loading in my Ubuntu guest. It kept telling me 'wrong fs type'. So I tried to create a new vmdk, but it fails when trying to list partitions:

Code: Select all

C:\Users\peenut\.VirtualBox\HardDisks>"C:\Program Files\Sun\VirtualBox\VBoxManage.exe" internalcommands listpartitions -rawdisk \\.\PhysicalDrive0
VirtualBox Command Line Management Interface Version 3.0.10
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Error opening the raw disk: VERR_SHARING_VIOLATION
And skipping that, trying to create it gives the following:

Code: Select all

C:\Users\peenut\.VirtualBox\HardDisks>"C:\Program Files\Sun\VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename test.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 2
VirtualBox Command Line Management Interface Version 3.0.10
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Error opening the raw disk '\\.\PhysicalDrive0': VERR_SHARING_VIOLATION
The raw disk vmdk file was not created
Anyone else having the same problem?

edit: I'm on Win7 by the way.
JshWright
Volunteer
Posts: 119
Joined: 13. Sep 2007, 00:33
Primary OS: Debian Lenny
VBox Version: OSE self-compiled
Guest OSses: Many...

Re: 3.0.10 breaks raw disk support? VERR_SHARING_VIOLATION

Post by JshWright »

This is a known issue with 3.0.10 (raw access is broken in general).

~JW
Join us in the VirtualBox IRC channel: #vbox on FreeNode
http://www.virtualbox.org/wiki/IRC
Post Reply