VirtualBox

Ticket #919 (closed defect: fixed)

Opened 9 months ago

Last modified 2 months ago

Unable to create a vmdk for raw drive partition (VERR_SHARING_VIOLATION) -> fixed in SVN/1.6.2

Reported by: Demon Assigned to:
Priority: critical Component: other
Version: VirtualBox 1.5.2 Keywords:
Cc: Guest type: other
Host type: other

Description

Using Windows XP host, I was unable to create a raw vmdk for my existing linux partition.

WinXP resides in \\.\PhysicalDrive?0 partition 1, and Linux resides in \\.\PhysicalDrive?1 partitions 1,5 (main, swap).

"VBoxManage.exe internalcommands listpartitions -rawdisk \\.\PhysicalDrive?1" output: Number Type StartCHS EndCHS Size (MiB) Start (Sect) 1 0x83 0 /1 /1 1023/254/63 14307 63 5 0x82 1023/254/63 1023/254/63 956 29302623 3 0x07 1023/0 /1 1023/254/63 289977 31262490

The command used to create the raw vmdk: "VBoxManage.exe internalcommands createrawvmdk -filename c:\ubuntu1.vmdk -rawdisk \\.\PhysicalDrive?1 -partitions 1,5"

Output:

ERROR: VMDK: could not create new partition data file 'c:\ubuntu1-pt.vmdk' Error code VERR_SHARING_VIOLATION at E:\vbox\1.5-w32-rel\src\VBox\Devices\Storag e\VmdkHDDCore.cpp(2224) in function vmdkCreateImage Error while creating the raw disk VMDK: VERR_SHARING_VIOLATION

Change History

12/02/07 17:07:16 changed by sandervl73

  • priority changed from blocker to critical.

12/04/07 17:54:42 changed by ouci

Exactly the same problem here, although I am a complete newbie with this, I had encountered exactly the same error message.

12/04/07 17:56:36 changed by ouci

Forgot to mention, I was also trying to make a vmdk to use 2 partitions, one is ext3 the other swap.

01/16/08 03:21:22 changed by grassvalley

I has the same error.

Host is windows2000server,I want to mount a ext3 partition and a swap partition.

01/16/08 18:00:29 changed by ldoubleu

I have the same problem. I upgraded to version 1.5.4 but the problem remains the same. Host is Windows XP Home.

04/16/08 14:22:19 changed by gourmet

I confirm this problem. Tried create vmdk file for Linux partitions (reiserfs and swap):

E:\Program Files\innotek VirtualBox>VBoxManage internalcommands createrawvmdk -filename F:\LIN.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 9,11 -register
VirtualBox Command Line Management Interface Version 1.5.6
(C) 2005-2008 innotek GmbH
All rights reserved.

ERROR: VMDK: could not create new partition data file 'c:\LIN-pt.vmdk'
Error code VERR_SHARING_VIOLATION at C:\vbox\branch\w32-1.5\src\VBox\Devices\Storage\VmdkHDDCore.cpp(2224) in function vmdkCreateImage
Error while creating the raw disk VMDK: VERR_SHARING_VIOLATION

notice about version 1.5.6 - problem persists from earlier versions

PLEASE SOLVE THIS!!'''

05/25/08 12:36:05 changed by sandervl73

  • summary changed from Unable to create a vmdk for raw drive partition (VERR_SHARING_VIOLATION) to Unable to create a vmdk for raw drive partition (VERR_SHARING_VIOLATION) -> fixed in SVN/1.6.2.

Should be fixed in 1.6.2.

05/29/08 09:53:07 changed by sandervl73

  • status changed from new to closed.
  • resolution set to fixed.

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy