Hi.

I'm trying to move a NGZ from a S10 U6 host to a system running
U7 - both are Sparc architecture. To do so, I ran the command

  $ sudo zoneadm -z race-trac detach

on the old S10 U6 machine. After that, I created a snapshot of the
ZFS containing the zoneroot and did a zfs send | zfs receive, to copy
it over to the new S10 U7 box; U7 is very up-to-date reg. patches -
pca doesn't show any missing patches (see below) - actually, I ran
pca just prior to running zoneadm attach.

To hightlight that: Zoneroot is on a ZFS. Trying to go from U6 to U7.

Maybe important? Source system is a SunFire V240; Target is a M4000.

Once the copy was done, I logged in to the S10 U7 system, to attach
the non global zone. You can find the output of "zoneadm -z race-trac attach"
below; because there are a lot of patches "missing" in the S10 U6 source
system (compared to the destination U7 system), i wanted to use the
"update on attach" feature and re-ran the "attach" command with "-u":

$ sudo env LC_ALL=C LANG=C PATH=/usr/sbin:/usr/bin:/sbin:/bin zoneadm
-z race-trac attach -u
zoneadm: zone 'race-trac': WARNING: pools facility not active; zone
will not be bound to pool 'pool_default'.
zoneadm: zone 'race-trac': WARNING: pools facility not active; zone
will not be bound to pool 'pool_default'.
Getting the list of files to remove
nawk: can't open file /var/sadm/install/contents
 source line number 19
ERROR: zone update fatal error at: get_ed_cp_list
The file </var/sadm/system/logs/update_log> within the zone contains a
log of the zone update.
zoneadm: zone 'race-trac': 'attach_update' failed with exit code 1.
zoneadm: zone 'race-trac': could not update zone

Well, no good, is it? :(

What's causing the problem? The file .../contents DOES exist; I checked
it both on the source side and also in the .zfs ZFS snapshot directory
as it is present on the target system (I checked there, to see how the
directory looked like, before I ran the zoneadm attach command).

Commands I ran:

S10 U6 Source System:
$ sudo zoneadm -z race-trac detach
$ sudo zfs snapshot rpool/ROOT/s10s_u6wos_07b/zones/race-t...@transfer.cold
$ sudo zfs send -vR rpool/ROOT/s10s_u6wos_07b/zones/race-t...@transfer.cold | \
  sudo rsh winds07 "zfs recv -vd rpool/ROOT/s10s_u7wos_08/zones/race-trac/root"

S10 U7 Target System:
$ sudo zonecfg -z race-trac
zonecfg:race-trac> create -a /zones/race-trac/root
zonecfg:race-trac> select net physical=bge2
zonecfg:race-trac:net> set physical=bge1
zonecfg:race-trac:net> end
zonecfg:race-trac> select dataset name=data/zones/race-trac
zonecfg:race-trac:dataset> set name=rpool/ROOT/s10s_u7wos_08/zones/race-trac/ds
zonecfg:race-trac:dataset> end
zonecfg:race-trac> verify
zonecfg:race-trac> commit
zonecfg:race-trac> exit
$ sudo  env LC_ALL=C LANG=C PATH=/usr/sbin:/usr/bin:/sbin:/bin zoneadm
-z race-trac attach
[ Output below, at end of post ]
--($ ~)-- sudo  env LC_ALL=C LANG=C PATH=/usr/sbin:/usr/bin:/sbin:/bin
zoneadm -z race-trac attach -u
[ Error message at beginning of post ]

Files:
* /var/sadm/install/contents →
http://public-files.askwar.s3.amazonaws.com/s10/zones/race-trac/contents
* /var/sadm/system/logs/update_log →
http://public-files.askwar.s3.amazonaws.com/s10/zones/race-trac/update_log
* SUNWdetached.xml →
http://public-files.askwar.s3.amazonaws.com/s10/zones/race-trac/SUNWdetached.xml
* SUNWdetached.xml (plain text content type) →
http://public-files.askwar.s3.amazonaws.com/s10/zones/race-trac/SUNWdetached.xml.txt

$ /opt/pca/pca -l
Using /var/tmp/patchdiag.xref from Jul/08/09
Host: winds07 (SunOS 5.10/Generic_141414-02/sparc/sun4u)
List: missing (0/0)

$ sudo  env LC_ALL=C LANG=C PATH=/usr/sbin:/usr/bin:/sbin:/bin zoneadm
-z race-trac attach
zoneadm: zone 'race-trac': WARNING: pools facility not active; zone
will not be bound to pool 'pool_default'.
zoneadm: zone 'race-trac': WARNING: pools facility not active; zone
will not be bound to pool 'pool_default'.
These packages installed on the source system are inconsistent with this system:
        SUNWj3dev: version mismatch
                (1.4.2,REV=2008.05.28.03.05)
                (1.4.2,REV=2008.11.11.02.48)
        SUNWj3dmo: version mismatch
                (1.4.2,REV=2008.05.28.03.05)
                (1.4.2,REV=2008.11.11.02.48)
        SUNWj3dvx: version mismatch
                (1.4.2,REV=2008.05.28.01.50)
                (1.4.2,REV=2008.11.11.01.43)
        SUNWj3man: version mismatch
                (1.4.2,REV=2008.05.28.03.05)
                (1.4.2,REV=2008.11.11.02.48)
        SUNWj3rt: version mismatch
                (1.4.2,REV=2008.05.28.03.05)
                (1.4.2,REV=2008.11.11.02.48)
        SUNWj3rtx: version mismatch
                (1.4.2,REV=2008.05.28.01.50)
                (1.4.2,REV=2008.11.11.01.43)
These packages installed on this system were not installed on the source system:
        SUNWastfb (10.0.0,REV=2009.02.20)
        SUNWastfbcf (10.0.0,REV=2009.02.26)
        SUNWfsr (11.10.0,REV=2009.02.24.04.40)
        SUNWfsu (11.10.0,REV=2009.02.24.04.40)
These patches installed on the source system are inconsistent with this system:
        118666: version mismatch
                (18) (20)
        118667: version mismatch
                (18) (19)
        118683: version mismatch
                (02) (03)
        118705: version mismatch
                (01) (02)
        118708: version mismatch
                (18) (19)
        118712: version mismatch
                (22) (23)
        118718: version mismatch
                (01) (03)
        118777: version mismatch
                (13) (14)
        118959: version mismatch
                (03) (04)
        119059: version mismatch
                (46) (47)
        119090: version mismatch
                (31) (32)
        119117: version mismatch
                (47) (49)
        119201: version mismatch
                (32) (36)
        119213: version mismatch
                (17) (19)
        119246: version mismatch
                (34) (35)
        119254: version mismatch
                (64) (66)
        119278: version mismatch
                (25) (27)
        119280: version mismatch
                (19) (20)
        119315: version mismatch
                (15) (16)
        119470: version mismatch
                (15) (16)
        119534: version mismatch
                (14) (15)
        119538: version mismatch
                (18) (19)
        119757: version mismatch
                (14) (15)
        119876: version mismatch
                (05) (06)
        119963: version mismatch
                (12) (16)
        120094: version mismatch
                (21) (22)
        120185: version mismatch
                (17) (18)
        120272: version mismatch
                (23) (24)
        120410: version mismatch
                (30) (31)
        120460: version mismatch
                (14) (15)
        120753: version mismatch
                (05) (07)
        120812: version mismatch
                (29) (31)
        120928: version mismatch
                (27) (28)
        121104: version mismatch
                (05) (07)
        121118: version mismatch
                (15) (16)
        121430: version mismatch
                (34) (37)
        122212: version mismatch
                (31) (33)
        122259: version mismatch
                (01) (02)
        122261: version mismatch
                (01) (02)
        122675: version mismatch
                (02) (03)
        122911: version mismatch
                (15) (16)
        123590: version mismatch
                (09) (10)
        123893: version mismatch
                (05) (15)
        123938: version mismatch
                (01) (02)
        124149: version mismatch
                (14) (15)
        124630: version mismatch
                (20) (26)
        125172: version mismatch
                (01) (02)
        125332: version mismatch
                (04) (06)
        125533: version mismatch
                (10) (11)
        125539: version mismatch
                (05) (06)
        125541: version mismatch
                (03) (04)
        125555: version mismatch
                (02) (05)
        125719: version mismatch
                (16) (20)
        125952: version mismatch
                (18) (19)
        126530: version mismatch
                (01) (02)
        126655: version mismatch
                (01) (02)
        127976: version mismatch
                (04) (05)
        136998: version mismatch
                (05) (06)
        137000: version mismatch
                (03) (04)
        137034: version mismatch
                (01) (02)
        137080: version mismatch
                (01) (03)
        138322: version mismatch
                (02) (03)
        138822: version mismatch
                (02) (04)
        138826: version mismatch
                (02) (04)
        138866: version mismatch
                (02) (03)
        138874: version mismatch
                (01) (03)
        139099: version mismatch
                (01) (02)
These patches installed on this system were not installed on the source system:
        138174-02
        138644-01
        138645-01
        138647-01
        138649-01
        138764-01
        138766-01
        138892-02
        138971-01
        139520-02
        139555-08
        139602-01
        139604-03
        139606-02
        139608-03
        139656-02
        139928-02
        139930-01
        139940-01
        139941-01
        139943-01
        139945-02
        139949-01
        139953-02
        139956-01
        139959-02
        139962-01
        139964-02
        139966-02
        139967-01
        139968-01
        139969-02
        139972-01
        139973-01
        139974-03
        139976-01
        139977-04
        139982-02
        139985-02
        139986-01
        139988-01
        139989-02
        139993-02
        139996-01
        140003-01
        140074-08
        140078-01
        140081-01
        140157-02
        140159-01
        140161-01
        140163-01
        140169-01
        140171-02
        140179-02
        140234-01
        140387-01
        140391-03
        140397-08
        140399-01
        140401-01
        140404-01
        140406-01
        140557-01
        140559-01
        140562-02
        140563-01
        140589-01
        140703-01
        140783-01
        140784-01
        140786-01
        140788-01
        140790-01
        140792-01
        140796-01
        140860-01
        140899-01
        140905-01
        140907-01
        140909-01
        140912-01
        140914-01
        140916-01
        140917-01
        140919-01
        140921-01
        140964-01
        141016-01
        141020-01
        141051-01
        141052-01
        141104-01
        141414-02
        141686-01
        141688-01
        141690-01
        141692-01
        141694-01
        141715-01
        141717-01
        141719-01
        141721-01
        141723-02
        141726-01
        141731-01
        141733-02
        141736-02
        141738-01
        141740-01
        141742-01
        141743-02
        141765-01
        141767-01
        141771-01
        141773-01
        141775-01
        141781-01
        141910-01
        141914-01
        141918-01
        141922-01
        142004-01
        800100-01
        800111-04
        800113-04


Alexander
-- 
[[ http://zensursula.net ]]
[ Soc. => http://twitter.com/alexs77 | http://www.plurk.com/alexs77 ]
[ Mehr => http://zyb.com/alexws77 ]
[ Chat => Jabber: alexw...@jabber80.com | Google Talk: a.sk...@gmail.com ]
[ Mehr => AIM: alexws77 ]
[ $[ $RANDOM % 6 ] = 0 ] && rm -rf / || echo 'CLICK!'
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to