Yeah I forgot to do that when I added the new mirror...
I just formatted the harddrives and tried to add them.
So in the furture:Always test first with -n. If it does not work then, there is a problem, right?
For my new pool that I will have to create;Is it smarter to have 2 pools of 4 drives with 2x20TB & 1x20TB 1x14TB mirrored or to have 1 pool with all 8 drives? (just for scrubbing this will take ages)
Is it smart to mix 14tb with 20tb harddrives even? because the 2 new hdds i tried to add were 14tb, the others are all 20tb.
If I am setting up a new pool and format the drive, how do I add the new drives as mirrors with the serialnumber as the diskname?
The drives that were part of the old pool; should I format them as APFS and then use command sudo ###diskutil partitiondisk disk8 GPT 'Free Space' Empty 100%### prior to setting up a new pool with them?
Backup:How do I set up a backup that stores the pool file (where the whole configuration is saved) every day so in case something like this happens I can just reset the pool to the previous day?
Anything else I am missing?
EDIT:I just formatted both 14TB in Windows to exfat, brought it back to the thunderbay, formatted it to APFS and then used your command above.
now my drives look like this:
/dev/disk6 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *14.0 TB disk6
1: EFI EFI 209.7 MB disk6s1
(free space) 14.0 TB -
/dev/disk7 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *14.0 TB disk7
1: EFI EFI 209.7 MB disk7s1
(free space) 14.0 TB -
/dev/disk8 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *20.0 TB disk8
1: ZFS tank 20.0 TB disk8s1
2: 6A945A3B-1DD2-11B2-99A6-080020736631 8.4 MB disk8s9
/dev/disk9 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *20.0 TB disk9
1: ZFS tank 20.0 TB disk9s1
2: 6A945A3B-1DD2-11B2-99A6-080020736631 8.4 MB disk9s9
/dev/disk10 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *20.0 TB disk10
1: ZFS tank 20.0 TB disk10s1
2: 6A945A3B-1DD2-11B2-99A6-080020736631 8.4 MB disk10s9
/dev/disk11 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *20.0 TB disk11
1: ZFS tank 20.0 TB disk11s1
2: 6A945A3B-1DD2-11B2-99A6-080020736631 8.4 MB disk11s9
the first two are the new, 14TB drives, the rest are the 20TB in the pool.
My pool looks like this:
pool: tank
id: 2076556828109525209
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see:
https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-3C config:
tank UNAVAIL insufficient replicas
mirror-0 ONLINE
media-430F38EF-905F-E841-86A0-F4F813B4BD0C ONLINE
media-69F261D0-FC13-234B-8012-41AE575BA769 ONLINE
mirror-1 ONLINE
media-FD527821-CC7B-FA46-9569-D19CF2196ECC ONLINE
media-3F2F7D1C-3EE5-064B-B7E0-6BCECC79F89A ONLINE
mirror-2 UNAVAIL insufficient replicas
disk11 UNAVAIL cannot open
disk12 UNAVAIL cannot open
I had added the new two drives as disk11 and disk12. Meanwhile the disknames in diskutil changed. My new drives are now disk6 and disk7. could this be the issue that the pool cannot be imported? Can I rename them to disk11 and disk12? (Problem is that there now already is a disk11 in the pool...)