-drive file=/dev/sdc,index=0,media=disk -hdachs 8192,16,32,none
You mix old an new syntax. Correct way (new) is:
Code:
drive file=/dev/sdc,index=0,media=disk,cyls=c,heads=h,secs=s,trans=none
-drive file=/dev/sdc,index=0,media=disk -hdachs 8192,16,32,none
drive file=/dev/sdc,index=0,media=disk,cyls=c,heads=h,secs=s,trans=none
-hda defines a device
-drive defines a file
"file=file"
This option defines which disk image to use with this drive. If
the filename contains comma, you must double it (for instance,
"file=my,,file" to use file "my,file").
i don't know why but i think that the -drive option does not recognize the
device as a real device-device but as a regular image file.
Diaolin
You mix old an new syntax. Correct way (new) is:
Code:drive file=/dev/sdc,index=0,media=disk,cyls=c,heads=h,secs=s,trans=none
I want to help but I still miss info.
Pls describe it that I can setup the same here in the lab. You have a VMware (which vmware version?) guest, windows 2003, using direct device mappings (/dev/s...).
Now, how do you "migrate" this to Proxmox VE? If you install Proxmox VE, disks are formatted so you do something different. what?
It is VMware 1.0.3 (so perhaps any 1.0.x version should do).
Windows 2003 is installed on a "raw device" (i.e., /dev/sdh).
"Migration" is pretty simple:
- create a new virtual machine in Proxmox VE
- edit /etc/qemu-server/<new-VM>.conf, replace the HDD (pointing to a file) with a raw device (i.e., /dev/sdj). This should be the same device (or a copy) which was used by VMware. Or, just dd if=/dev/disk/used/by/vmware of=bigfile, and try to start off the "bigfile".
Try to start the virtual machine - it will fail at the very beginning, as I explained earlier.
Let me know what more information you need.