[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] LV resize encrypted volume



On Mon, Mar 19, 2012 at 4:05 PM, Jan Bakuwel <jan.bakuwel@xxxxxxxxx> wrote:
> Hi,
>
> dom0: Debian Lenny  2.6.26-2-xen-amd64, domU: same. Xen 3.2-1
>
> After resizing a LV on dom0, Xen is not reporting the new extended size
> to the PV domU even though dom0 is well aware of the new size. I've
> rebooted domU (not dom0 yet as that's running a lot of other domU's).
> The LV I tried to resize is encrypted. Resizing unencrypted volumes
> works as expected.
>
> dom0:~# blockdev --getsz /dev/d/lv3
> 1258291200

Is this on the dom0?

>
> domU:~# blockdev --getsz /dev/sdc1
> 1048576000

Is this on the domU?

If yes, you need to resize the partition as well. Kinda hassle,
somewhat. Your options are:
- boot domU using sysrescuecd or similar live CD (assign the disk to
another HVM domU if necessary), and resize the partition there. OR
- map the disk to dom0 using "xm block-attach 0 ...", then use
gparted/parted/whatever on dom0 for that disk.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.