Hi everybody.
Looks to me like I did a major mistake, here's the story:
I have 5x 3TB and 5x 2TB. The 5x 3TB drives made up a zpool called vol0 and were in RAIDZ1.
Then I attached the 5x 2TB disks to it in a second RAIDZ1. Since I made this from the FreeNAS GUI, it created a partition on each disk and used this for the RAIDZ.
I didn't like that and replaced them one by one with the drive itself and let it resilver. No problem yet.
Now, when I rebooted the machine, it gives me these errors for each of the 2TB drives:
and:
So importing doesn't work:
Correct me if I'm wrong, but to me it looks like my machine tries to recover a GPT table which shouldn't be there and therefore is not able to attach the complete drive (ada3 for example) to my RAIDZ1.
If this is correct, is there a way to tell it not to use the GPT table?
If there is no other possibility, is it possible to recover the data from raidz1-0? There weren't many writes on vol0 since I added the raidz1-1 to it.
Thanks a lot in advance!
Looks to me like I did a major mistake, here's the story:
I have 5x 3TB and 5x 2TB. The 5x 3TB drives made up a zpool called vol0 and were in RAIDZ1.
Then I attached the 5x 2TB disks to it in a second RAIDZ1. Since I made this from the FreeNAS GUI, it created a partition on each disk and used this for the RAIDZ.
I didn't like that and replaced them one by one with the drive itself and let it resilver. No problem yet.
Now, when I rebooted the machine, it gives me these errors for each of the 2TB drives:
Code:
GEOM: ada3: the primary GPT table is corrupt or invalid.
GEOM: ada3: using the secondary instead -- recovery strongly advised.
and:
Code:
ZFS WARNING: Unable to attach to ada3.
So importing doesn't work:
Code:
[CMD][dh@pia] /# zpool import[/cmd]
pool: vol0
id: 8459871642955047970
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: [url]http://illumos.org/msg/ZFS-8000-3C[/url]
config:
vol0 UNAVAIL insufficient replicas
raidz1-0 ONLINE
ada5 ONLINE
ada4 ONLINE
ada0 ONLINE
ada1 ONLINE
ada2 ONLINE
raidz1-1 UNAVAIL insufficient replicas
13270970952839860995 UNAVAIL cannot open
2118572373763410130 UNAVAIL cannot open
18185913030426875065 UNAVAIL cannot open
12770493309709890490 UNAVAIL cannot open
9355264882251945064 UNAVAIL cannot open
Correct me if I'm wrong, but to me it looks like my machine tries to recover a GPT table which shouldn't be there and therefore is not able to attach the complete drive (ada3 for example) to my RAIDZ1.
If this is correct, is there a way to tell it not to use the GPT table?
If there is no other possibility, is it possible to recover the data from raidz1-0? There weren't many writes on vol0 since I added the raidz1-1 to it.
Thanks a lot in advance!