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

Re: [Xen-users] LV resize encrypted volume



On Tue, Mar 20, 2012 at 4:42 AM, Jan Bakuwel <jan.bakuwel@xxxxxxxxx> wrote:
> Yes to all the above. I'm not sure if I understand you. Please note dom0
> exports the LVs to domU as discs, not partitions.

Doesn't matter.

What matters is what the domU USES the block device as. If you use
some kind of installer to setup domU, then it will CREATE partitions
(and optionally LVM) on top of the block device.

If you create the domU manually (e.g. from template) then it's your
choice whether or not to create a partition on it.

> I had to increase a
> few others LVs used by the same domU, those all resized as usual. The
> only LV that didn't resize as expected is the one that is encrypted on domU.
>
> The LV has been resized on dom0 and if I used blockdev on dom0 to
> inquire the size of the device I'm getting the expected result so we're
> beyond any resizing on dom0? domU has been rebooted. Once rebooted,
> domU's kernel should see the correct size?

Here's something that would help you understand better. In domU, do a
"cat /proc/partitions" and "fdisk -lu".
You should see that domU sees the "disk" HAS changed, but the
partition ON that disk remains the same.

-- 
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®.