Adding physical disk failed - where I did mistake?
Posted: 3. Dec 2017, 22:35
Hi!
I tried to attach to VM physical disk partition, I was following guide and failed.
First I addsharing of two partitions for 5 users with full access.
Then I opened command line as admin and typed commands below - you can see results:
Where do I mistake?
Thank you all for help.
Miro
I tried to attach to VM physical disk partition, I was following guide and failed.
First I addsharing of two partitions for 5 users with full access.
Then I opened command line as admin and typed commands below - you can see results:
Code: Select all
E:\Desktop>cd C:\Program Files\Oracle\VirtualBox
E:\Desktop>c:
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive5
VBoxManage.exe: error: Cannot open the raw disk: VERR_SHARING_VIOLATION
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename L:\APPS-NTFS.vmdk -rawdisk \\.\PhysicalDrive5 -partitions 1
VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive5': VERR_SHARING_VIOLATION
VBoxManage.exe: error: The raw disk vmdk file was not created
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename L:\DOS-FAT.vmdk -rawdisk \\.\PhysicalDrive5 -partitions 2
VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive5': VERR_SHARING_VIOLATION
VBoxManage.exe: error: The raw disk vmdk file was not created
C:\Program Files\Oracle\VirtualBox>
Thank you all for help.
Miro