lucreate to upgrade zones in SVM-softpartitions

From: rob.de.langhe@belgacom.be
Date: Fri Oct 26 2007 - 08:34:59 EDT


Hi,

we want (no: need to) use Live Upgrade to get our zones upgraded from
S10u2 towards S10u4.

Our zones are stored in SVM softpartitions, or in VxVM volumes (UFS).

The docs neatly describe how to use "lucreate" to get a clone of the /,
/var and so on filesystems, which might be sitting on individual slices,
eventually under SVM control.

But what the docs do not describe is how I can clone the softpartitions
for my zones into a new (?) metadevice that resides on my alternate boot
disk, or how to clone the VxVM volumes for my zones into new VxVM
volumes on alternate disk(s).

Take the simple case: a server with 2 disks both unser SVM:

d10 1 1 c0t0d0s0
d20 1 1 c1t0d0s0
d0 -m d10 d20
and the same for slice 1 (swap), slice3 (/var) and slice5 (/opt)
The slice 6 is the remaining capacity of the disk :
d16 1 1 c0t0d0s6
d26 1 1 c1t0d0s6
d6 -m d16 d26
containing the softpartitions like
d100 -p d6 4g

mounted as
/zones/myzone from /dev/md/dsk/d100

I would use
lucreate -c abe -n obe \
    -m /:/dev/md/dsk/d30:ufs,mirror -m
/:/dev/dsk/c1t0d0s0:detach,attach,preserve \
    -m /var:/dev/md/dsk/d33:ufs,mirror -m
/var:/dev/dsk/c1t0d0s3:detach,attach,preserve \
    -m /opt:/dev/md/dsk/d35:ufs,mirror -m
/opt:/dev/dsk/c1t0d0s5:detach,attach,preserve \
BUT WHAT ELSE IN THIS COMMAND FOR THE SOFTPARTITIONS ?

Your answers will likely be relevant as well when using VxVM volumes
that would need to be cloned, more or less.

thx in advance for your tips !
Rob

**** DISCLAIMER ****
http://www.belgacom.be/maildisclaimer
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:28 EDT