Re: ZFS partitioning
You may not want to mirror the boot block. That way you can update one boot block, test it before copying the other. If the new boot block fails to boot, the BIOS should go to the next hard drive and boot the mirror. I don't know if it's possible to detect which drive you're actually booting from to know for sure it worked though. A back up is better than a mirror. With a mirror, you're more likely to fail to boot. On 5/12/2013 12:26 PM, Paul Kraus wrote: On May 12, 2013, at 9:48 AM, Outback Dingo wrote: notice my boot pool is a mirror, so disk 2 is identical to disk1, so if disk1 ever dies, logically i could boot from disk two The zpool mirror does not mirror the bootblock. You need to manually add that to all the drives you may want to boot from. pool: tank state: ONLINE scan: scrub repaired 0 in 0h0m with 0 errors on Sat May 11 13:20:41 2013 config: NAMESTATE READ WRITE CKSUM tankONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da34p3 ONLINE 0 0 0 da35p3 ONLINE 0 0 0 errors: No known data errors -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company ___ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]" ___ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
Re: ZFS partitioning
On Sun, May 12, 2013 at 1:26 PM, Paul Kraus wrote: > On May 12, 2013, at 9:48 AM, Outback Dingo wrote: > > > notice my boot pool is a mirror, so disk 2 is identical to disk1, so if > > disk1 ever dies, logically i could boot from disk two > > The zpool mirror does not mirror the bootblock. You need to > manually add that to all the drives you may want to boot from. > > yeah i know ive done both bootblocks, Thanks though > > pool: tank > > state: ONLINE > > scan: scrub repaired 0 in 0h0m with 0 errors on Sat May 11 13:20:41 2013 > > config: > > > >NAMESTATE READ WRITE CKSUM > >tankONLINE 0 0 0 > > mirror-0 ONLINE 0 0 0 > >da34p3 ONLINE 0 0 0 > >da35p3 ONLINE 0 0 0 > > > > errors: No known data errors > > -- > Paul Kraus > Deputy Technical Director, LoneStarCon 3 > Sound Coordinator, Schenectady Light Opera Company > > ___ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
Re: ZFS partitioning
On May 12, 2013, at 9:48 AM, Outback Dingo wrote: > notice my boot pool is a mirror, so disk 2 is identical to disk1, so if > disk1 ever dies, logically i could boot from disk two The zpool mirror does not mirror the bootblock. You need to manually add that to all the drives you may want to boot from. > pool: tank > state: ONLINE > scan: scrub repaired 0 in 0h0m with 0 errors on Sat May 11 13:20:41 2013 > config: > >NAMESTATE READ WRITE CKSUM >tankONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 >da34p3 ONLINE 0 0 0 >da35p3 ONLINE 0 0 0 > > errors: No known data errors -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company ___ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
Re: ZFS partitioning
notice my boot pool is a mirror, so disk 2 is identical to disk1, so if disk1 ever dies, logically i could boot from disk two pool: tank state: ONLINE scan: scrub repaired 0 in 0h0m with 0 errors on Sat May 11 13:20:41 2013 config: NAMESTATE READ WRITE CKSUM tankONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da34p3 ONLINE 0 0 0 da35p3 ONLINE 0 0 0 errors: No known data errors On Sun, May 12, 2013 at 9:44 AM, Terje Elde wrote: > On 12. mai 2013, at 15:21, Roland van Laar wrote: > > > I see that all the disks get the same partitions, including swap and > boot? > > Why is that? And do I need those 5 boot and swap partitions? > > You don't need them, but there's a good chance you'll want them. > > Long story, short version: with raidz and mirror, you survive the loss of > a disk. If you put boot on one, and that's the disk you loose, you're up > shit creek, having chosen not to bring a paddle. ;) > > It's also not a lot to loose by putting it on all of them. > > For swap, there's also performance-reasons. > > Terje > > ___ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [email protected]" > ___ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
Re: ZFS partitioning
On 12. mai 2013, at 15:21, Roland van Laar wrote: > I see that all the disks get the same partitions, including swap and boot? > Why is that? And do I need those 5 boot and swap partitions? You don't need them, but there's a good chance you'll want them. Long story, short version: with raidz and mirror, you survive the loss of a disk. If you put boot on one, and that's the disk you loose, you're up shit creek, having chosen not to bring a paddle. ;) It's also not a lot to loose by putting it on all of them. For swap, there's also performance-reasons. Terje ___ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
