Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?
Date: Fri, 02 Sep 2016 04:51:10
Message-Id: CA+t6X7dJX7yjS0y-XZ+ikL7WH2kjeYYyuWg7P3xt00M3A6kCmw@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive? by gevisz
1 2016-09-02 7:23 GMT+03:00 gevisz <gevisz@×××××.com>:
2 > 2016-09-01 11:55 GMT+03:00 Frank Steinmetzger <Warp_7@×××.de>:
3 >> On Thu, Sep 01, 2016 at 11:44:19AM +0300, gevisz wrote:
4 >>
5 >>> > Some people do a full systems check (i.e. badblocks) before entrusting a
6 >>> > drive with anything important.
7 >>>
8 >>> It is a good advice! I have already thought of this but I am sorry to
9 >>> acknowledge that, since the "old good times" of MS DOS 6.22, I never did
10 >>> this in Linux. :(
11 >>> […]
12 >>> So, can you, please, advice me about the program or utility that can do
13 >>> badblocks check for me?
14 >>
15 >> Badblocks is part of e2fsprogs. But since you’re using USB2, this will
16 >> really take a while. At best I get 39 MB/s out of it. Another way is a
17 >> S.M.A.R.T. test, methinks `smartctl -t full` is the command for that. But I
18 >> don’t know what exactly is being tested there. But it runs fully internal of
19 >> the disk, so no USB2-bottleneck. Others may chime in if I tell fairy tales.
20 >
21 > So far, the hard drive passed two (small) smart tests started by commands:
22 > # smartctl -c -t short -d sat /dev/sdc
23 > and
24 > # smartctl -t conveyance -d sat /dev/sdc
25
26 <skipped>
27
28 > However, after running
29 > # smartctl -t long -d sat /dev/sdc
30 > I have no indication that it has been passed:
31 > # smartctl -t long -d sat /dev/sdc
32 > smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.4.6-gentoo] (local build)
33 > Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
34 >
35 > === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
36 > Sending command: "Execute SMART Extended self-test routine immediately
37 > in off-line mode".
38 > Drive command "Execute SMART Extended self-test routine immediately in
39 > off-line mode" successful.
40 > Testing has begun.
41 > Please wait 571 minutes for test to complete.
42 > Test will complete after Fri Sep 2 04:02:18 2016
43 >
44 > Use smartctl -X to abort test.
45 >
46 > Fri Sep 2 6:10
47 > # smartctl -l selftest -d sat /dev/sdc
48 > smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.4.6-gentoo] (local build)
49 > Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
50 >
51 > Read Device Identity failed: scsi error device will be ready soon
52 >
53 > A mandatory SMART command failed: exiting. To continue, add one or
54 > more '-T permissive' options.
55
56 Well, may be, it has not been finished yet.