I have been building a new box and have run across a labeling change from what I'm used to seeing in a typical ZFS on root mirror install. This is what I've come to expect:
What I have now looks like this:
The point is that I'm missing the "mirror-0" line. I had been messing around with zpool commands to better know how to manage disks. df still shows the space of a single disk so this is a mirror, right? ada0p3, and ada1p3 mirrored for zroot, with ada2p3 as a hot spare available to zroot only, right?
My plan is to add three more disks in a similar setup (ada3, ada4, spare ada5) for a separate pool. I believe this can this be done with a mount point "under" zroot if desired (zpool create zroot/tub ada3 ada4 spare ada5). zroot is 1TB drives and the other three for 'tub' are 2TB. I'm trying to avoid the system not grabbing a spare because the one it wants is too small for the pool needing it. Perhaps I'm just placing too much importance on the indentation in the typical install's 'zpool status' output. Plus the current motherboard has only 3 SATA ports so I'm juggling disks a lot and using zpool commands to set things up until the new MB arrives.
Code:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
spares
ada2p3 AVAIL
Code:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
spares
ada2p3 AVAIL
My plan is to add three more disks in a similar setup (ada3, ada4, spare ada5) for a separate pool. I believe this can this be done with a mount point "under" zroot if desired (zpool create zroot/tub ada3 ada4 spare ada5). zroot is 1TB drives and the other three for 'tub' are 2TB. I'm trying to avoid the system not grabbing a spare because the one it wants is too small for the pool needing it. Perhaps I'm just placing too much importance on the indentation in the typical install's 'zpool status' output. Plus the current motherboard has only 3 SATA ports so I'm juggling disks a lot and using zpool commands to set things up until the new MB arrives.