top_menu – Page 3 – jozefmares.com
Home top_menu
Category:

top_menu

How much one man can need for few days in desert? Let’s see.


I needed to migrate Linux RAID partition (originating from Synology NAS) to new disk and I needed to do it under OS X.
With VMware Workstation this was not big deal, but seems like this is not possible from Fusion user interface.

Required steps

    1. Get name of device (use diskutil list or under Disk utility).screenshot_os_x_diskutil
    2. Start terminal (in Applications/Utilities).
    3. Change current working directory to WMware Fusion folder:
cd "/Applications/VMware Fusion.app/Contents/Library/"
    1. Create VMDK file which will be linking our real, raw device:
./vmware-rawdiskCreator create /your/device fullDevice ~/your-device ide
    1. Next, we need to go to folder where are virtual machines stored (usually Documents/Virtual Machines – in my case dedicated RAID drive).
    2. Find relevant virtual machine, click Show Package Contents.
    3. Move created file (your-device.vmdk) to opened folder.
    4. Open in favorite text editor machine_name.vmx and append:
ide1:1.present = "TRUE"
ide1:1.fileName = "your-device.vmdk"

You should be able to mount device under desired guest. I utilized this method to migrate data from RAID partition to USB drive during big clean-up and consolidation :).

Other small lessons learned

  • To make USB drive works as USB3 device you need at least kernel 3.2.
  • USB3 is really fast and stable, even under VMware Fusion.
  • Journaled HFS works very well under Linux, but you need to mount it with -o force,rw.