1 |
Dale wrote: |
2 |
> Howdy, |
3 |
> |
4 |
> I finally bought a 8TB drive. It is used but they claim only a short |
5 |
> duration. Still, I want to test it to be sure it is in grade A shape |
6 |
> before putting a lot of data on it and depending on it. I am familiar |
7 |
> with some tools already. I know about SMART but it is not always |
8 |
> 100%. It seems to catch most problems but not all. I'm familiar with |
9 |
> dd and writing all zeores or random to it to see if it can in fact |
10 |
> write to all the parts of the drive but it is slow. It can take a long |
11 |
> time to write and fill up a 8TB drive. Days maybe?? I googled and |
12 |
> found a new tool but not sure how accurate it is since I've never used |
13 |
> it before. The command is badblocks. It is installed on my system so |
14 |
> I'm just curious as to what it will catch that others won't. Is it |
15 |
> 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 |
19 |
> there is such a tool that does that. If you bought a used drive, what |
20 |
> would you run other than the long version of SMART and its test? |
21 |
> Would you spend the time to dd the whole drive? Would badblocks be a |
22 |
> better tool? Is there another better tool for this? |
23 |
> |
24 |
> While I'm at it, when running dd, I have zero and random in /dev. |
25 |
> Where does a person obtain a one? In other words, I can write all |
26 |
> zeros, I can write all random but I can't write all ones since it |
27 |
> isn't in /dev. Does that even exist? Can I create it myself |
28 |
> somehow? Can I download it or install it somehow? I been curious |
29 |
> about that for a good long while now. I just never remember to ask. |
30 |
> |
31 |
> When I add this 8TB drive to /home, I'll have 14TBs of space. If I |
32 |
> leave the 3TB drive in instead of swapping it out, I could have about |
33 |
> 17TBs of space. O_O |
34 |
> |
35 |
> Thanks to all. |
36 |
> |
37 |
> Dale |
38 |
> |
39 |
> :-) :-) |
40 |
|
41 |
|
42 |
Update. I got a lot of info and suggestions from the replies. Thanks |
43 |
to all for those. The drive has passed all the test so far. I ran a |
44 |
short and long SMART selftest. Results: |
45 |
|
46 |
|
47 |
root@fireball / # smartctl -l selftest /dev/sde |
48 |
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.6.7-gentoo] (local build) |
49 |
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org |
50 |
|
51 |
=== START OF READ SMART DATA SECTION === |
52 |
SMART Self-test log structure revision number 1 |
53 |
Num Test_Description Status Remaining |
54 |
LifeTime(hours) LBA_of_first_error |
55 |
# 1 Short offline Completed without error 00% |
56 |
24592 - |
57 |
# 2 Extended offline Completed without error 00% |
58 |
24592 - |
59 |
# 3 Short offline Completed without error 00% |
60 |
24213 - |
61 |
# 4 Short offline Completed without error 00% |
62 |
23493 - |
63 |
# 5 Short offline Completed without error 00% |
64 |
22749 - |
65 |
# 6 Short offline Completed without error 00% |
66 |
22054 - |
67 |
# 7 Short offline Completed without error 00% |
68 |
21310 - |
69 |
# 8 Short offline Completed without error 00% |
70 |
20566 - |
71 |
# 9 Short offline Completed without error 00% |
72 |
19846 - |
73 |
#10 Short offline Completed without error 00% |
74 |
19101 - |
75 |
#11 Short offline Completed without error 00% |
76 |
18381 - |
77 |
#12 Short offline Completed without error 00% |
78 |
17637 - |
79 |
#13 Short offline Completed without error 00% |
80 |
16893 - |
81 |
#14 Short offline Completed without error 00% |
82 |
16173 - |
83 |
#15 Short offline Completed without error 00% |
84 |
12108 - |
85 |
#16 Short offline Completed without error 00% |
86 |
11940 - |
87 |
#17 Short offline Completed without error 00% |
88 |
11772 - |
89 |
#18 Short offline Completed without error 00% |
90 |
11604 - |
91 |
#19 Short offline Completed without error 00% |
92 |
11436 - |
93 |
#20 Short offline Completed without error 00% |
94 |
11268 - |
95 |
#21 Short offline Completed without error 00% |
96 |
11100 - |
97 |
|
98 |
root@fireball / # |
99 |
|
100 |
|
101 |
I then ran badblocks to test it. This is the results of it. |
102 |
|
103 |
|
104 |
root@fireball / # badblocks -b 4096 -s -v /dev/sde |
105 |
Checking blocks 0 to 1953506645 |
106 |
Checking for bad blocks (read-only test): |
107 |
done |
108 |
Pass completed, 0 bad blocks found. (0/0/0 errors) |
109 |
root@fireball / # |
110 |
|
111 |
It doesn't show it now but I had it show the progress including run |
112 |
time. It took about 15 hours to run on this 8TB drive. If anyone wants |
113 |
to test a drive in the future, that may help estimate the amount of time |
114 |
to run this test. |
115 |
|
116 |
I tried the conveyance test but this drive doesn't support it. Since it |
117 |
shows no errors and it passed the SMART tests as well, I'm thinking it |
118 |
is time to put data on the thing. Off to the LVM manual. |
119 |
|
120 |
Thanks to all for the tips, tricks and suggestions. |
121 |
|
122 |
Dale |
123 |
|
124 |
:-) :-) |