Re: [ovirt-users] P2V shrink disk

2015-09-17 Thread Alex Crow



On 17/09/15 13:32, wodel youchi wrote:

Hi,

I am not sure if it's the right place to post this question.

I tried to do a P2V operation of a Win2k3 server to ovirt 3.5


the physical server is RAID5 of 3x146Go configured, about 290 Go 
usable space, but the server uses about 20Go only.


I am wondering how to shrink the disk of the migrated physical 
machine, do I have to do it before using P2V tool?


The same question for Linux servers.

Thanks.



I just use a parted Live CD. You can do it before or after, whichever is 
more convenient. I normally do it after a P2V or V2V as it's so easy to 
use an ISO image in Ovirt.


Cheers

Alex


.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] P2V shrink disk

2015-09-17 Thread Alex Crow

On 17/09/15 13:40, Alex Crow wrote:



On 17/09/15 13:32, wodel youchi wrote:

Hi,

I am not sure if it's the right place to post this question.

I tried to do a P2V operation of a Win2k3 server to ovirt 3.5


the physical server is RAID5 of 3x146Go configured, about 290 Go 
usable space, but the server uses about 20Go only.


I am wondering how to shrink the disk of the migrated physical 
machine, do I have to do it before using P2V tool?


The same question for Linux servers.

Thanks.



I just use a parted Live CD. You can do it before or after, whichever 
is more convenient. I normally do it after a P2V or V2V as it's so 
easy to use an ISO image in Ovirt.


Cheers

Alex



Actually that wouldn't work as such if you're P2V'ing straight to Ovirt. 
I'd suggest P2V'ing into Libvirt/Qemu-KVM, then running Parted Live on 
that VM. Shut down the VM and use qemu-img to shrink the image file, 
then do a V2V into Ovirt.


Cheers

Alex



--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc. 29
Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608
5300. (Registered office: as above; Registered in England and Wales
under number: 3727592). Authorised and regulated by the Financial
Conduct Authority (entered on the Financial Services Register; no. 190856).

.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] P2V shrink disk

2015-09-17 Thread Federico Alberto Sayd

On 17/09/15 09:32, wodel youchi wrote:

Hi,

I am not sure if it's the right place to post this question.

I tried to do a P2V operation of a Win2k3 server to ovirt 3.5


the physical server is RAID5 of 3x146Go configured, about 290 Go 
usable space, but the server uses about 20Go only.


I am wondering how to shrink the disk of the migrated physical 
machine, do I have to do it before using P2V tool?


The same question for Linux servers.

Thanks.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
You can use clonezilla to migrate your physical server to an oVirt VM. 
Prepare a vm with a disk of the same size and configure as thin 
provision. Boot both servers with clonezilla and clone using the 
network. Clonezilla only copies the used block in your source disk. Note 
that you need to include some ide drivers in your source server before 
clone in order your Windows server can boot up[1]


[1] https://support.microsoft.com/en-us/kb/314082
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users