This discussion is archived
1 Reply Latest reply: Apr 19, 2012 11:02 AM by user171873 RSS

Sparse zones live upgrade

thor22 Newbie
Currently Being Moderated
Hi

I have problem with live upgrade on solaris 10 9/10 to 8/11 on sparse zone.

The installation on global zone is good but sparse zone cannnot boot because zonepath changed.

bash-3.2# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- pbspfox1 installed /zoneprod/pbspfox1-s10u10-baseline native excl

the initial path is /zoneprod/pbspfox1

#zfs list
zoneprod/pbspfox1@s10u10-baseline 22.4M - 2.18G -
zoneprod/pbspfox1-s10u10-baseline


# luactivate zoneprod/pbspfox1@s10u10-baseline
ERROR: The boot environment Name <zoneprod/pbspfox1@s10u10-baseline> is too long - a BE name may contain no more than 30 characters.
ERROR: Unable to activate boot environment <zoneprod/pbspfox1@s10u10-baseline>.

how to upgrade pbspfox1?

Please help

Walter
  • 1. Re: Sparse zones live upgrade
    user171873 Explorer
    Currently Being Moderated
    I'm not exactly sure what happened here but the zone name doesn't change. If the zone patch is wrong, I'd try using zonecfg to change the zone path to the proper value and then boot the zone normally.

    zonecfg -z pbspfox1
    set zonepath=/zone/pbspfox1 (or whatever is the proper path)
    verify
    commit
    exit

    zoneadm -z pbspfox1 boot

    If the zone didn't get properly updated, you might be able to update it by detaching the zone:

    zoneadm -z pbspfox1 detach

    and doing an update reattach

    zoneadm -z pbspfox1 attach -u

    Disclaimer: All of the above was done from memory without testing, I may have gotten some things wrong.

    Hopefully this will help. I've had similar issues in the past but I'm not sure I've had exactly the same problem so I can't tell for sure whether this will help you or not. It is what I'd try. Of course, try to avoid getting yourself into a position where you can't back something out if necessary. This kind of thing can be messy and may require more than one try. If a remember correctly there were some issues with the live upgrade software as shipped with Solaris 10 8/11. I'd get it patched up to current levels ASAP to avoid additional issues.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points