more zfs and mac os X

Finally – fixed annoying missing partition label problem I’ve had. When the box is rebooted (thankfully not a frequent occurrence) it’d not mount the ZFS pool and complain that i’ve not labled the drives (which is sort of true ;) . So break mirror, label and reattach.


zpool detach pool1 disk3s2
diskutil partitiondisk /dev/disk3 GPTFormat ZFS %noformat% 100%
zpool attach pool1 disk2s2 disk3s2


# diskutil partitiondisk /dev/disk2 GPTFormat ZFS %noformat% 100%
Started partitioning on disk disk2
Creating partition map
[ + 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ]
Finished partitioning on disk disk2
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.4 Ti disk2
1: EFI 200.0 Mi disk2s1
2: ZFS 1.4 Ti disk2s2
binky:~ root# zpool attach pool1 disk3s2 disk2s2

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>