Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Testing a used hard drive to make SURE it is good.
Date: Mon, 15 Jun 2020 19:03:38
1 Howdy,
3 I finally bought a 8TB drive.  It is used but they claim only a short
4 duration.  Still, I want to test it to be sure it is in grade A shape
5 before putting a lot of data on it and depending on it.  I am familiar
6 with some tools already.  I know about SMART but it is not always 100%. 
7 It seems to catch most problems but not all.  I'm familiar with dd and
8 writing all zeores or random to it to see if it can in fact write to all
9 the parts of the drive but it is slow. It can take a long time to write
10 and fill up a 8TB drive. Days maybe??  I googled and found a new tool
11 but not sure how accurate it is since I've never used it before.  The
12 command is badblocks.  It is installed on my system so I'm just curious
13 as to what it will catch that others won't.  Is it fast or slow like dd?
15 I plan to run the SMART test anyway.  It'll take several hours but I'd
16 like to run some other test to catch errors that SMART may miss.  If
17 there is such a tool that does that.  If you bought a used drive, what
18 would you run other than the long version of SMART and its test?  Would
19 you spend the time to dd the whole drive?  Would badblocks be a better
20 tool?  Is there another better tool for this? 
22 While I'm at it, when running dd, I have zero and random in /dev.  Where
23 does a person obtain a one?  In other words, I can write all zeros, I
24 can write all random but I can't write all ones since it isn't in /dev. 
25 Does that even exist?  Can I create it myself somehow?  Can I download
26 it or install it somehow?  I been curious about that for a good long
27 while now.  I just never remember to ask. 
29 When I add this 8TB drive to /home, I'll have 14TBs of space.  If I
30 leave the 3TB drive in instead of swapping it out, I could have about
31 17TBs of space.  O_O 
33 Thanks to all.
35 Dale
37 :-)  :-)