[Users] Resizing bootable disk erase OS

--_000_ee2dbfa15a8743459abf08164671efb6BY2PR07MB187namprd07pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Everyone, I have Ovirt 3.3 setup and have VMs created using template. If I resize (ex= tend) the disk size, the OS is erased. How can I extend the size of disk wi= thout affecting the OS ? Regards, Yusuf --_000_ee2dbfa15a8743459abf08164671efb6BY2PR07MB187namprd07pro_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-IN" link=3D"#0563C1" vlink=3D"#954F72"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hello Everyone,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">I have Ovirt 3.3 setup and have VMs created using te= mplate. If I resize (extend) the disk size, the OS is erased. How can I ext= end the size of disk without affecting the OS ?<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Regards,<o:p></o:p></p> <p class=3D"MsoNormal">Yusuf<o:p></o:p></p> </div> </body> </html> --_000_ee2dbfa15a8743459abf08164671efb6BY2PR07MB187namprd07pro_--

the OS should not be erased if it's done from the webadmin. Adding some people to this bug. you are extending from the webadmin and not by manually sending lvresize right? Thanks, Dafna On 04/09/2014 11:21 AM, Yusufi M R wrote:
Hello Everyone,
I have Ovirt 3.3 setup and have VMs created using template. If I resize (extend) the disk size, the OS is erased. How can I extend the size of disk without affecting the OS ?
Regards,
Yusuf
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron

For extending the VM disk, as Dafna mentioned, you should use the ovirt-engine webadmin (via 'edit' disk). If you'd like to extend your OS disk, there is a nice guide for that. it's not an official guide AFAIK, but it works :) http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/ ----- Original Message ----- From: "Dafna Ron" <dron@redhat.com> To: users@ovirt.org, "Allon Mureinik" <amureini@redhat.com>, "Aharon Canan" <acanan@redhat.com>, "Elad Ben Aharon" <ebenahar@redhat.com>, "Gadi Ickowicz" <gickowic@redhat.com> Sent: Wednesday, April 9, 2014 1:29:12 PM Subject: Re: [Users] Resizing bootable disk erase OS the OS should not be erased if it's done from the webadmin. Adding some people to this bug. you are extending from the webadmin and not by manually sending lvresize right? Thanks, Dafna On 04/09/2014 11:21 AM, Yusufi M R wrote:
Hello Everyone,
I have Ovirt 3.3 setup and have VMs created using template. If I resize (extend) the disk size, the OS is erased. How can I extend the size of disk without affecting the OS ?
Regards,
Yusuf
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron

I did extend the size of disk from Ovirt Admin Portal after taking VM offline. This has crashed my OS and was unable to boot. Regards, Yusuf ________________________________________ From: Elad Ben Aharon <ebenahar@redhat.com> Sent: Wednesday, April 09, 2014 4:38 PM To: dron@redhat.com; Yusufi M R Cc: users@ovirt.org; Allon Mureinik; Aharon Canan; Gadi Ickowicz Subject: Re: [Users] Resizing bootable disk erase OS For extending the VM disk, as Dafna mentioned, you should use the ovirt-engine webadmin (via 'edit' disk). If you'd like to extend your OS disk, there is a nice guide for that. it's not an official guide AFAIK, but it works :) http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/ ----- Original Message ----- From: "Dafna Ron" <dron@redhat.com> To: users@ovirt.org, "Allon Mureinik" <amureini@redhat.com>, "Aharon Canan" <acanan@redhat.com>, "Elad Ben Aharon" <ebenahar@redhat.com>, "Gadi Ickowicz" <gickowic@redhat.com> Sent: Wednesday, April 9, 2014 1:29:12 PM Subject: Re: [Users] Resizing bootable disk erase OS the OS should not be erased if it's done from the webadmin. Adding some people to this bug. you are extending from the webadmin and not by manually sending lvresize right? Thanks, Dafna On 04/09/2014 11:21 AM, Yusufi M R wrote:
Hello Everyone,
I have Ovirt 3.3 setup and have VMs created using template. If I resize (extend) the disk size, the OS is erased. How can I extend the size of disk without affecting the OS ?
Regards,
Yusuf
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron

On 04/10/2014 06:03 AM, Yusufi M R wrote:
I did extend the size of disk from Ovirt Admin Portal after taking VM offline. This has crashed my OS and was unable to boot.
which OS is that? can you retry with a (non-important) VM when its running (i don't if you need the guest agents installed or not)
Regards, Yusuf
________________________________________ From: Elad Ben Aharon <ebenahar@redhat.com> Sent: Wednesday, April 09, 2014 4:38 PM To: dron@redhat.com; Yusufi M R Cc: users@ovirt.org; Allon Mureinik; Aharon Canan; Gadi Ickowicz Subject: Re: [Users] Resizing bootable disk erase OS
For extending the VM disk, as Dafna mentioned, you should use the ovirt-engine webadmin (via 'edit' disk). If you'd like to extend your OS disk, there is a nice guide for that. it's not an official guide AFAIK, but it works :) http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/
----- Original Message ----- From: "Dafna Ron" <dron@redhat.com> To: users@ovirt.org, "Allon Mureinik" <amureini@redhat.com>, "Aharon Canan" <acanan@redhat.com>, "Elad Ben Aharon" <ebenahar@redhat.com>, "Gadi Ickowicz" <gickowic@redhat.com> Sent: Wednesday, April 9, 2014 1:29:12 PM Subject: Re: [Users] Resizing bootable disk erase OS
the OS should not be erased if it's done from the webadmin. Adding some people to this bug.
you are extending from the webadmin and not by manually sending lvresize right?
Thanks, Dafna
On 04/09/2014 11:21 AM, Yusufi M R wrote:
Hello Everyone,
I have Ovirt 3.3 setup and have VMs created using template. If I resize (extend) the disk size, the OS is erased. How can I extend the size of disk without affecting the OS ?
Regards,
Yusuf
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I also tried by extending the size while VM running. Had same issue. Its CentOS6. Regards, Yusuf -----Original Message----- From: Itamar Heim [mailto:iheim@redhat.com] Sent: 10 April 2014 11:47 To: Yusufi M R; Elad Ben Aharon; dron@redhat.com Cc: users@ovirt.org Subject: Re: [ovirt-users] [Users] Resizing bootable disk erase OS On 04/10/2014 06:03 AM, Yusufi M R wrote:
I did extend the size of disk from Ovirt Admin Portal after taking VM offline. This has crashed my OS and was unable to boot.
which OS is that? can you retry with a (non-important) VM when its running (i don't if you need the guest agents installed or not)
Regards, Yusuf
________________________________________ From: Elad Ben Aharon <ebenahar@redhat.com> Sent: Wednesday, April 09, 2014 4:38 PM To: dron@redhat.com; Yusufi M R Cc: users@ovirt.org; Allon Mureinik; Aharon Canan; Gadi Ickowicz Subject: Re: [Users] Resizing bootable disk erase OS
For extending the VM disk, as Dafna mentioned, you should use the ovirt-engine webadmin (via 'edit' disk). If you'd like to extend your OS disk, there is a nice guide for that. it's not an official guide AFAIK, but it works :) http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-onli ne/
----- Original Message ----- From: "Dafna Ron" <dron@redhat.com> To: users@ovirt.org, "Allon Mureinik" <amureini@redhat.com>, "Aharon Canan" <acanan@redhat.com>, "Elad Ben Aharon" <ebenahar@redhat.com>, "Gadi Ickowicz" <gickowic@redhat.com> Sent: Wednesday, April 9, 2014 1:29:12 PM Subject: Re: [Users] Resizing bootable disk erase OS
the OS should not be erased if it's done from the webadmin. Adding some people to this bug.
you are extending from the webadmin and not by manually sending lvresize right?
Thanks, Dafna
On 04/09/2014 11:21 AM, Yusufi M R wrote:
Hello Everyone,
I have Ovirt 3.3 setup and have VMs created using template. If I resize (extend) the disk size, the OS is erased. How can I extend the size of disk without affecting the OS ?
Regards,
Yusuf
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

what type of storage are you using? did the vm have only 1 disk? was there anything you did before taking down the vm? (live migration, live snapshots?) Can you reproduce this or did it happen on only 1 vm? what storage are you using? Please attach the engine, vdsm, libvirt and qemu logs from the event. Thanks, Dafna On 04/10/2014 04:03 AM, Yusufi M R wrote:
I did extend the size of disk from Ovirt Admin Portal after taking VM offline. This has crashed my OS and was unable to boot.
Regards, Yusuf
________________________________________ From: Elad Ben Aharon <ebenahar@redhat.com> Sent: Wednesday, April 09, 2014 4:38 PM To: dron@redhat.com; Yusufi M R Cc: users@ovirt.org; Allon Mureinik; Aharon Canan; Gadi Ickowicz Subject: Re: [Users] Resizing bootable disk erase OS
For extending the VM disk, as Dafna mentioned, you should use the ovirt-engine webadmin (via 'edit' disk). If you'd like to extend your OS disk, there is a nice guide for that. it's not an official guide AFAIK, but it works :) http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/
----- Original Message ----- From: "Dafna Ron" <dron@redhat.com> To: users@ovirt.org, "Allon Mureinik" <amureini@redhat.com>, "Aharon Canan" <acanan@redhat.com>, "Elad Ben Aharon" <ebenahar@redhat.com>, "Gadi Ickowicz" <gickowic@redhat.com> Sent: Wednesday, April 9, 2014 1:29:12 PM Subject: Re: [Users] Resizing bootable disk erase OS
the OS should not be erased if it's done from the webadmin. Adding some people to this bug.
you are extending from the webadmin and not by manually sending lvresize right?
Thanks, Dafna
On 04/09/2014 11:21 AM, Yusufi M R wrote:
Hello Everyone,
I have Ovirt 3.3 setup and have VMs created using template. If I resize (extend) the disk size, the OS is erased. How can I extend the size of disk without affecting the OS ?
Regards,
Yusuf
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron
-- Dafna Ron
participants (4)
-
Dafna Ron
-
Elad Ben Aharon
-
Itamar Heim
-
Yusufi M R