Data Recovery - What is next?

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
One reason I moved from appliance NAS to FreeNas was to have more secure data. I am in trouble on my backup Freenas build. It is recently assembled and apparently some of the drives were less than perfect. da4 had a lot of read errors. da0 had a few errors, I replaced da4 and the resilver completed. This drive is still showing up as paired with da7 (The replacement drive). Many other drives are showing as degraded. I had expected to see that change when I resilvered.
The status screen looks like this. when I try to access the share via windows and it show up as empty. But the capacity and free space is shown as expected if the data was all still there. Very scary, but this is the backup so not so much lost. This was/is a Z2 with 10 x 3TB drives. A couple of the drives were is a chassis that had a flakey power supply, I replaced that and the drives stopped disappearing. Vol4 is solid now but Vol3 is in trouble.

What is the next step to recover? . Please help me with what the next step should be. The totally failed drive (unavailable) first or da0? Thanks for helping. I am happy this is my backup but since recovery is not so clear I want to understand so if I ever lose the a drive with the live data vs my backup.
122152033_10223982058157690_1453305163948513752_o.jpg
122152033_10223982058157690_1453305163948513752_o.jpg
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
One reason I moved from appliance NAS to FreeNas was to have more secure data. I am in trouble on my backup Freenas build. It is recently assembled and apparently some of the drives were less than perfect. da4 had a lot of read errors. da0 had a few errors, I replaced da4 and the resilver completed. This drive is still showing up as paired with da7 (The replacement drive). Many other drives are showing as degraded. I had expected to see that change when I resilvered.
The status screen looks like this. when I try to access the share via windows and it show up as empty. But the capacity and free space is shown as expected if the data was all still there. Very scary, but this is the backup so not so much lost. This was/is a Z2 with 10 x 3TB drives. A couple of the drives were is a chassis that had a flakey power supply, I replaced that and the drives stopped disappearing. Vol4 is solid now but Vol3 is in trouble.

What is the next step to recover? . Please help me with what the next step should be. The totally failed drive (unavailable) first or da0? Thanks for helping. I am happy this is my backup but since recovery is not so clear I want to understand so if I ever lose the a drive with the live data vs my backup.
View attachment 42235 View attachment 42235
I was not able to recover. I replaced two drives. and deleted and rebuilt the pool. It was my backup server so not so bad. nervous about recover.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I would have suggested first looking at zpool status -v and then working from the CLI to either detch the non-required disk or return it to being a spare.

Most important is to look at the unavailable disk, which is probably the primary contributor to the disks showing as degraded as there are checksum errors on a couple of disks in addition to one being entirely gone, so there will be potential data loss at that point in some blocks/files.
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
0


NAME STATE READ WRITE CKSUM
Vol3 ONLINE 0 0
gptid/a496e598-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
gptid/a990c90d-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
gptid/ae39d0cd-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
gptid/9ff510ea-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
gptid/b799d5b1-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
gptid/c3400b21-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
gptid/bf800e3e-699e-11ec-90e6-001b21745850 ONLINE 0 0 0
I ran that command on my rebuilt pool. how do I tell which drive is which? These dont look like the serial numbers from the drives?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
glabel status gives you the mapping between disk labels (like da1, or ada1, etc.) and gptids.
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
Where is the decider ring? I searched this community and did not find any obvious reference to tell be how to find the drive serial number from the glabel? Please help me decode
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Storage>Disks will give you the serials
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
Storage>Disks will give you the serials
Thanks. I have pasted the last 4 digits of the serial number on the front of all the drives. I can see from the Storage>Disks how to translate "da1 to MJ0351YNG9K5GA". The glabel does not seem to match the serial number? How to translate "gptid/b799d5b1-699e-11ec-90e6-001b21745850" to a serial number? My recovery problems was I pulled the wrong drive I think,
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
smartctl -a /dev/da1
Will show the serial.

Put that together with the glabel output and you have the whole thing.
 
Top