ubuntuusers.de

nicht vorhandene vmdk "already exists"

Status: Ungelöst | Ubuntu-Version: Ubuntu MATE 22.04 (Jammy Jellyfish)
Antworten |

black_tencate

Avatar von black_tencate

Anmeldungsdatum:
27. März 2007

Beiträge: 11196

Hej,

ich habe hier ein seltsames Problem:

VirtualBox Version Version 7.0.14 r161095 (Qt5.15.3)

  • Beim erzeugen einer VirtualBox VM mit RAWdisk für /dev/sdc meldet vboxmanage

    mate-ff@T400s-M-ff:~$ sudo VBoxManage createmedium disk --filename ~/VirtualBox\ VMs/sdc_/sdc_.vmdk --format=VMDK --variant RawDisk --property RawDrive=/dev/sdc 
    0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...NS_ERROR_INVALID_ARG
    VBoxManage: error: Failed to create medium
    VBoxManage: error: Cannot register the hard disk '/home/mate-ff/VirtualBox VMs/sdc_/sdc_.vmdk' {4fb1e3d0-ae98-4eb4-8211-63f789492745} because a hard disk '/home/mate-ff/VirtualBox VMs/sdc_/sdc_.vmdk' with UUID {e52ae90b-1513-4f45-8975-a8584dc91684} already exists
    VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox
    VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 630 of file VBoxManageDisk.cpp
    mate-ff@T400s-M-ff:~$

Die sdc_.vmdk wird aber trotzdem angelegt; sie ist nur nicht verwendbar

VM Name: sdc_

Failed to open image '/home/mate-ff/VirtualBox VMs/sdc_/sdc_.vmdk' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).

Was imho ja nicht stimmt (wie bei allen anderen entsprechenden RAWdisks habe ich die Rechte ja mit sudo chown $USER ~/VirtualBox\ VMs/sdc_/sdc_.vmdk angepaßt)

mate-ff@T400s-M-ff:~/VirtualBox VMs/sdc_$ ls -l
insgesamt 16
drwx------ 2 mate-ff mate-ff 4096 Mär  3 22:19 Logs
-rw------- 1 mate-ff mate-ff 2652 Mär  3 22:19 sdc_.vbox
-rw------- 1 mate-ff mate-ff 2637 Mär  3 22:19 sdc_.vbox-prev
-rw------- 1 mate-ff root     536 Mär  3 22:01 sdc_.vmdk
mate-ff@T400s-M-ff:~/VirtualBox VMs/sdc_$ 

Und wenn ich unter den hdds suche

mate-ff@T400s-M-ff:~$ vboxmanage list hdds
UUID:           fd0b5dca-52dd-4c4e-b9b7-6c312ef8653b
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/Windows/w2k/win2k.vdi
Storage format: VDI
Capacity:       6144 MBytes
Encryption:     disabled

UUID:           99021645-39b9-4906-b4ce-6959eb58c009
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/Windows/w311/dos_1.vdi
Storage format: VDI
Capacity:       1024 MBytes
Encryption:     disabled

UUID:           49971193-2e75-426e-b81d-a73020289f2a
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/Windows/w311/dos.vdi
Storage format: VDI
Capacity:       2048 MBytes
Encryption:     disabled

UUID:           7820d710-ae61-4c01-8339-0f4944f7ed2c
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/Windows/w286/W286.vdi
Storage format: VDI
Capacity:       500 MBytes
Encryption:     disabled

UUID:           80628fdd-a2cf-4362-9e13-ad0926cd425e
Parent UUID:    base
State:          inaccessible
Type:           normal (base)
Location:       /media/mate-ff/int128/W11-_1.vdi
Storage format: VDI
Capacity:       0 MBytes
Encryption:     disabled

UUID:           cf6ac7f6-34cb-4e77-8b47-249e886d73a3
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/RAW/sda-R/sda-R.vmdk
Storage format: VMDK
Capacity:       122104 MBytes
Encryption:     disabled

UUID:           6515d591-6c1e-4082-9be7-65dee4c8ca7b
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/RAW/KuWi-R/KuWi-R.vmdk
Storage format: VMDK
Capacity:       122104 MBytes
Encryption:     disabled

UUID:           4221ed77-4e02-40f0-8651-6039853f6ad0
Parent UUID:    base
State:          inaccessible
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/RAW/sdb-R/sdb-R.vmdk
Storage format: VMDK
Capacity:       0 MBytes
Encryption:     disabled

UUID:           e38a77af-cd0c-47c3-93dc-2399cb29a576
Parent UUID:    base
State:          inaccessible
Type:           normal (base)
Location:       /home/mate-ff/VirtualBox VMs/sdd-R/sdd-R.vmdk
Storage format: VMDK
Capacity:       0 MBytes
Encryption:     disabled

mate-ff@T400s-M-ff:~$ 

gibt es die gar nicht!

mate-ff@T400s-M-ff:~/VirtualBox VMs/sdc_$ vboxmanage closemedium disk e52ae90b-1513-4f45-8975-a8584dc91684 --delete
VBoxManage: error: The given path 'e52ae90b-1513-4f45-8975-a8584dc91684' is not fully qualified
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 197 of file VBoxManageDisk.cpp
mate-ff@T400s-M-ff:~/VirtualBox VMs/sdc_$ 

Ratlos. (z.B. sda, sdb, sdd funktionieren, wie erwartet!)

Gruß black tencate

Antworten |