`<div dir="ltr">Hi All,<div><br></div><div>Seem like no one have got this issue???</div><div><br></div><div>In that case, how do I work with the BSD loader to check and also to try load the rpool ?</div><div><br></div><div>Thanks & Regards.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 6:44 PM, Lawrence Giam <span dir="ltr"><<a href="mailto:paladinemishakal@gmail.com" target="_blank">paladinemishakal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I have a physical server which I am taking the time to install and test the OmniOS SCE R151022.</div><div><br></div><div>As with the Grub loader and OmniOS R151014, I use the following steps to setup a boot mirror:</div><div>1. Partition a partition on the SSD for the boot mirror.</div><div>2. Do the prtvtoc /dev/rdsk/c2t1d0s0 | fmthard -s - /dev/rdsk/c2t0d0s0</div><div>3. Attach the partition to the rpool : zpool attach -f rpool c2t1d0s0 c2t0d0s0</div><div>4. Wait for the resilver to finish and then reboot the server, ensure it boots ok.</div><div>5. After boots ok, run the installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c2t0d0s0</div><div>6. Reboot and ensure booting is good.</div><div>7. Shutdown and Simulate c2t1d0s0 failure by taking out the SSD.</div><div>8. Power up server and the system still boot to OmniOS but with alert that one of the boot mirror is missing.</div><div><br></div><div>As with the BSD loader and OmniOS R151022, I use the following steps to setup a boot mirror:</div><div><div>1. Partition a partition on the SSD for the boot mirror.</div><div>2. Do the prtvtoc /dev/rdsk/c2t1d0s0 | fmthard -s - /dev/rdsk/c2t0d0s0</div><div>3. Attach the partition to the rpool : zpool attach -f rpool c2t1d0s0 c2t0d0s0</div><div>4. Wait for the resilver to finish and then reboot the server, ensure it boots ok.</div></div><div>5. After boots ok, run bootadm install-bootloader</div><div>6. Reboot and ensure booting is good.</div><div>7. Shutdown and Simulate c2t1d0s0 failure by taking out the SSD.</div><div>8. Power up server and the system boots with the following message:</div><div><div>Loading complete</div><div>Consoles: internal video/keyboard</div><div>BIOS drive C: is disk 0</div><div>BIOS drive D: is disk 1</div><div>ZFS: i/o error - all block copies unavailable</div><div>ZFS: can't read MOS of pool rpool</div><div>ZFS: i/o error - all block copies unavailable</div><div>ZFS: pool tankAAA is not supported</div><div>BIOS 608kB/1983056kB available memory</div><div><br></div><div>illumos/x86 ZFS enabled bootstrap loader, Revision 1.1</div><div>ZFS: can't find pool by guid</div><div>ZFS: can't find pool by guid</div><div>loading CORE EXT words</div><div>loading SEARCH & SEACH-EXT words</div><div>loading John-Hopkins locals</div><div>loading MARKER</div><div>loading ficl O-O extensions</div><div>loading ficl utility classes</div><div>loading ficl string class</div><div><br></div><div>start not found</div><div><br></div><div>Type '?' for a list of commands, 'help' for more detailed help.</div><div>ok</div></div><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------</div><div><br></div><div>I have 2 pools - rpool and tankAAA configured but somehow the BSD loader is</div><div>1. unable to recognise the boot mirror</div><div>2. cannot see the other dataset (eg. tankAAA)</div><div><br></div><div>Next, I shutdown the server and put back the disk and power up the server again and it is able to boot as before normally.</div><div><br></div><div>Is my step to do the boot mirror wrong or is there something that I am missing out?</div><div><br></div><div>Thanks & Regards.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
`