Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Testing a used hard drive to make SURE it is good.
Date: Tue, 16 Jun 2020 07:35:04
Message-Id: bf5c2c64-58ea-16f8-d22c-f94e4feaf254@gmail.com
In Reply to: Re: [gentoo-user] Testing a used hard drive to make SURE it is good. by Mark Knecht
1 Mark Knecht wrote:
2 >
3 >
4 > On Mon, Jun 15, 2020 at 12:37 PM Dale <rdalek1967@×××××.com
5 > <mailto:rdalek1967@×××××.com>> wrote:
6 > >
7 > > Howdy,
8 > >
9 > > I finally bought a 8TB drive.  It is used but they claim only a
10 > short duration.  Still, I want to test it to be sure it is in grade A
11 > shape before putting a lot of data on it and depending on it.  I am
12 > familiar with some tools already.  I know about SMART but it is not
13 > always 100%.  It seems to catch most problems but not all.  I'm
14 > familiar with dd and writing all zeores or random to it to see if it
15 > can in fact write to all the parts of the drive but it is slow. It can
16 > take a long time to write and fill up a 8TB drive. Days maybe??  I
17 > googled and found a new tool but not sure how accurate it is since
18 > I've never used it before.  The command is badblocks.  It is installed
19 > on my system so I'm just curious as to what it will catch that others
20 > won't.  Is it fast or slow like dd?
21 > >
22 > > I plan to run the SMART test anyway.  It'll take several hours but
23 > I'd like to run some other test to catch errors that SMART may miss. 
24 > If there is such a tool that does that.  If you bought a used drive,
25 > what would you run other than the long version of SMART and its test? 
26 > Would you spend the time to dd the whole drive?  Would badblocks be a
27 > better tool?  Is there another better tool for this?
28 > >
29 > > While I'm at it, when running dd, I have zero and random in /dev. 
30 > Where does a person obtain a one?  In other words, I can write all
31 > zeros, I can write all random but I can't write all ones since it
32 > isn't in /dev.  Does that even exist?  Can I create it myself
33 > somehow?  Can I download it or install it somehow?  I been curious
34 > about that for a good long while now.  I just never remember to ask.
35 > >
36 > > When I add this 8TB drive to /home, I'll have 14TBs of space.  If I
37 > leave the 3TB drive in instead of swapping it out, I could have about
38 > 17TBs of space.  O_O
39 > >
40 > > Thanks to all.
41 > >
42 > > Dale
43 > >
44 > > :-)  :-)
45 >
46 > The SMART test, long version, will do a very reasonable job catching
47 > problems. Run it 2 or 3 times if it makes you feel better.
48 >
49 > Chris's suggestion about Spinrite is another option but it is slow,
50 > slow, slow. Might take you weeks? On a drive that large if it worked
51 > at all.
52 >
53 > As an aside, but important, I fear that you're possibly falling into
54 > the trap most of us do at home. Please don't. Once you have 17TB of
55 > space on your system how are you planning on doing your weekly
56 > backups? Do you have 17TB+ on an external drive or system? Will you
57 > back up to BlueRay discs or something like that?
58 >
59 > Mark
60
61
62 Way back, we used Spinrite to test drives.  Think mid 90's.  Yea, it was
63 slow then on what today is a tiny hard drive.  Can't imagine modern
64 drive sizes.  It is good tho.  It reads/writes every single part of a
65 drive.  It will generally find fault if there is one. 
66
67 Right now, I'm backing up to a 8TB external drive, sadly it is a SMR
68 drive but it works.  As I go along, I'll be breaking down my backups. 
69 Example.  I may have my Documents directory, which includes my camera
70 pics, backed up to one drive.  I may have videos backed up to another
71 drive.  Other directories may have to be on other drives.  The biggest
72 things I don't want to lose:  Camera pics that could not be replaced
73 except with a backup.  Videos, some of which are no longer available. 
74 That requires a large drive.  It currently is approaching 6TBs and I
75 have several videos in other locations that are not included in that. 
76 Documents which would be hard to recreate.  Since I have all my emails
77 locally, I don't want to lose those either.  Just a bit ago, I was
78 searching for posts regarding smartctl.  I got quite a few hits.
79
80 Even if I build a NAS setup, I still need a backup arrangement.  Even if
81 I have a RAID setup, still need backups.  It gets complicated for sure. 
82 Sort of expensive too.  Just imagine if my DSL was 10 times faster. 
83 O_O  I'd need to order drives by the case.
84
85 Dale
86
87 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Testing a used hard drive to make SURE it is good. Wols Lists <antlists@××××××××××××.uk>
Re: [gentoo-user] Testing a used hard drive to make SURE it is good. Neil Bothwick <neil@××××××××××.uk>