Re: [OpenIndiana-discuss] failsafe boot howto on older OpenIndiana system
On 25/01/2018 15:39, Reginald Beardsley via openindiana-discuss wrote: I lost the disk on my OI_151a8 system. The swap area was going bad. So I booted from a 2017.10 Hipster DVD, imported the old drive and copied everything to another disk using a USB <-> SATA adaptor. The evolving nature of ZFS makes the traditional miniroot problematic. If the ZFS implementation in the miniroot image is older than the version on disk, it won't help. I've been underwhelmed by the recovery from a failed disk on Solaris 10 u8, however, I think much of the issue there was the HP Z400 BIOS. After migrating from 1 TB to 2 TB disks by replacing individual disks, when I removed the last 1 TB disk it would not boot until I had swapped the appropriate cables. I have a peculiar setup, 3 disks with the root pool in a 3 way mirror in s0 and a RAIDZ1 export pool in s1. Resilvering the RAIDZ1 disks was *very* slow. It would have been quicker to setup the root pool, create the export pool and then zfs receive the export pool image from the mirrored scratch pool where I'd put it before I started the migration. Putting these into /etc/system (from an oi151a9 machine) and reboot should shrink your resilver times (with an affordable IO slowdown for normal applications): set zfs:zfs_resilver_delay = 0 set zfs:zfs_scrub_delay = 0 set zfs:zfs_top_maxinflight = 127 set zfs:zfs_resilver_min_time_ms = 5000 Typical scrub/resilvers are an hour for 150 GB data, compared to nearly a day with the default parameters (which let resilver/scrub only run when nearly nothing runs on the machines). You should also put these into /etc/system to get crash dumps if something ever panics: * disable multithread dump (hangs) set dump_plat_mincpu=0 set dump_bzip2_level=1 set pcplusmp:apic_panic_on_nmi=1 Hope that helps. -- Dr.Udo Grabowski Inst.f.Meteorology & Climate Research IMK-ASF-SAT http://www.imk-asf.kit.edu/english/sat.php KIT - Karlsruhe Institute of Technology http://www.kit.edu Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] failsafe boot howto on older OpenIndiana system
I lost the disk on my OI_151a8 system. The swap area was going bad. So I booted from a 2017.10 Hipster DVD, imported the old drive and copied everything to another disk using a USB <-> SATA adaptor. The evolving nature of ZFS makes the traditional miniroot problematic. If the ZFS implementation in the miniroot image is older than the version on disk, it won't help. I've been underwhelmed by the recovery from a failed disk on Solaris 10 u8, however, I think much of the issue there was the HP Z400 BIOS. After migrating from 1 TB to 2 TB disks by replacing individual disks, when I removed the last 1 TB disk it would not boot until I had swapped the appropriate cables. I have a peculiar setup, 3 disks with the root pool in a 3 way mirror in s0 and a RAIDZ1 export pool in s1. Resilvering the RAIDZ1 disks was *very* slow. It would have been quicker to setup the root pool, create the export pool and then zfs receive the export pool image from the mirrored scratch pool where I'd put it before I started the migration. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] failsafe boot howto on older OpenIndiana system
On January 24, 2018 10:55:21 PM UTC, Jerry Kempwrote: >Had a bad power outage (another story un-into itself) at home, >apparently took multiple drives out on an older OpenIndiana >(pre-Hipster) system. I believe the OS (SSD) drive is OK, and I >believe that I probably forgot to set the zfs fail=continue switch >on the other pools. > >My yahoo-fu must be off, I've been looking at wiki.openindiana.org and >docs.openindiana.org . > >I'm sure I'm just missing the obvious, but can someone share the >details of a failsafe boot for an older, pre-Hipster OpenIndiana >install please? > >Thank you, > >Jerry > >___ >openindiana-discuss mailing list >openindiana-discuss@openindiana.org >https://openindiana.org/mailman/listinfo/openindiana-discuss Alas there is no preinstalled failsafe sine OpenSolaris. I had reasonable success using Firefly as a BE and/or as a miniroot stored in the main BE, and published scripts I use to manage that setup - mostly needed to switch device paths saved into rpool when I dual-boot OI as VM or Physical OS on my laptop. If your system can boot from CD/DVD or USB, I suggest you take the install media, or firefly, or ... and zpool import your pools and perhaps mount the desired rootfs to manage it. For just GRUB menu setup and zpool settings you shouldn't need to even mount rootfs datasets. Jim -- Typos courtesy of K-9 Mail on my Android ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] failsafe boot howto on older OpenIndiana system
thanks for the quick reply Andrew!! On 24/01/18 18:49, Andrew Gabriel wrote: On 24/01/2018 22:55, Jerry Kemp wrote: Had a bad power outage (another story un-into itself) at home, apparently took multiple drives out on an older OpenIndiana (pre-Hipster) system. I believe the OS (SSD) drive is OK, and I believe that I probably forgot to set the zfs fail=continue switch on the other pools. My yahoo-fu must be off, I've been looking at wiki.openindiana.org and docs.openindiana.org . I'm sure I'm just missing the obvious, but can someone share the details of a failsafe boot for an older, pre-Hipster OpenIndiana install please? At the grub menu, move to the BE you want to boot and type 'e' (for edit). Use cursor keys and add "-m milestone=none" to the boot command line options. Come out of edit mode (can't remember how off-hand, but it probably tells you on bottom of screen, maybe Esc or Return). Type 'b' to boot. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] failsafe boot howto on older OpenIndiana system
On 24/01/2018 22:55, Jerry Kemp wrote: Had a bad power outage (another story un-into itself) at home, apparently took multiple drives out on an older OpenIndiana (pre-Hipster) system. I believe the OS (SSD) drive is OK, and I believe that I probably forgot to set the zfs fail=continue switch on the other pools. My yahoo-fu must be off, I've been looking at wiki.openindiana.org and docs.openindiana.org . I'm sure I'm just missing the obvious, but can someone share the details of a failsafe boot for an older, pre-Hipster OpenIndiana install please? At the grub menu, move to the BE you want to boot and type 'e' (for edit). Use cursor keys and add "-m milestone=none" to the boot command line options. Come out of edit mode (can't remember how off-hand, but it probably tells you on bottom of screen, maybe Esc or Return). Type 'b' to boot. -- Andrew ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] failsafe boot howto on older OpenIndiana system
Had a bad power outage (another story un-into itself) at home, apparently took multiple drives out on an older OpenIndiana (pre-Hipster) system. I believe the OS (SSD) drive is OK, and I believe that I probably forgot to set the zfs fail=continue switch on the other pools. My yahoo-fu must be off, I've been looking at wiki.openindiana.org and docs.openindiana.org . I'm sure I'm just missing the obvious, but can someone share the details of a failsafe boot for an older, pre-Hipster OpenIndiana install please? Thank you, Jerry ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss