02.08.2010 22:11, Tim Gustafson wrote:
Nope. Read
http://www.mail-archive.com/[email protected]/msg103917.html
You need the dd sequence. And you need to do that on exported pool.

So, just to be clear, I need to boot off a USB key (which will then allow me to 
write to ad8 and ad10, my two boot zpool devices), and then:

dd if=/boot/zfsboot of=/dev/ad8 bs=512 count=1
dd if=/boot/zfsboot of=/dev/ad10 bs=512 count=1
dd if=/boot/zfsboot of=/dev/ad8 bs=512 skip=1 seek=1024
dd if=/boot/zfsboot of=/dev/ad10 bs=512 skip=1 seek=1024

And that assumes that I copy the newly-compiled zfsboot to the USB key after 
creating it, correct?

Yes.

PS: I've just recently changed my mind and moved from dedicated vdevs to gpart. This gives possibility of:
 1. Having raw swap partition suitable for swapping/dumping.
 2. Updating bootcode online without loosing uptime.

Just in expense of some kilobytes of disk space.

--
Sphinx of black quartz judge my vow.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to