I tried this on -help and got nothing back, can anyone else clarify
if I'm doing this right?

Basically I'm trying to setup a 2 disk x86 box so I can do rolling
Live Upgrades -
i.e. make a BE for b66, then reuse the old / slice for a b67 BE etc -
is that possible?

It would be nice not to have to depend on any one disk to boot.

The first problem seems to be grub (I complicate things by having zones
on ZFS, but I can work round that myself).

---------- Forwarded message ----------
From: Dick Davies <[email protected]>
Date: 17-Jun-2007 10:31
Subject: live upgrade and partitioning
To: opensolaris-help at opensolaris.org


I set up a 2 disk x86 box (b61) like this:

c0d0s0 = /
c0d0s1 = swap
c0d0s3 = 1/2 a zpool

c0d1s0 = <free for Live Upgrade>
c0d1s1 = swap
c0d1s3 = 1/2 a zpool


I've successfully setup a BE on c0d1s0 and activated it
 (had a bit of trouble as i have zones on ZFS, but it was fairly easy to fix
by removing the zone roots LU had copied over so that ZFS could mount
them from the pool).
Didn't actually upgrade to a newer release, just 'luactivate'd to
check it would boot. It's optimistically named 'b64a':

vera # lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
c0d0s0                     yes      no     no        yes    -
b64a                       yes      yes    yes       no     -
vera #

When i tried to switch back to c0d0s0, I get this error:

vera # luactivate c0d0s0
ERROR: unable to mount zones:
zoneadm: /.alt.tmp.b-xtg.mnt/zones/template-b61-c0d0s0: No such file
or directory
could not verify zonepath
/.alt.tmp.b-xtg.mnt/zones/template-b61-c0d0s0 because of the above
errors.
zoneadm: zone template failed to verify
ERROR: unable to mount zone <template> in </.alt.tmp.b-xtg.mnt>
ERROR: unmounting partially mounted boot environment file systems
ERROR: cannot mount boot environment by icf file </etc/lu/ICF.1>
ERROR: Unable to mount the boot environment <c0d0s0>.

(template is a zone I use for cloning).


In any case, the plan was to be able to do rollinbg upgrades
by reusing c0d0s0, but it looks
as though that would break grub (since the grub bits weren't copied
over to the new BE).

Am I stuck here?

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/


-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/

Reply via email to