Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
Well, I still cannot make a backup of my BE. For now the system works. I think I’ll just have to do a fresh install and reimport my storage pool when I really need to upgrade. On 11/29/16, 7:30 PM, "Dan McDonald" wrote: You may need to construct your menu.lst yourself, then. Here's a few sample entries. Note the up-front globals (like default entry), followed by specific entries. HOPEFULLY that's all you have to do. Otherwise, you may need to re-run installgrub(1M). Dan === # default menu entry to boot default 1 # # menu timeout in second before default OS is booted # set to -1 to wait for user input timeout 30 # # To enable grub serial console to ttya uncomment the following lines # and comment out the splashimage line below # WARNING: do not enable grub serial console when BIOS console serial # redirection is active. # serial --unit=0 --speed=9600 # terminal serial # # Uncomment the following line to enable GRUB splashimage on console splashimage /boot/grub/splash.xpm.gz foreground F7FBFF background 33 # # To chainload another OS # # title Another OS # root (hd,) # chainloader +1 # # To chainload a Solaris release not based on GRUB: # # title Solaris 9 # root (hd,) # chainloader +1 # makeactive # # To load a Solaris instance based on GRUB: # # title Solaris # bootfs /ROOT/ # kernel /platform/i86pc/kernel/amd64/unix # module /platform/i86pc/amd64/boot_archive # # To override Solaris boot args (see kernel(1M)), console device and # properties set via eeprom(1M) edit the "kernel" line to: # # kernel /platform/i86pc/kernel/amd64/unix -B prop=value,... # # # title r151021-bootstrap bootfs rpool/ROOT/r151021-bootstrap kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS module$ /platform/i86pc/amd64/boot_archive # End of LIBBE entry = title r151021-bootstrap-backup-1 bootfs rpool/ROOT/r151021-bootstrap-backup-1 kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS module$ /platform/i86pc/amd64/boot_archive # End of LIBBE entry = ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
Install grub did not fix the issue. Its booting up with temp BE’s everytime. This issue is really weird. I noticed that the zpool thinks that one of its disks are c6t0d0s0 but its actually using c5t0d0s0 could this be related? Thanks for your help this evening. On 11/29/16, 7:30 PM, "Dan McDonald" wrote: You may need to construct your menu.lst yourself, then. Here's a few sample entries. Note the up-front globals (like default entry), followed by specific entries. HOPEFULLY that's all you have to do. Otherwise, you may need to re-run installgrub(1M). Dan === # default menu entry to boot default 1 # # menu timeout in second before default OS is booted # set to -1 to wait for user input timeout 30 # # To enable grub serial console to ttya uncomment the following lines # and comment out the splashimage line below # WARNING: do not enable grub serial console when BIOS console serial # redirection is active. # serial --unit=0 --speed=9600 # terminal serial # # Uncomment the following line to enable GRUB splashimage on console splashimage /boot/grub/splash.xpm.gz foreground F7FBFF background 33 # # To chainload another OS # # title Another OS # root (hd,) # chainloader +1 # # To chainload a Solaris release not based on GRUB: # # title Solaris 9 # root (hd,) # chainloader +1 # makeactive # # To load a Solaris instance based on GRUB: # # title Solaris # bootfs /ROOT/ # kernel /platform/i86pc/kernel/amd64/unix # module /platform/i86pc/amd64/boot_archive # # To override Solaris boot args (see kernel(1M)), console device and # properties set via eeprom(1M) edit the "kernel" line to: # # kernel /platform/i86pc/kernel/amd64/unix -B prop=value,... # # # title r151021-bootstrap bootfs rpool/ROOT/r151021-bootstrap kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS module$ /platform/i86pc/amd64/boot_archive # End of LIBBE entry = title r151021-bootstrap-backup-1 bootfs rpool/ROOT/r151021-bootstrap-backup-1 kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS module$ /platform/i86pc/amd64/boot_archive # End of LIBBE entry = ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
You may need to construct your menu.lst yourself, then. Here's a few sample entries. Note the up-front globals (like default entry), followed by specific entries. HOPEFULLY that's all you have to do. Otherwise, you may need to re-run installgrub(1M). Dan === # default menu entry to boot default 1 # # menu timeout in second before default OS is booted # set to -1 to wait for user input timeout 30 # # To enable grub serial console to ttya uncomment the following lines # and comment out the splashimage line below # WARNING: do not enable grub serial console when BIOS console serial # redirection is active. # serial --unit=0 --speed=9600 # terminal serial # # Uncomment the following line to enable GRUB splashimage on console splashimage /boot/grub/splash.xpm.gz foreground F7FBFF background 33 # # To chainload another OS # # title Another OS # root (hd,) # chainloader +1 # # To chainload a Solaris release not based on GRUB: # # title Solaris 9 # root (hd,) # chainloader +1 # makeactive # # To load a Solaris instance based on GRUB: # # title Solaris # bootfs /ROOT/ # kernel /platform/i86pc/kernel/amd64/unix # module /platform/i86pc/amd64/boot_archive # # To override Solaris boot args (see kernel(1M)), console device and # properties set via eeprom(1M) edit the "kernel" line to: # # kernel /platform/i86pc/kernel/amd64/unix -B prop=value,... # # # title r151021-bootstrap bootfs rpool/ROOT/r151021-bootstrap kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS module$ /platform/i86pc/amd64/boot_archive # End of LIBBE entry = title r151021-bootstrap-backup-1 bootfs rpool/ROOT/r151021-bootstrap-backup-1 kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS module$ /platform/i86pc/amd64/boot_archive # End of LIBBE entry = ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
So that’s the final caveat here lol…bootadm says that the menu file is at that path but that file structure doesn’t actually exist. Been racking my brain on this most of the afternoon. ls /tmp total 87 drwxrwxrwt 21 root sys1536 Nov 29 18:54 . drwxr-xr-x 27 root root 31 Nov 29 18:20 .. drwx-- 2 root root117 Nov 29 18:06 .be.55aiuc drwx-- 2 root root117 Nov 29 18:06 .be.65aiuc drwx-- 2 root root117 Nov 29 18:54 .be.ETaWmd drwxr-xr-x 27 root root 31 Nov 29 18:20 .be.FTaWmd drwx-- 2 root root117 Nov 29 18:31 .be.Guaacd drwx-- 2 root root117 Nov 29 18:31 .be.Huaacd drwx-- 2 root root117 Nov 29 18:04 .be.MMaWrc drwx-- 2 root root117 Nov 29 18:04 .be.NMaWrc drwx-- 2 root root117 Nov 29 18:15 .be.YGayKc drwx-- 2 root root117 Nov 29 18:15 .be.ZGayKc drwx-- 2 root root117 Nov 29 18:54 .be.hvaGnd drwx-- 2 root root117 Nov 29 18:54 .be.ivaGnd drwx-- 2 root root117 Nov 29 18:13 .be.kdaGIc drwx-- 2 root root117 Nov 29 18:13 .be.ldaGIc drwx-- 2 jbarfield adm 184 Nov 29 18:31 ssh-XXRhayad drwx-- 2 root root117 Nov 29 18:06 tmp6I1NQ8 drwx-- 2 root root117 Nov 29 18:04 tmp7ZYdY_ drwx-- 2 root root117 Nov 29 18:13 tmpDp50Ty drwx-- 2 root root117 Nov 29 18:31 tmpVgEUzA -rw-rw-r-- 1 zabbixzabbix 1234 Nov 29 19:03 zabbix_agentd.log -rw-rw-r-- 1 zabbixzabbix3 Nov 29 17:57 zabbix_agentd.pid On 11/29/16, 7:20 PM, "Dan McDonald" wrote: Hmmm, try re-writing your rpool's menu.lst: cp /tmp/bootadm_mnt_zfs_legacy.1603/boot/grub/menu.lst /rpool/boot/grub/. See if that helps out. Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
Hmmm, try re-writing your rpool's menu.lst: cp /tmp/bootadm_mnt_zfs_legacy.1603/boot/grub/menu.lst /rpool/boot/grub/. See if that helps out. Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
Thanks Dan, One issue…I can’t backup my BE for a like reason. beadm create omnios-backup2 Unable to create omnios-backup2. Missing boot menu file. On 11/29/16, 7:11 PM, "Dan McDonald" wrote: > On Nov 29, 2016, at 8:06 PM, John Barfield wrote: > > Hi Dan, > > I hit a bad key combination and outlook sent me email prematurely. > > I’d like to update to the latest stable release. The old nfs lockd bug is on my last nerve. Oh my... I also just realized something... you're REALLY (r151012) old. We now require signatures for our packages. I'd HIGHLY recommend as an intermediate step updating to r151014 (still the LTS release) first. Here's the how-to guide which includes rewhacking your package policy: https://omnios.omniti.com/wiki.php/Upgrade_to_r151014#PerformingtheUpgradeallothercasesincludinglipkgifyouwish Start there, including that you back up your current be first: beadm create backup-r151012-be THEN you can upgrade to the latest stable -- NOTE you have to switch your r151014 from SunSSH to OpenSSH first: https://omnios.omniti.com/wiki.php/Upgrade_to_r151020 Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
> On Nov 29, 2016, at 8:06 PM, John Barfield wrote: > > Hi Dan, > > I hit a bad key combination and outlook sent me email prematurely. > > I’d like to update to the latest stable release. The old nfs lockd bug is on > my last nerve. Oh my... I also just realized something... you're REALLY (r151012) old. We now require signatures for our packages. I'd HIGHLY recommend as an intermediate step updating to r151014 (still the LTS release) first. Here's the how-to guide which includes rewhacking your package policy: https://omnios.omniti.com/wiki.php/Upgrade_to_r151014#PerformingtheUpgradeallothercasesincludinglipkgifyouwish Start there, including that you back up your current be first: beadm create backup-r151012-be THEN you can upgrade to the latest stable -- NOTE you have to switch your r151014 from SunSSH to OpenSSH first: https://omnios.omniti.com/wiki.php/Upgrade_to_r151020 Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
pkg On 11/29/16, 7:00 PM, "Dan McDonald" wrote: > On Nov 29, 2016, at 7:51 PM, John Barfield wrote: > > Good evening, > > I’m trying to upgrade an omnios 151012 and I keep getting errors from pkg src: > > WARNING: The boot environment being modified is not the active one. Changes > made will not be reflected on the next boot. > > If I try to activate the “omnios” be it says: > Unable to activate omnios. > Missing boot menu file. > > If I look at the bootadm list-menu command it shows: > pkgsrc? Or pkg(1)? You may wish to try "installgrub" again (I'd read its man page first) to make sure what's there. Also, what does "beadm list" say? To what release are you trying to upgrade? Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
Hi Dan, I hit a bad key combination and outlook sent me email prematurely. I’d like to update to the latest stable release. The old nfs lockd bug is on my last nerve. This box doesn’t have any active production zones any longer its only acting as SAN/NAS. Thanks for your help and quick response. <---→ Beadm list BE Active Mountpoint Space Policy Created omnios N / 4.65G static 2015-03-18 12:08 omnios-backup-1 - - 56.0K static 2015-03-18 12:11 omniosvar - - 25.0K static 2015-03-18 12:08 beadm list -H omnios;3c9ed32a-97d6-edef-a5db-940da597c20a;N;/;4989154816;static;1426698520 omnios-backup-1;8e73df93-0162-e502-8a52-f3eb2f87f72f;;;57344;static;1426698697 omniosvar;(null);;;25600;static;1426698520 bootadm list-menu the location for the active GRUB menu is: /tmp/bootadm_mnt_zfs_legacy.1603/boot/grub/menu.lst default 0 timeout 30 0 OmniOS v11 r151012 1 omniosvar 2 omnios-backup-1 On 11/29/16, 7:00 PM, "Dan McDonald" wrote: > On Nov 29, 2016, at 7:51 PM, John Barfield wrote: > > Good evening, > > I’m trying to upgrade an omnios 151012 and I keep getting errors from pkg src: > > WARNING: The boot environment being modified is not the active one. Changes > made will not be reflected on the next boot. > > If I try to activate the “omnios” be it says: > Unable to activate omnios. > Missing boot menu file. > > If I look at the bootadm list-menu command it shows: > pkgsrc? Or pkg(1)? You may wish to try "installgrub" again (I'd read its man page first) to make sure what's there. Also, what does "beadm list" say? To what release are you trying to upgrade? Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] boot environment mounting on /tmp/tmp.x
> On Nov 29, 2016, at 7:51 PM, John Barfield wrote: > > Good evening, > > I’m trying to upgrade an omnios 151012 and I keep getting errors from pkg src: > > WARNING: The boot environment being modified is not the active one. Changes > made will not be reflected on the next boot. > > If I try to activate the “omnios” be it says: > Unable to activate omnios. > Missing boot menu file. > > If I look at the bootadm list-menu command it shows: > pkgsrc? Or pkg(1)? You may wish to try "installgrub" again (I'd read its man page first) to make sure what's there. Also, what does "beadm list" say? To what release are you trying to upgrade? Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss