Can I move an LVM as I can move an ISO

Soren Hansen soren at
Wed Oct 6 05:41:04 UTC 2010

On 06-10-2010 05:01, Tapas Mishra wrote:
>> Yes you need to create the target LVM volume on the target server before
>> copying over network.
> Here lies the problem.
> When on Server A whose LVM backup I am taking when I created LVMs
> I created 4 different LVM within same Volume Group but these four have
> different OSeS
> I did not partitioned them into swap or ext4 type of things.
> I just installed the Guest OS from virt-manager and that broke the LVM into two
> even if I do an lvscan I see only one LVM but inside it is divided
> into two parts.

That's how it's supposed to work.

> One holds ext4 and another holds swap partition how can I repeat this
> thing on Server B
> but this time I have to do manually.

Just copy the contents of the logical volume. That's all. The logical
volume contains a partition table which your guest OS sees and then it
sees its two partitions.

> Even if on Server B I create same sort of structure how will I
> partition an LVM into two?

You don't. Your guest did.

> I am not asking to created 2 LVM and convert one to ext4 and another to swap.
> The same thing exist on A but probably this was taken care by the
> Ubuntu Installer
> i.e. process of breaking an LVM into two parts and converting one to

Yes. And when you copy the contents of the logical volume to the other
server, this does not disappear.

Soren Hansen
Ubuntu Developer
OpenStack Developer

More information about the ubuntu-server mailing list