[PVE-User] Windows Server 2003 HP 6400 RAID
Hexis
lists at hexis.consulting
Fri Mar 31 19:42:23 CEST 2017
Just wanted to report back and say that this worked like a charm. All I
really needed to do was remove the disc from the VM and re-add it as an
IDE disc, I redid the DD to update it since things had changed since we
did the last clone. If anyone is interested (this isn't mentioned in the
ProxMox Wiki or anywhere else as far as I can tell), this is the process
I used to P2V a Windows 2003 server DIRECTLY to LVM-THIN on my Proxmox Host:
1. Power down, boot with *nix boot disc
2. fdisk -l
3. create VM in Proxmox with IDE Drive, size = larger than the original
disc
4. from the boot disc: dd if=/dev/sda | ssh root@<ip address> dd
of=/dev/pve/vm-103-disk-1 bs=1024k"
5. Wait a few years
6. Boot it, mount the VirtIO drivers and install
It's been running beautifully since then and I got to decommission the
evil power hungry blender sounding HP Proliant Circa 2003. Props to
Yannis and Alessandro.
Peace out.
-Hexis
On 3/28/2017 8:54 AM, Hexis wrote:
> Oh cool! That's exactly what I needed to know. I just didn't want to
> have to do some sort of block level file copy again just to change the
> hard drive type.
>
> Thanks,
>
> -Hexis
>
>
> On 3/27/2017 2:08 AM, Alessandro Briosi wrote:
>> Il 24/03/2017 20:19, Yannis Milios ha scritto:
>>> You just need to edit the config file of the vm and edit the line(s)
>>> related to the vm disk from scsiX to ideX.
>>>
>>> Posting vm config would help...
>>> Generally speaking Windows are a bit painful to virtualise.
>>>
>>>
>>> On Fri, 24 Mar 2017 at 18:48, <lists at hexis.consulting> wrote:
>>>
>>>> So, i originally set these up as SCSI drives in Proxmox. Since I am
>>>> using LVM-Thin, I don't think I can change the hard drive type? Does
>>>> this mean that I have to create another disk and dd it in? Do I need
>>>> to set the bs=1024?
>>>>
>>>> I will look into the IDE drivers.
>>>>
>>>> Thanks,
>> You can acomplish this from the GUI too. Removing the disk from the VM
>> will only remove it's use, it will be listed as unused disk,
>> Then you can edit the line and set it up as IDE. (At first it's a bit
>> scary I admit :) )
>>
>> This is also the same procedure to change from IDE to VIRTIO later.
>>
>> Alessandro
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
More information about the pve-user
mailing list