Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Testing a used hard drive to make SURE it is good.
Date: Mon, 15 Jun 2020 19:54:43
Message-Id: CAK2H+ef9R3qfm3f+JxJtw5F3_wT3t8FNOh+94zakDy0JfDg0SA@mail.gmail.com
In Reply to: [gentoo-user] Testing a used hard drive to make SURE it is good. by Dale
1 On Mon, Jun 15, 2020 at 12:37 PM Dale <rdalek1967@×××××.com> wrote:
2 >
3 > Howdy,
4 >
5 > I finally bought a 8TB drive. It is used but they claim only a short
6 duration. Still, I want to test it to be sure it is in grade A shape
7 before putting a lot of data on it and depending on it. I am familiar with
8 some tools already. I know about SMART but it is not always 100%. It
9 seems to catch most problems but not all. I'm familiar with dd and writing
10 all zeores or random to it to see if it can in fact write to all the parts
11 of the drive but it is slow. It can take a long time to write and fill up a
12 8TB drive. Days maybe?? I googled and found a new tool but not sure how
13 accurate it is since I've never used it before. The command is badblocks.
14 It is installed on my system so I'm just curious as to what it will catch
15 that others won't. Is it fast or slow like dd?
16 >
17 > I plan to run the SMART test anyway. It'll take several hours but I'd
18 like to run some other test to catch errors that SMART may miss. If there
19 is such a tool that does that. If you bought a used drive, what would you
20 run other than the long version of SMART and its test? Would you spend the
21 time to dd the whole drive? Would badblocks be a better tool? Is there
22 another better tool for this?
23 >
24 > While I'm at it, when running dd, I have zero and random in /dev. Where
25 does a person obtain a one? In other words, I can write all zeros, I can
26 write all random but I can't write all ones since it isn't in /dev. Does
27 that even exist? Can I create it myself somehow? Can I download it or
28 install it somehow? I been curious about that for a good long while now.
29 I just never remember to ask.
30 >
31 > When I add this 8TB drive to /home, I'll have 14TBs of space. If I leave
32 the 3TB drive in instead of swapping it out, I could have about 17TBs of
33 space. O_O
34 >
35 > Thanks to all.
36 >
37 > Dale
38 >
39 > :-) :-)
40
41 The SMART test, long version, will do a very reasonable job catching
42 problems. Run it 2 or 3 times if it makes you feel better.
43
44 Chris's suggestion about Spinrite is another option but it is slow, slow,
45 slow. Might take you weeks? On a drive that large if it worked at all.
46
47 As an aside, but important, I fear that you're possibly falling into the
48 trap most of us do at home. Please don't. Once you have 17TB of space on
49 your system how are you planning on doing your weekly backups? Do you have
50 17TB+ on an external drive or system? Will you back up to BlueRay discs or
51 something like that?
52
53 Mark

Replies