Hi,
I'm running FreeNAS. I have a raidz1 configuration. In an attempt to increase my storage, I put one disk "offline" (I now know NOT to do that). I then removed that I thought was the "offline" disk, inserted a new disk and formatted the wrong disk.
I now have one disk OFFLINE and one disk UNKNOWN. The UNKNOWN disk was erased with a quick format.
Via the command line, i tried to "gpart recover ada1". I am pretty sure this is the risk disk because when I ran "gpart show -l", ada1 had a "40" rather than a "34" like all of the other disks.
when I ran the recover command, it said "ada1 recovery is not needed".
3 of the disks basically look like this
except, ada3 reads ada0, ada2 or ada3 (depending on the disk)
1 of the disks looks like this
In particular, ada2 looks very similar, except for the "34" and the "40" in the first row.
I have not written anything to the NAS since I started this process.
So, I think I need to "recover" ada1. Basically, I have 3 disks intact, one OFFLINE and one quick-formatted.
If I type
Any advice would be appreciated.
Thank you
I'm running FreeNAS. I have a raidz1 configuration. In an attempt to increase my storage, I put one disk "offline" (I now know NOT to do that). I then removed that I thought was the "offline" disk, inserted a new disk and formatted the wrong disk.
I now have one disk OFFLINE and one disk UNKNOWN. The UNKNOWN disk was erased with a quick format.
Via the command line, i tried to "gpart recover ada1". I am pretty sure this is the risk disk because when I ran "gpart show -l", ada1 had a "40" rather than a "34" like all of the other disks.
when I ran the recover command, it said "ada1 recovery is not needed".
3 of the disks basically look like this
Code:
=> 34 5860533101 ada3 GPT (2.7T)
34 94 -free- (47k)
128 419304 1 (null) (2.0G)
4194432 5856338696 2 (null) (2.7T)
5860533128 7 -free- (3.5K)
1 of the disks looks like this
Code:
=> 40 5860533088 ada1 GPT (2.7T)
40 88 -free- (44k)
128 419304 1 (null) (2.0G)
4194432 5856338696 2 (null) (2.7T)
5860533128 7 -free- (3.5K)
I have not written anything to the NAS since I started this process.
So, I think I need to "recover" ada1. Basically, I have 3 disks intact, one OFFLINE and one quick-formatted.
If I type
zpool import
, it still recognizes my pool HPNAS, but, I can't do anything with it. It says HPNAS does not exist.
Code:
root@freenas:~ # zpool import
pool: HPNAS
id: 10342560618609615770
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:
HPNAS UNAVAIL insufficient replicas
raidz1-0 UNAVAIL insufficient replicas
1056674614550561172 OFFLINE
17914818884535021667 UNAVAIL cannot open
gptid/b79788f7-7b83-11e1-bd89-e83935209a ONLINE
gptid/1c8ff3ea-5535-11e5-abbc-e83935209a ONLINE
Thank you