Hi
What rev of 121430/121431 (SPARC/x86 ) is applied, there are a lot of fixes in later rev's ( 42 is latest ) for zones on zfs.

Could I see zfs list
zonecfg info on stargate.

Enda



Jesus Cea wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to do a live upgrade of a Solaris 10 U7 with zones, and I am
finding some errors. Any suggestion is welcomed.

I do a "lucreate" correctly. But when I try to do a "luactivate", I find
this:

"""
[r...@stargate-host /]# luactivate Solaris10u7-20090922_2
System has findroot enabled GRUB
Generating boot-sign, partition and slice information for PBE <Solaris10u7>
ERROR: unable to mount zones:
zoneadm: zone 'stargate': zone root
/datos/zones/stargate-Solaris10u7-20090922_2/root is reachable through
/datos/zones/stargate/root/.alt.tmp.b-ox.mnt
zoneadm: zone 'stargate': call to zoneadmd failed
ERROR: unable to mount zone <stargate> in </.alt.tmp.b-T5.mnt>
ERROR: unmounting partially mounted boot environment file systems
ERROR: cannot mount boot environment by icf file </etc/lu/ICF.2>
ERROR: Unable to mount the boot environment <Solaris10u7-20090922_2>.
"""

I see some of the filesystems mounted, so I try to unmount them:

"""
[r...@stargate-host /]# luumount Solaris10u7-20090922_2
ERROR: No such file or directory: error unmounting
</.alt.tmp.b-T5.mnt/var/run>
ERROR: umount: /.alt.tmp.b-T5.mnt/var/run busy
ERROR: cannot unmount </.alt.tmp.b-T5.mnt/var/run>
ERROR: failed to unmount </.alt.tmp.b-T5.mnt/var/run>
ERROR: cannot fully unmount boot environment - <1>: file systems remain
mounted
"""

Reading the Solaris 10 documentation I can not see any relevant detail,
except that I created my zones under "datos/zones" (a ZFS dataset)
instead of a child of "datos/ROOT/Solaris10u7", as showed in every
example. I don't know if this is relevant or not. In any case, the zones
datasets are snapshotted&cloned correctly.

If that is the problem, I think I can do a "rename" of the dataset to
move it to the right place, and edit the config files "by hand" to
reflect the new location (/etc/zones). But first I need to know if this
is actually the issue. I think that having the zones under
"datos/zones", being an absolute path independent of the BE (Boot
Environment), could be the problem. Could you confirm it?.

This is a production machine, so I would like to solve this without
disturbing it too much (I can mess a bit with it if necessary).

Thanks for any help.

PS: If the zones datasets must be children of the current BE dataset,
that SHOULD be documented clearly in the manual!!!!!.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
j...@jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:j...@jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBSrlMP5lgi5GaxT1NAQKz4gP/V77F5p5+ToJlkWcSblbZLKkiESxPB/2O
nEG4aGo7SVwcuhbjs/gQ6eZNbgb9SxSqUEwdyxGACij4sIqYVkM+ajfXzPVRAEkN
S9zLqC67uThCvkBqkfikp34I6/hBa+bPyhIvrzYHafCoQDJviwnjI6pbPontwRU3
qO0LaLtwsrQ=
=77AS
-----END PGP SIGNATURE-----
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

--
Enda O'Connor x19781  Software Product Engineering
Patch System Test : Ireland : x19781/353-1-8199718
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to