this post was submitted on 29 Nov 2023
1 points (100.0% liked)

Data Hoarder

170 readers
1 users here now

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

founded 1 year ago
MODERATORS
 

I got my 10x HDDs delivered from ServerPartDeals, they're Dell branded Exos drives, Seller Refurbished

I know one of the first things I'm supposed to do is make sure they're configured to run at 4K, not 512, so I'll be checking that.

I'll also plug them all into a HDD dock and read the SMART data off them.

Afterwards, I remember reading a guide (here I believe) about how to test all the drives. There was a command line tool to check the drive for errors.

Does anyone know what I'm talking about? I remember I had to run a plugin on the computer to make sure I could run multiple instances of it.

Alternately, I intend to spin up a TrueNAS instance for this, does TrueNAS have any built in tool to fully check the drives before I create any pools?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 11 months ago (1 children)

when I get new hdds, i open a tmux instance with one pane per hdd, then i do:

  • smartctl -t short /dev/sdX
  • smartctl -t conveyance /dev/sdX
  • badblocks -b 4096 -ws /dev/sdX
  • smartctl -t long /dev/sdX

And if it passes all those, then I put them into a zpool.

edit: for bigger drives, you might need to increase the block size for badblocks, 65535 for example.

[–] [email protected] 1 points 11 months ago

Can you tell me why you go for 2^12 but then choose (2^16)-1 as an alternative? Wouldn't that create alignment issues?