Damaged Drive

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
Hello,
I have one pool in my machine, 1tb and 2tb.
I have received a message about 8 offline uncorrectable sectors.
I switched the machine off as I was worried about losing data
Switched it back on - no access.
Switched it off again.

Can I remove the HDD's, plug into my laptop to salvage the files?

Lesson learnt - I'll buy two identical HDD's and setup a backup system
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Can I remove the HDD's, plug into my laptop to salvage the files?
That would depend in part on what OS your laptop is running, but probably not. But it's possible the pool could be recovered on your NAS.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
If 1 drive out of a 2 drive Mirror pool failed, the pool would likely not import automatically.

Simply bring up the NAS with both drives, and manually run this command;
zpool import
Then post the results in code tags here for us to help you further.

This will tell us if your pool appears importable. And potentially which drive has failed.


A great many new users to TrueNAS & ZFS run across this, so don't panic, yet. If the 2 way Mirror still has a functioning drive, you likely have not lost any data.
 

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
If 1 drive out of a 2 drive Mirror pool failed, the pool would likely not import automatically.

Simply bring up the NAS with both drives, and manually run this command;
zpool import
Then post the results in code tags here for us to help you further.

This will tell us if your pool appears importable. And potentially which drive has failed.


A great many new users to TrueNAS & ZFS run across this, so don't panic, yet. If the 2 way Mirror still has a functioning drive, you likely have not lost any data.
Hello,

Thank you for your reply.

This is going to be a dumb question, but where would I type “zpool import”? I’ve tried it in 6) open TrueNas CLI Shell, but to no avail.

Thanks again
 

Attachments

  • IMG_1043.jpeg
    IMG_1043.jpeg
    213.6 KB · Views: 151

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
It'd be at the Linux shell. Damn iX for making this more confusing than it already was.
Thanks for the reply.

Somehow after rebooting it a few times (trying to enter the command), the drives are showing up in the SMB share on windows. The plan is to copy the files to a hdd (non-nas) to salvage the data. When I can buy two WD Red Plus NAS 14tb, i’ll install them and copy everything back (i’m assuming that a failed drive doesnt mean the data itself would corrupt another drive?).

I’ve been thinking about the drive failures. They were two “shucked” hdd drives. I’m aware that this is frowned upon and not advisable. As this my first NAS build I thought I’d use these drives to see if the videos and music would play on plex/could be accessed on my laptop/ios devices (they did), and to confirm whether my build was successful. As the media played I thought nothing of it.

I’ve noticed I had the following notifications:

IMG_1035.jpeg
IMG_1036.jpeg


Upon reflection, were these notifications an indication that there was a flaw in my build?

These are the components:
 

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
Sorry, post was posted before I could finish.

The components are as follows:


FRACTAL DESIGN Node 804 Mini/micro ITX (black/Window)
ASUS PRIME Z690M-PLUS D4 Intel Z690 LGA 1700 micro ATX
Intel Core i5-12600K 12th Generation Desktop Processor
Crucial P5 Plus 500GB PCIe M.2 2280SS SSD
16GB DDR4-2666 UDIMM 1.2V CL19
Noctua NH-U12S redux, High Performance CPU Cooler with NF-P12 redux-1700 PWM 120mm fan (Grey)
EVGA 500 GD 500W Power Supply 80 Plus Gold

Thanks again
 

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
Hello again. I’ve typed zpool import and this is the screen. I’m guessing there’s nothing that can be done?
 

Attachments

  • 199B8C45-D000-4FD9-9881-EE3A303999E8.jpeg
    199B8C45-D000-4FD9-9881-EE3A303999E8.jpeg
    520.5 KB · Views: 132

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Unless you have a straight forward problem with cabling, power or host SATA port, their appears to be nothing attached that ZFS can recognize.

While extremely rare in a proper configuration, this can happen with:
  • hardware RAID controllers
  • less tested SATA controllers
  • budget, (aka cheap), cabling
  • bad power supplies
  • old, desktop disks
  • And out right over-writing them with MS-Windows or other method
If you are positive that your disks are wired correctly, and both show up with other software tools, then ZFS is telling you they do not have a ZFS pool on them.
 

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
Unless you have a straight forward problem with cabling, power or host SATA port, their appears to be nothing attached that ZFS can recognize.

While extremely rare in a proper configuration, this can happen with:
  • hardware RAID controllers
  • less tested SATA controllers
  • budget, (aka cheap), cabling
  • bad power supplies
  • old, desktop disks
  • And out right over-writing them with MS-Windows or other method
If you are positive that your disks are wired correctly, and both show up with other software tools, then ZFS is telling you they do not have a ZFS pool on them.
Thank you for your detailed reply.

I think I will accept defeat with these two drives. I’ll save up some Wd Red Plus NAS drives and start from scratch.
Should I try to test the hardware to see if there other glitches on the system?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Yes, testing the system can help. You can run the memtest from boot time menu. Then look into a Linux test image. I vaguely recall their being a special Linux distro for the purpose of running everything at maximum throughput.
 
Last edited:

derec85

Dabbler
Joined
Jan 22, 2023
Messages
26
Yes, testing the system can help. You can run the memtest form boot time menu. Then look into a Linux test image. I vaguely recall their being a special Linux distro for the purpose of running everything at maximum throughput.
Thank you once again for your prompt reply. As this is my first build, it is the ultimate learning curve for me and all the assistance is appreciated.

I have removed the drives from the system. Is it worth me running the tests you've mentioned without the drives in? I'm consious of all the unscheduled reboots that occured when the drives were in the system.

Thanks again
 
Top