On Sun, 11 Oct 2009 14:22:23 +0200
dick hoogendijk <d...@nagual.nl> wrote:
> I'll come back on it.
Here it is. It's a long message, but worth analyzing I hope.

arwen# zfs list
NAME                                  MOUNTPOINT
rpool                                 /rpool
rpool/ROOT                            legacy
rpool/ROOT/daffy                      /
rpool/ROOT/da...@goofy                -
rpool/ROOT/daffy/zones                /zones
rpool/ROOT/daffy/zo...@daffy          -
rpool/ROOT/daffy/zo...@goofy          -
rpool/ROOT/daffy/zones/midgard-daffy  /zones/midgard-daffy
rpool/ROOT/daffy/zones/shire-daffy    /zones/shire-daffy
rpool/ROOT/daffy/zones/yanta-daffy    /zones/yanta-daffy
rpool/ROOT/goofy                      /
rpool/ROOT/goofy/zones                /zones
rpool/ROOT/goofy/zones/midgard        /zones/midgard
rpool/ROOT/goofy/zones/midg...@goofy  -
rpool/ROOT/goofy/zones/shire          /zones/shire
rpool/ROOT/goofy/zones/sh...@goofy    -
rpool/ROOT/goofy/zones/yanta          /zones/yanta
rpool/ROOT/goofy/zones/ya...@goofy    -
rpool/dump                            -
rpool/export                          /export
rpool/export/home                     /export/home
rpool/swap                            -

arwen# lofiadm -a /export/iso/s10u8.iso /dev/lofi/1
arwen# mount -F hsfs -o ro /dev/lofi/1 /iso
arwen# cd /iso/Solaris_10/Tools/Installers
arwen# ./liveupgrade20
arwen# umount /iso
arwen# lofiadm -d /dev/lofi/1

===---===LU packages from S10u8===
arwen# lustatus
Boot Environment           Is       Active Active    Can    Copy      
Name                       Complete Now    On Reboot Delete Status    
-------------------------- -------- ------ --------- ------ ----------
daffy                      yes      no     no        yes    -         
goofy                      yes      yes    yes       no     -         

arwen# lucreate -n s10u8
Checking GRUB menu...
System has findroot enabled GRUB
Analyzing system configuration.
Comparing source boot environment <goofy> file systems with the file 
system(s) you specified for the new boot environment. Determining which 
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <s10u8>.
Source boot environment is <goofy>.
Creating boot environment <s10u8>.
Cloning file systems from boot environment <goofy> to create boot
environment <s10u8>. Creating snapshot for <rpool/ROOT/goofy> on
<rpool/ROOT/go...@s10u8>. Creating clone for <rpool/ROOT/go...@s10u8>
on <rpool/ROOT/s10u8>. Setting canmount=noauto for </> in zone <global>
on <rpool/ROOT/s10u8>. Creating snapshot for <rpool/ROOT/goofy/zones>
on <rpool/ROOT/goofy/zo...@s10u8>. Creating clone for
<rpool/ROOT/goofy/zo...@s10u8> on <rpool/ROOT/s10u8/zones>. Setting
canmount=noauto for </zones> in zone <global> on
<rpool/ROOT/s10u8/zones>. Creating snapshot for
<rpool/ROOT/goofy/zones/shire> on <rpool/ROOT/goofy/zones/sh...@s10u8>.
Creating clone for <rpool/ROOT/goofy/zones/sh...@s10u8> on
<rpool/ROOT/s10u8/zones/shire-s10u8>. cannot mount
'rpool/ROOT/s10u8/zones/shire-s10u8': legacy mountpoint use mount(1M)
to mount this filesystem ERROR: Failed to mount dataset
<rpool/ROOT/s10u8/zones/shire-s10u8> legacy is not an absolute path.
Creating snapshot for <rpool/ROOT/goofy/zones/midgard> on
<rpool/ROOT/goofy/zones/midg...@s10u8>. Creating clone for
<rpool/ROOT/goofy/zones/midg...@s10u8> on
<rpool/ROOT/s10u8/zones/midgard-s10u8>. cannot mount
'rpool/ROOT/s10u8/zones/midgard-s10u8': legacy mountpoint use mount(1M)
to mount this filesystem ERROR: Failed to mount dataset
<rpool/ROOT/s10u8/zones/midgard-s10u8> legacy is not an absolute path.
Creating snapshot for <rpool/ROOT/goofy/zones/yanta> on
<rpool/ROOT/goofy/zones/ya...@s10u8>. Creating clone for
<rpool/ROOT/goofy/zones/ya...@s10u8> on
<rpool/ROOT/s10u8/zones/yanta-s10u8>. cannot mount
'rpool/ROOT/s10u8/zones/yanta-s10u8': legacy mountpoint use mount(1M)
to mount this filesystem ERROR: Failed to mount dataset
<rpool/ROOT/s10u8/zones/yanta-s10u8> legacy is not an absolute path.
WARNING: split filesystem </> file system type <zfs> cannot inherit
mount point options <-> from parent filesystem </> file type <->
because the two file systems have different types. Saving existing file
</boot/grub/menu.lst> in top level dataset for BE <daffy> as
<mount-point>//boot/grub/menu.lst.prev. Saving existing file
</boot/grub/menu.lst> in top level dataset for BE <s10u8> as
<mount-point>//boot/grub/menu.lst.prev. File </boot/grub/menu.lst>
propagation successful Copied GRUB menu from PBE to ABE No entry for BE
<s10u8> in GRUB menu Population of boot environment <s10u8> successful.
Creation of boot environment <s10u8> successful.

As you can see there are some errors, BUT the BE creation is succesful.
This does not feel right, but OK. I will go ahead since a zfs list
seems to be OK too.

arwen# zfs list
NAME                                   USED  AVAIL  REFER  MOUNTPOINT
rpool                                 /rpool
rpool/ROOT                            legacy
rpool/ROOT/daffy                      /
rpool/ROOT/da...@goofy                -
rpool/ROOT/daffy/zones                /zones
rpool/ROOT/daffy/zo...@daffy          -
rpool/ROOT/daffy/zo...@goofy          -
rpool/ROOT/daffy/zones/midgard-daffy  /zones/midgard-daffy
rpool/ROOT/daffy/zones/shire-daffy    /zones/shire-daffy
rpool/ROOT/daffy/zones/yanta-daffy    /zones/yanta-daffy
rpool/ROOT/goofy                      /
rpool/ROOT/go...@s10u8                -
rpool/ROOT/goofy/zones                /zones
rpool/ROOT/goofy/zo...@s10u8          -
rpool/ROOT/goofy/zones/midgard        /zones/midgard
rpool/ROOT/goofy/zones/midg...@goofy  -
rpool/ROOT/goofy/zones/midg...@s10u8  -
rpool/ROOT/goofy/zones/shire          /zones/shire
rpool/ROOT/goofy/zones/sh...@goofy    -
rpool/ROOT/goofy/zones/sh...@s10u8    -
rpool/ROOT/goofy/zones/yanta          /zones/yanta
rpool/ROOT/goofy/zones/ya...@goofy    -
rpool/ROOT/goofy/zones/ya...@s10u8    -
rpool/ROOT/s10u8                      /
rpool/ROOT/s10u8/zones                /zones
rpool/ROOT/s10u8/zones/midgard-s10u8  /zones/midgard-s10u8
rpool/ROOT/s10u8/zones/shire-s10u8    /zones/shire-s10u8
rpool/ROOT/s10u8/zones/yanta-s10u8    /zones/yanta-s10u8
rpool/dump                            -
rpool/export                          /export
rpool/export/home                     /export/home
rpool/swap                            -

===---===luupgrade===---===
arwen# luupgrade -u -n s10u8 -s /iso

System has findroot enabled GRUB
No entry for BE <s10u8> in GRUB menu
Uncompressing miniroot
Copying failsafe kernel from media.
63093 blocks
miniroot filesystem is <lofs>
Mounting miniroot at </iso/Solaris_10/Tools/Boot>
Validating the contents of the media </iso>.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains <Solaris> version <10>.
Constructing upgrade profile to use.
Locating the operating system upgrade program.
Checking for existence of previously scheduled Live Upgrade requests.
Creating upgrade profile for BE <s10u8>.
ERROR: unable to mount zones:
zoneadm: zone 'shire': zone root /zones/shire/root already in use by
zone shire zoneadm: zone 'shire': call to zoneadmd failed
ERROR: unable to mount zone <shire> in </a>
ERROR: unmounting partially mounted boot environment file systems
ERROR: cannot mount boot environment by icf file
</tmp/.luupgrade.beicf.11048> cat: cannot open /tmp/.luupgrade.tmp.11048
ERROR: Unable to mount ABE disk slices: < >.
ERROR: Unable to mount the BE <s10u8>.
=================================================

I found out lucreate has fucked up my /etc/vfstab!
It has put the BE (which is on ZFS) AND its zones (which also are on
ZFS) in the /etc/vfstab in the new ABE. This gives errors when
luupgrade wants to mount the zones. /zones/name(s) are indeed already
in use during this process by the zones from s10u7.

So it's fair to say LU from s10u8 is broken!
I hope it will/can be solved.

-- 
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to