Tell me if it is correct. I use debian lenny and xen hypervisor 3.2. I have my domUs under a vg, each domU has its own LV. So for example DomU server1 has server1-disk LV and server1-swap LV under VG00. server1-disk is 20G and I want to exend to 50G. I shutdown server1, then from Dom0 I do: lvextend -L+30G /dev/vg00/server1-disk resize2fs /dev/vg00/server1-disk xm create server1.cfg. Is it correct? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Mar 03, 2011 at 03:17:48PM +0000, Mauro wrote:> Tell me if it is correct. > I use debian lenny and xen hypervisor 3.2. > I have my domUs under a vg, each domU has its own LV. > So for example DomU server1 has server1-disk LV and server1-swap LV under VG00. > server1-disk is 20G and I want to exend to 50G. > I shutdown server1, then from Dom0 I do: > > lvextend -L+30G /dev/vg00/server1-diskfsck.ext3 -f /dev/vg00/server1-disk> resize2fs /dev/vg00/server1-disk > xm create server1.cfg. > Is it correct?yeap. looks ok to me (as long as /dev/vg00/server1-disk is in fact a partition image and not a "whole disk"-image (including partition table and MBR). cheers -henrik _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 3 March 2011 16:44, Henrik Langos <hlangos-xen@innominate.com> wrote:> On Thu, Mar 03, 2011 at 03:17:48PM +0000, Mauro wrote: >> Tell me if it is correct. >> I use debian lenny and xen hypervisor 3.2. >> I have my domUs under a vg, each domU has its own LV. >> So for example DomU server1 has server1-disk LV and server1-swap LV under VG00. >> server1-disk is 20G and I want to exend to 50G. >> I shutdown server1, then from Dom0 I do: >> >> lvextend -L+30G /dev/vg00/server1-disk > > fsck.ext3 -f /dev/vg00/server1-disk > >> resize2fs /dev/vg00/server1-disk >> xm create server1.cfg. >> Is it correct? > > yeap. looks ok to me (as long as /dev/vg00/server1-disk is in fact a partition > image and not a "whole disk"-image (including partition table and MBR). > >Ok, I''ve just tried and it works. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users