VirtualBox

Opened 11 years ago

Closed 8 years ago

#12080 closed defect (worksforme)

Failed to clone hard disk on OSX

Reported by: ahbaidg Owned by:
Component: virtual disk Version: VirtualBox 4.2.18
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description (last modified by Frank Mehnert)

System Details:

MacBookAir5,2

Storage

         Capacity: 500.28 GB (500,277,790,720 bytes)
          Model: APPLE SSD SM512E                        
          Revision: CXM0AA1Q
          Serial Number: S117NYAD405414      
          Native Command Queuing: Yes
          Queue Depth: 32
          Removable Media: No
          Detachable Drive: No
          BSD Name: disk0
          Medium Type: Solid State
          TRIM Support: Yes
          Partition Map Type: GPT (GUID Partition Table)
          S.M.A.R.T. status: Verified
          Volumes:
            disk0s1:
              Capacity: 209.7 MB (209,715,200 bytes)
              BSD Name: disk0s1
              Content: EFI
            Macintosh HD:
              Capacity: 499.42 GB (499,418,034,176 bytes)
              Available: 386.65 GB (386,646,433,792 bytes)
              Writable: Yes
              File System: Journaled HFS+
              BSD Name: disk0s2
              Mount Point: /
              Content: Apple_HFS
              Volume UUID: 1127A10C-B247-3ABD-B414-8FC6C82A18A2
            Recovery HD:
              Capacity: 650 MB (650,002,432 bytes)
              BSD Name: disk0s3
              Content: Apple_Boot
              Volume UUID: B532B41F-875D-3A5A-A555-49AF41DAFF52

Software:

    System Software Overview:

      System Version: OS X 10.8.4 (12E55)
      Kernel Version: Darwin 12.4.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: *******
      User Name: *******
      Secure Virtual Memory: Enabled
      Time since boot: 40 days 19:13

Current location and disk info:

Ahbaids-MacBook-Air:ODD0 ahbaidg$ pwd
/Users/ahbaidg/VMs/ODD0

Ahbaids-MacBook-Air:ODD0 ahbaidg$ df -h .
Filesystem     Size   Used  Avail Capacity  iused    ifree %iused  Mounted on
/dev/disk0s2  465Gi  103Gi  362Gi    23% 26990060 94938169   22%   /

Ahbaids-MacBook-Air:ODD0 ahbaidg$ ls
odd0-disk0.vmdk	odd0-disk1.vmdk

Ahbaids-MacBook-Air:ODD0 ahbaidg$ ls -al
total 24541584
drwx------  5 ahbaidg  staff         170 Sep  7 12:34 .
drwx------  5 ahbaidg  staff         170 Sep  7 12:35 ..
-rw-r--r--@ 1 ahbaidg  staff        6148 Sep  7 11:27 .DS_Store
-rw-------  1 ahbaidg  staff  4513398784 Sep  7 12:30 odd0-disk0.vmdk
-rw-------  1 ahbaidg  staff  8051884032 Sep  7 12:31 odd0-disk1.vmdk

Attempt to clone disk fails:

Ahbaids-MacBook-Air:ODD0 ahbaidg$ VBoxManage clonehd "/Users/ahbaidg/VMs/ODD0/odd0-disk0.vmdk" "/Users/ahbaidg/VMs/ODD1/odd1-disk0.vmdk"
0%...10%...20%...30%...40%...50%...60%...70%...80%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to clone hard disk
VBoxManage: error: Could not create the clone medium '/Users/ahbaidg/VMs/ODD1/odd1-disk0.vmdk' (VERR_EOF)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium
VBoxManage: error: Context: "int handleCloneHardDisk(HandlerArg*)" at line 682 of file VBoxManageDisk.cpp

Ahbaids-MacBook-Air:ODD0 ahbaidg$ VBoxManage -v
4.2.18r88780

Notes:

I've ensured that the media is not registered anywhere before attempting this. At this point I'm stuck and cannot clone my disks.

Change History (3)

comment:1 by Frank Mehnert, 10 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 10 years ago

priority: blockermajor

To me it looks like the original medium is cut. Not sure if this is a VBox bug at all.

comment:3 by aeichner, 8 years ago

Resolution: worksforme
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release and provide some information about the VMDK you try to clone.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use