From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B341C1382C5 for ; Mon, 15 Jun 2020 19:54:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69F32E0F1E; Mon, 15 Jun 2020 19:54:39 +0000 (UTC) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 284D5E0F18 for ; Mon, 15 Jun 2020 19:54:39 +0000 (UTC) Received: by mail-qk1-x72b.google.com with SMTP id v79so16955279qkb.10 for ; Mon, 15 Jun 2020 12:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ECkjYCQln3Q6HgIdWJXsGt+FALKcVXvbjvnXnOxVHfo=; b=dBjdZFtXSdxPswy3VOcEWWC952MXalbPRHEaFZyeFxV+d9tRO2nADHBYcybM94xCxG QeIXAzb79KQzbm9SSS8YNF8zQWXtrnjIwrGCYWBETq0hH1NGePHWnrsYJwow3j4bPOOT gSE+1/Nt9aNTSe7dut6Osvk0/BZV9gMpsy5XQNsTvdDiN5gKkpJ05fFgXKqUjwFV/g+t iYgrLncomMC6fkPiCtB/Y9LPYFrIxobG16+daeSFRSW87107f6cWUAXzX3FVS3batIwZ QXOfh4DZVHg8RsFW/X07MjpkucMJerlodgGC+sx1aENmtjFnz0N+r3piSznWPZ1pR9v8 nLLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ECkjYCQln3Q6HgIdWJXsGt+FALKcVXvbjvnXnOxVHfo=; b=Tt1wnikqr1g8eJ5Il3uJ60wHCkU5MhJv2Pp0rSAxnckCP4R0j+J7HpvGxc3bR7Eq/M omJF67Zoq795fdGKJa2jQb2FKk1GwzqXwncPcKAz1mYOYwM9ILXa6Bqf0B2AWHCcBVqY VVQbWynQTuNQt+mY9esCTErnsjdGfUyv32I5Qoa81BEhqHNVIwXBsl9fkcmzHOSaLP2g JIlrCMLsQovbjVjDCYNOFacg3V7Hh9cB+hrGKcmzfzCBLjR4HiTVmnJypFRXcXl2/Qcv LhH6AaXLU2As6lBOnIQScmNinQDBYGMozgYPOvme2E0kgOepT9MBuSUId/8tUn/lyj8U pJyA== X-Gm-Message-State: AOAM531TX28F6TzHJM4JT4Y/h2Zreb2A2oL8N9SETayW3AJWgNnngUOd lnoiqfZC+8TMOMJYQiWtHxemJ5DCXauhJa54tRRG5A== X-Google-Smtp-Source: ABdhPJw4ZNr0UWwkEHVnHW8UW8dw8sQcKkiao/o8rwo27msfeLq8PJdBo1DaSihzlD5jC4TlBH0TY9mJISO0DOBBoZo= X-Received: by 2002:a05:620a:1114:: with SMTP id o20mr17369237qkk.120.1592250877837; Mon, 15 Jun 2020 12:54:37 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <6d77acb3-5754-06cb-b8ef-2f1a5d7d8084@gmail.com> In-Reply-To: <6d77acb3-5754-06cb-b8ef-2f1a5d7d8084@gmail.com> From: Mark Knecht Date: Mon, 15 Jun 2020 12:54:26 -0700 Message-ID: Subject: Re: [gentoo-user] Testing a used hard drive to make SURE it is good. To: Gentoo User Content-Type: multipart/alternative; boundary="000000000000f78bc905a824cb38" X-Archives-Salt: ece506b7-631a-40da-a7d4-c7ab966fc618 X-Archives-Hash: 7722d317fdeb3f2190c4404c3c250e31 --000000000000f78bc905a824cb38 Content-Type: text/plain; charset="UTF-8" On Mon, Jun 15, 2020 at 12:37 PM Dale wrote: > > Howdy, > > I finally bought a 8TB drive. It is used but they claim only a short duration. Still, I want to test it to be sure it is in grade A shape before putting a lot of data on it and depending on it. I am familiar with some tools already. I know about SMART but it is not always 100%. It seems to catch most problems but not all. I'm familiar with dd and writing all zeores or random to it to see if it can in fact write to all the parts of the drive but it is slow. It can take a long time to write and fill up a 8TB drive. Days maybe?? I googled and found a new tool but not sure how accurate it is since I've never used it before. The command is badblocks. It is installed on my system so I'm just curious as to what it will catch that others won't. Is it fast or slow like dd? > > I plan to run the SMART test anyway. It'll take several hours but I'd like to run some other test to catch errors that SMART may miss. If there is such a tool that does that. If you bought a used drive, what would you run other than the long version of SMART and its test? Would you spend the time to dd the whole drive? Would badblocks be a better tool? Is there another better tool for this? > > While I'm at it, when running dd, I have zero and random in /dev. Where does a person obtain a one? In other words, I can write all zeros, I can write all random but I can't write all ones since it isn't in /dev. Does that even exist? Can I create it myself somehow? Can I download it or install it somehow? I been curious about that for a good long while now. I just never remember to ask. > > When I add this 8TB drive to /home, I'll have 14TBs of space. If I leave the 3TB drive in instead of swapping it out, I could have about 17TBs of space. O_O > > Thanks to all. > > Dale > > :-) :-) The SMART test, long version, will do a very reasonable job catching problems. Run it 2 or 3 times if it makes you feel better. Chris's suggestion about Spinrite is another option but it is slow, slow, slow. Might take you weeks? On a drive that large if it worked at all. As an aside, but important, I fear that you're possibly falling into the trap most of us do at home. Please don't. Once you have 17TB of space on your system how are you planning on doing your weekly backups? Do you have 17TB+ on an external drive or system? Will you back up to BlueRay discs or something like that? Mark --000000000000f78bc905a824cb38 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Jun 15, 2020 at 12:37 PM Dale <rdalek1967@gmail.com> wrote:
>= ;
> Howdy,
>
> I finally bought a 8TB drive.=C2=A0 It is = used but they claim only a short duration.=C2=A0 Still, I want to test it t= o be sure it is in grade A shape before putting a lot of data on it and dep= ending on it.=C2=A0 I am familiar with some tools already.=C2=A0 I know abo= ut SMART but it is not always 100%.=C2=A0 It seems to catch most problems b= ut not all.=C2=A0 I'm familiar with dd and writing all zeores or random= to it to see if it can in fact write to all the parts of the drive but it = is slow. It can take a long time to write and fill up a 8TB drive. Days may= be??=C2=A0 I googled and found a new tool but not sure how accurate it is s= ince I've never used it before.=C2=A0 The command is badblocks.=C2=A0 I= t is installed on my system so I'm just curious as to what it will catc= h that others won't.=C2=A0 Is it fast or slow like dd?
>
> = I plan to run the SMART test anyway.=C2=A0 It'll take several hours but= I'd like to run some other test to catch errors that SMART may miss.= =C2=A0 If there is such a tool that does that.=C2=A0 If you bought a used d= rive, what would you run other than the long version of SMART and its test?= =C2=A0 Would you spend the time to dd the whole drive?=C2=A0 Would badblock= s be a better tool?=C2=A0 Is there another better tool for this?
>> While I'm at it, when running dd, I have zero and random in /dev= .=C2=A0 Where does a person obtain a one?=C2=A0 In other words, I can write= all zeros, I can write all random but I can't write all ones since it = isn't in /dev.=C2=A0 Does that even exist?=C2=A0 Can I create it myself= somehow?=C2=A0 Can I download it or install it somehow?=C2=A0 I been curio= us about that for a good long while now.=C2=A0 I just never remember to ask= .
>
> When I add this 8TB drive to /home, I'll have 14TBs = of space.=C2=A0 If I leave the 3TB drive in instead of swapping it out, I c= ould have about 17TBs of space.=C2=A0 O_O
>
> Thanks to all.>
> Dale
>
> :-) =C2=A0:-)

The S= MART test, long version, will do a very reasonable job catching problems. R= un it 2 or 3 times if it makes you feel better.

Ch= ris's suggestion about Spinrite is another option but it is slow, slow,= slow. Might take you weeks? On a drive that large if it worked at all.

As an aside, but important, I fear that you're po= ssibly falling into the trap most of us do at home. Please don't. Once = you have 17TB of space on your system how are you planning on doing your we= ekly backups? Do you have 17TB+ on an external drive or system? Will you ba= ck up to BlueRay discs or something like that?

Mar= k
--000000000000f78bc905a824cb38--