|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] sles 10 lvm install clone/copy
You probably have an vgdomu-pool with lvmachine1, lvmachine2,... as
lvm backends for your DomU's right? These lv's all have a partition
table for their domU, you can check that with "sfdisk -l
/dev/mapper/lvmachine1"
Only if they are equally sized you can use "dd
if=/dev/mapper/lvmachine1 of=/dev/mapper/lvmachine2 bs=1M". If they
are not equally sized (which is mostly the case), those lv's need to
be -so called- loop mounted in your dom0 if you want to copy their
contents and manually adjust. There's a tool called "losetup" for
that, it allows you to loop-mount a partition within another
partition/lv/file. I can't give the direct syntax for it, since it has
been a while since I used it. Someone else on the list can help
perhaps?
I also believe SLES10 has a special "cloop" package for such situations?
greets
Tijl Van den Broeck
On 11/17/06, Alex Bagehot <abagehot@xxxxxxxxxx> wrote:
Hi,
I have installed sles 10 on a logical volume without problem using the yast
installer.
However, can anyone help me clone that installation onto other lv's, I can't
seem to mount the lv in dom0 and can't find any help on copying/cloning
lv's?
I want to install once then clone the install 5 times say to make a server
cluster (Websphere), changing the ip addresses etc. If there's a better way
to do it then feel free to suggest.
Thanks in advance,
Alex
This message has been scanned for viruses by BlackSpider MailControl
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|