Problem with hard drives

neba

Dabbler
Joined
Dec 26, 2022
Messages
10
I assembled a NAS from old components. Hard disks are probably 5 or more years old.
I have a couple of questions that are not clear to me.
1. In tab Storage/Disk appears a disk that I don't have "sde" with capacity 0b, I do not know what is it. I have 3 disks for NAS and one SSD for boot.
2. I get some errors, what do they mean. Does that mean I better replace those discs. Are they bad sectors?
3. An error also appears on the disk /dev/sdb/, which I don't see on the list.

The questions are probably elementary, but I like the whole story about TrueNAS so much that I can't wait to get home from work to set it all up.
So far I've only used the Windows platform, I can't even say how many years.
Thank you for understanding.

PS.
I will probably have 1000 more questions. I hope you will have patience for me.
 

Attachments

  • alerts 2.jpg
    alerts 2.jpg
    40.5 KB · Views: 195
  • alerts.jpg
    alerts.jpg
    67.2 KB · Views: 188
  • disk smart.jpg
    disk smart.jpg
    70.5 KB · Views: 160
  • disk.jpg
    disk.jpg
    93.2 KB · Views: 188

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
sda, sdb (which may be the same device as sda), and sdf are all showing bad sectors--a forum search for "offline uncorrectable sector" will find you lots of discussion of this error. sda and sdf are also failing SMART self-tests. It looks like they should both be replaced.
 
Joined
Jun 15, 2022
Messages
674
So....the bad news is you can try a low-level format which, depending on the drive, will reset the errors or fail the drive, but chances are you'll wind up back at the point of having the FAILED drive in not much time. Generally if SMART says it FAILED, it's dead. (SMART is actually overly-generous in declaring the drive OK, as in OK means you can still write/read data to/from the drive)

Here are some links on drive and cable testing via SMART. Test your system and get it really, really stable and reliable before putting TrueNAS on it, otherwise you could wind up with a bag of problems (like building a house without a solid foundation, and really that goes for any operating system on unreliable hardware):



 

neba

Dabbler
Joined
Dec 26, 2022
Messages
10
Thank you both, I use TrueNAS-SCALE-22.12.0,
In System Settings/Shell command "smartctl" can't find, i get error "zsh: command not found: smartctl"
I don't know how to install Smartmontools.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
From the shell type smartctl -a /dev/sdb and it should provide you with a list of information on the drive sdb.

You apparently have a lot of failures and I would recommend you replace those failing hard drives. If you are just evaluating TrueNAS, these failures will be fine, until they are not. In general they should not stop you from creating a pool and storing data, however as media errors develop within the hard drives, more and more data corruption could occur and you will get more warning messages. TrueNAS was really not designed to be used as a way to use old parts, it was designed to be used on a fairly new system, or at least very good parts.
 
Last edited:
Joined
Jun 15, 2022
Messages
674
@joeschmuck makes a good point. On the up side, and why not look at the "up" side, you can test the resiliency of TrueNAS with drives you're pretty well assured are bad and see how it goes in a worst-case scenario (if you have the time). You're not going to hurt your system, you may hang it but as long as you're not letting it run unattended for days it should at worst crash and require a restart. I'd suggest being purposeful, learning as much as you can about SMART reporting while you can, and making the most of the opportunity while the drives last (which may not be long)..

System Rescue has smartctl, so in a pinch you can make a Ventoy jump drive with several ISOs on it and boot the one you want (System Rescue, the TrueNAS installer, a different version of TrueNAS, etc.)
 
Top