From: tim.wort on 10 Dec 2009 09:05 On Dec 10, 1:30 am, mbr <m...(a)linmpi.mpg.de> wrote: > tim.w...(a)Inklingresearch.com wrote: > > On Dec 8, 8:27 am, mbr <m...(a)linmpi.mpg.de> wrote: > > >> problem by updating Solaris 10 x86 from U7 to U8 with Live Upgrade. > > >> ZFS root mirrored on 2 disks, no zones, no separate /var. > >> Should be an easy job for live upgrade. > > >> Yes, liveupgrade20 has been applied from the lofi mounted U8. > >> Yes, 121431-44, the Live Upgrade Patch is installed. > > >> luupgrade fails with: > > >> ERROR: Installation of the packages from this media of the media failed; > >> pfinstall returned these diagnostics: > >> Processing profile > >> Loading local environment and services > > It would appear that Live Upgrade is unable to read the media. > > examine the /mnt dir and make sure you see the normal directory > > structure > > for a Solaris dvd ie. > > > ultra20:/> lofiadm -a /sol-10-u7-ga-x86-dvd.iso > > /dev/lofi/1 > > ultra20:/> mount -F hsfs /dev/lofi/1 /mnt > > ultra20:/> ls /mnt > > Copyright Solaris_10 > > JDS-THIRDPARTYLICENSEREADME boot > > License installer > > the mounted media directory structure seems to be ok: > > # ll /mnt > total 979 > -r--r--r-- 1 root root 6582 Aug 21 21:34 Copyright > -r--r--r-- 1 root root 487593 Aug 21 21:32 JDS-THIRDPARTYLICENSEREADME > dr-xr-xr-x 2 root root 2048 Sep 17 00:30 License > dr-xr-xr-x 7 root root 2048 Sep 17 00:31 Solaris_10 > dr-xr-xr-x 5 root root 2048 Sep 17 00:31 boot > -r-xr-xr-x 1 root root 257 Sep 17 00:16 installer > > but: > > # luupgrade -c -s /mnt > Uncompressing miniroot > Copying failsafe kernel from media. > The media is a standard Solaris media. > The media contains an operating system upgrade image. > The media contains a standard media installer which can be run. > The media contains <Solaris> version <10>. > ERROR: Cannot unmount miniroot at </mnt/Solaris_10/Tools/Boot>. > > # ll /mnt/Solaris_10/Tools/Boot > total 150165 > -r--r--r-- 1 root root 63332944 Sep 17 00:13 X.cpio.bz2 > -r--r--r-- 1 root root 220580 Sep 17 00:13 X_small..cpio.bz2 > dr-xr-xr-x 2 root root 2048 Sep 17 00:31 amd64 > -r--r--r-- 1 root root 11569485 Sep 17 00:11 lu.cpio.bz2 > -r--r--r-- 1 root root 13 Sep 17 00:11 lu.platforms > lr-xr-xr-x 1 root root 23 Sep 17 00:31 multiboot -> ../../../boot/multiboot > -r--r--r-- 1 root root 1748481 Sep 17 00:10 pkg_db.cpio.bz2 > lr-xr-xr-x 1 root root 26 Sep 17 00:31 pxegrub -> ../../../boot/grub/pxegrub > -r--r--r-- 1 root root 7637 Sep 17 00:13 usr_sbin_install_d.cpio.bz2 > lr-xr-xr-x 1 root root 26 Sep 17 00:31 x86..miniroot -> ../../../boot/x86.miniroot > > Michael. I was wrong, sorry. It does see the media correctly, I missed those lines. My bad.
From: tim.wort on 10 Dec 2009 09:13 On Dec 8, 8:27 am, mbr <m...(a)linmpi.mpg.de> wrote: > Hello, > > problem by updating Solaris 10 x86 from U7 to U8 with Live Upgrade. > > ZFS root mirrored on 2 disks, no zones, no separate /var. > Should be an easy job for live upgrade. > > Yes, liveupgrade20 has been applied from the lofi mounted U8. > Yes, 121431-44, the Live Upgrade Patch is installed. > > luupgrade fails with: > > ERROR: Installation of the packages from this media of the media failed; > pfinstall returned these diagnostics: > Processing profile > Loading local environment and services > > Why does lucreate propagates /boot/grub/menu.lst? > It's a dummy, the real menu.lst is on /rpool/boot/grub. > > Here are the details: > > # lucreate -n s10u8 > Checking GRUB menu... > System has findroot enabled GRUB > Analyzing system configuration. > Comparing source boot environment <s10u7> 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 <s10u7>. > Creating boot environment <s10u8>. > Cloning file systems from boot environment <s10u7> to create boot environment <s10u8>. > Creating snapshot for <rpool/ROOT/s10u7> on <rpool/ROOT/s10u7(a)s10u8>. > Creating clone for <rpool/ROOT/s10u7(a)s10u8> on <rpool/ROOT/s10u8>. > Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/s10u8>. > 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. > > # lustatus > Boot Environment Is Active Active Can Copy > Name Complete Now On Reboot Delete Status > -------------------------- -------- ------ --------- ------ ---------- > s10u7 yes yes yes no - > s10u8 yes no no yes - > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 17.6G 115G 38.5K /rpool > rpool/ROOT 8.55G 115G 18K legacy > rpool/ROOT/s10u7 8.41G 115G 8.23G / > rpool/ROOT/s10u7(a)s10u8 187M - 8.15G - > rpool/ROOT/s10u8 140M 115G 8.21G / > rpool/dump 2.00G 115G 2.00G - > rpool/export 3.07G 115G 19K /export > rpool/export/local 3.07G 115G 3.07G /export/local > rpool/swap 4G 119G 16K - > > # luupgrade -u -n s10u8 -s /mnt > 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 </mnt/Solaris_10/Tools/Boot> > Validating the contents of the media </mnt>. > 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>. > Checking for GRUB menu on ABE <s10u8>. > Saving GRUB menu on ABE <s10u8>. > Checking for x86 boot partition on ABE. > Determining packages to install or upgrade for BE <s10u8>. > Performing the operating system upgrade of the BE <s10u8>. > CAUTION: Interrupting this process may leave the boot environment unstable > or unbootable. > ERROR: Installation of the packages from this media of the media failed; > pfinstall returned these diagnostics: > Processing profile > Loading local environment and services > Restoring GRUB menu on ABE <s10u8>. > ABE boot partition backing deleted. > PBE GRUB has no capability information. > PBE GRUB has no versioning information. > ABE GRUB is newer than PBE GRUB. Updating GRUB. > GRUB update was successfull. > Configuring failsafe for system. > Failsafe configuration is complete. > The Solaris upgrade of the boot environment <s10u8> failed. > Installing failsafe > Failsafe install is complete. > > Cheers, > Michael. This is strange, I have three x86 system and a SPARC that I did a U7 to U8 Live Upgrade, no problems with this part, couple of zone issues on one system but that was it. I know this doesn't help your issue other than to know it does work. I think I would delete the BE, patch U7 to be up to date for at least lu and pkgadd packages/patches and try again.
From: mbr on 11 Dec 2009 09:21 Hello, > luupgrade fails with: > > ERROR: Installation of the packages from this media of the media failed; > pfinstall returned these diagnostics: > Processing profile > Loading local environment and services I have initated a case with Sun Service. They gave me the solution, it has something to do with: CR 6415933 "upgrade fails when packages have empty SUNW_LOC fields". Delete all lines with an empty value for "SUNW_LOC" in all /var/sadm/pkg/*/pkginfo files (or in the corresponding /a files of the new BE if it is already created). On my system I modified: # grep SUNW_LOC= /var/sadm/pkg/*/pkginfo /var/sadm/pkg/SUNWsesscj/pkginfo:SUNW_LOC= /var/sadm/pkg/SUNWtfhlc/pkginfo:SUNW_LOC= /var/sadm/pkg/SUNWtfhlj/pkginfo:SUNW_LOC= luupgrade works after this modification. Michael.
First
|
Prev
|
Pages: 1 2 Prev: Solaris SPARC binary Next: Problem Understanding RBAC (Role Based Access) |