Advertisement
peetaur

Untitled

Aug 3rd, 2012
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. File that works with qemu-img, and not vboxmanage:
  2.  
  3. peter:/mnt # qemu-img info /mnt/bcnasvm1/bcvm01-00/bcvm01-00_1-000001-flat.vmdk
  4. image: /mnt/bcnasvm1/bcvm01-00/bcvm01-00_1-000001-flat.vmdk
  5. file format: raw
  6. virtual size: 60G (64424509440 bytes)
  7. disk size: 12M
  8.  
  9. peter:/mnt # vboxmanage showhdinfo /mnt/bcnasvm1/bcvm01-00/bcvm01-00_1-000001.vmdk
  10. VBoxManage: error: Could not find an open hard disk with location '/mnt/bcnasvm1/bcvm01-00/bcvm01-00_1-000001.vmdk'
  11. VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
  12. Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp
  13.  
  14. peter:/mnt # vboxmanage showhdinfo /mnt/bcnasvm1/bcvm01-00/bcvm01-00_1-000001-flat.vmdk
  15. VBoxManage: error: Could not get the storage format of the medium '/mnt/bcnasvm1/bcvm01-00/bcvm01-00_1-000001-flat.vmdk' (VERR_NOT_SUPPORTED)
  16. VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component Medium, interface IMedium, callee nsISupports
  17. Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp
  18.  
  19.  
  20. File that works with neither qemu-img nor vboxmanage:
  21.  
  22. peter:/mnt # qemu-img info /mnt/bcnasvm1/bcvm01-18/bcvm01-18-flat.vmdk
  23. qemu-img: Could not open '/mnt/bcnasvm1/bcvm01-18/bcvm01-18-flat.vmdk': Operation not permitted
  24.  
  25. peter:/mnt # vboxmanage showhdinfo /mnt/bcnasvm1/bcvm01-18/bcvm01-18-flat.vmdk
  26. VBoxManage: error: The medium '/mnt/bcnasvm1/bcvm01-18/bcvm01-18-flat.vmdk' can't be used as the requested device type
  27. VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Medium, interface IMedium, callee nsISupports
  28. Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp
  29.  
  30. peter:/mnt # vboxmanage showhdinfo /mnt/bcnasvm1/bcvm01-18/bcvm01-18.vmdk
  31. VBoxManage: error: Could not find an open hard disk with location '/mnt/bcnasvm1/bcvm01-18/bcvm01-18.vmdk'
  32. VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
  33. Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp
  34.  
  35. But qemu-convert version 0.11 pretends to work with this file, and creates a bad image. The newer qemu-img convert does the same as the above.
  36.  
  37. See Bug 548723 - qemu-img convert silently corrupts when converting from VMDK 4 to raw
  38. https://bugzilla.redhat.com/show_bug.cgi?id=548723
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement