[OmniOS-discuss] Fixing a BSD boot mirror

John D Groenveld jdg117 at elvis.arl.psu.edu
Mon Aug 28 19:03:39 UTC 2017


In message <65DC5816D4BEE043885A89FD54E273FC78138642 at MAIL101.Ellipseinc.com>, R
ichard Jahnel writes:
>So the question of the day is: What is the command sequence for replacing a dr
>ive in a BSD loader rpool mirror?

# prtvtoc /dev/rdsk/c0t0d1s2 | fmthard -s - /dev/rdsk/c0t1d1s2
# zpool attach rpool c0t0d1s0 c0t1d1s0
# installboot -m /boot/pmbr /boot/gptzfsboot /dev/rdsk/c0t1d1s0

John
groenveld at acm.org


More information about the OmniOS-discuss mailing list