From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-192060-garchives=archives.gentoo.org@lists.gentoo.org> 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 4BB5B1382C5 for <garchives@archives.gentoo.org>; Sat, 20 Jun 2020 09:50:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC2E1E08C0; Sat, 20 Jun 2020 09:50:41 +0000 (UTC) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 EEED4E0839 for <gentoo-user@lists.gentoo.org>; Sat, 20 Jun 2020 09:50:40 +0000 (UTC) Received: by mail-qt1-x831.google.com with SMTP id q14so9081380qtr.9 for <gentoo-user@lists.gentoo.org>; Sat, 20 Jun 2020 02:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=gYtBlm6H2ZlrjfCDukjNT5nMAOjOnIpoc4fgo1vCsqs=; b=MkZOEz7HknLIepVhhb4UHSzFa1YyNw2qWz8tDOqeRE7vWEJQZo+Wl7md+iRiseY/ju wX8g69CIExG35lzuucPA7Habr5cd43q/CgIkpH7+WN112BhAQLPPVoxhEbfZV7mYYvaj IhIS5lVODP/KdZNqpmOX04MdZUb6bluEkkK/0janiBMrVJselClK33TozKdudl+9Y7Bs OceRf7aOtCD/Q6ucQg8uvmPrSuUs4QM6Cjcpy1U8yf+DCXbsvesqwYIU4ak0N+RZWwoE TVuhZn8vYXbl81GZQyR7PkMHoyVL3LbPTpmNDrA7CmFYte1RItRBqreYHVqm/H+toRIm G5lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=gYtBlm6H2ZlrjfCDukjNT5nMAOjOnIpoc4fgo1vCsqs=; b=QfwDcL9r4VXLDNHr85B75xtPMT+dSMwuFvDLSauMGdi5ZjqRQohP/oL13qzj0lvAZz AbimdDU6QKDifFbAvE3+SLO7CsMZcJ5QkszJrOh25mg0lN7pVKMEce3RDr7Q/H1s075a W739F14stBhOgai3wp6AkZkC/dEwVORSwfy194U3OR9rtlzaoBqEHzyMq12CxBEkiVT6 d1AcZ4Fl0LDW+1P15idNV6DaxG2JNNnPAvjqq7WSruP7VKE5+QwbJpTvwlDjJHdLcY4C Kt+Mtm7H6mO9J6Ky8NhAvAkM4eicixIqBoQdgVXp923fYVHGqSkMLl9bwm/u4DnuuibC iBDg== X-Gm-Message-State: AOAM532RzVakAcJ6CZeX+skM0z8Q0Ba0+i9TjcYcIRKYcYa+DLZpQk4z uWmEx8JsSlwPH/vPbFcLL2q7ZjQe X-Google-Smtp-Source: ABdhPJwi5lMxx5DQEfoJzwqmjXB90hV4nNQH6i7qi+GStXESPD7uknoa+41OMazv8iU1T+6zvrX3zw== X-Received: by 2002:aed:3e5d:: with SMTP id m29mr7223782qtf.125.1592646640096; Sat, 20 Jun 2020 02:50:40 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-241-018.sip.asm.bellsouth.net. [74.188.241.18]) by smtp.gmail.com with ESMTPSA id z4sm8223283qkj.131.2020.06.20.02.50.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jun 2020 02:50:39 -0700 (PDT) Subject: Re: [gentoo-user] Testing a used hard drive to make SURE it is good. From: Dale <rdalek1967@gmail.com> To: gentoo-user@lists.gentoo.org References: <6d77acb3-5754-06cb-b8ef-2f1a5d7d8084@gmail.com> Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBFxc7MgBEAC+zrgEdqJJiDe/UDAB+ScmferXWfJTVjbVT2T4DQ7jiLrgP9aNUo1HioNF mrU3JPOCR32gvZyTbY1+niO5+VSo/+pSqQ785h6ZDj1klMkrg6tEzGnf2MNBpBj4houZwxQ+ WDKKTg2M9F+lv8wTIdR/JQn+hSviktLMtrghQlyLhpapsLXWLA6gMFebpQYwxUwemvan8ddX lQvJe9FGyFYvBi0dp1gl10F2O+DVZJxvX8xkX+yImVlhVJiC31gXHRcj+Qlo7gprlU7TIieF Uow6/ZvYKJ26pztVdFCg5w0rMJkF/x8Zd4A6wnuptiAPmWaQ1+YKgYDonbDUgwqFSx5/lN5z DGZ4LlioxeUTTPVvZsqBIeDz6jNFA583OYbo1/S26dqrvTFf2DKlsvoDpVfAhNlwJPjoixs0 X3FNqPv+M10n4kq5Iz7Q9E3O4s/nfFIYGocEslVka7zZPkXSaHbsn+KJlY8XV6qxtCEdh0/V XX1+1aU2J74M0JikWhpwxTZ1dP5aOyWSPPEgFFIRW6xwwC02SoRH9a7mggfGYp/YjPlONNaT SCL8sgRfvmq3D0XTbLyTjSbExxkfKDmbePQagawDE3TlI/oivHf1JaAcbwMb3LZuU4TGcOIl 5D+x7q0MUIeCop0ZFOwAnqW3AVVNvsBkv2KN+IHJryWAf0/iMQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgWIQTZ7suruPBaS60bCYXvEM/XWu+ZnAUCXFzs yAIbIwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRDvEM/XWu+ZnN+7D/4/1dNG4aCz0+v+ 0dcjV5tY1feYEWCdHKyDzxWBxlCpd/0NPRQeNY4VMjbCl/sq7GkXi/c2SbfWDQ5BQRkkExG1 pSwuXSIehGok/4fpTi3HDAguRvzdCqlKPt7me05Fyi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4E1260GKauSr4UhMJv6tygBwyC0mmBMKi+ZXw6ZdZxA5fg7y 35P3TILjznCXXTDgRHq9A3NknKRMcgFacX6eIhANkMFo6oJVjuEgy1dvu1wFfDq7c+i8GAHu L4pYzyXYu6PporlNNU0xSwdVgzM/uuK0lt+UxCimgC+YR3IezgDcbfudb7h9dGIwL+bbPL0A EQEAAYkCNgQYAQgAIBYhBNnuy6u48FpLrRsJhe8Qz9da75mcBQJcXOzIAhsMAAoJEO8Qz9da 75mcXZ4P/1YXgWDZek7mhzrf6uaQzMxa92P89HeWz4PlgB/32symeEFAV04WazzBZffI8AYY rGA1Xmu/2VaB9+FOODyKhUWBc2UL0NRWBk6POwboyTdKlclmpixaN9zLcBt0YLejoRfN1B/5 aQf9/lUDZMnAiCyz0FgeqEMUshldmwWC35RqnjrCbbuk2vIqSH6BLDIXU6jQrLHE1DF0ai41 wLtQFAFXPhn45n0ZwYhVs4Z32z4sjXrIvgBgCaXa4HM+L1Klne0KiNM8ReFTTpTE0SgyDOSZ O3MOa2n77i6JbVtsbiFYnNeP3J9S/l3jevGpZEtNQOKrIm1MW8jGuHWtsDeMkT/mCcSodlkt PxIo+mMK9GpGvG2hW80LiohqNfUbNwAmr3blOYY4URPXPRnEnPs4pmTmL5owjw2dkg145i9I D42Tq+XZ6YtWt3SGzGbAYow6XwTwZ5NFAzV9UQuCGrDw4KWan6O6Z+VIYWsn0UMZlu1Obxna aocofkaUCbISK26kImuD1aA8juSHC18Qv1xUage6/UakbSxyDtACqt6hOVFKX3IA59ApdNRT +2x3iCmlvF9MJsGgFq6IpqL+Fk7iWV8Kjbz0wQOId6N9+JdQh3LrLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: <c9b77cd3-a179-c780-2eb3-c48274f366e4@gmail.com> Date: Sat, 20 Jun 2020 04:50:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.2 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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 In-Reply-To: <6d77acb3-5754-06cb-b8ef-2f1a5d7d8084@gmail.com> Content-Type: multipart/alternative; boundary="------------5009C177EA2F06A48CB10C08" X-Archives-Salt: c4741fdf-b123-4837-b191-5943e237c992 X-Archives-Hash: 09a832134ad592e8a1a916099ad64a47 This is a multi-part message in MIME format. --------------5009C177EA2F06A48CB10C08 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Additional info. I got the data moved and a smaller drive removed from the LVM setup. I decided to play with badblocks a bit and test the old drive. I'm testing with destructive patterns since that should effectively erase data. The old drive reported a few errors. I did some googling and found out that SMART can interfere with badblocks. Basically, it accesses the drive and that creates errors. I found it odd but decided I'd restart the test and see. If it had a bad block, it would still be bad. I redid the test and so far, it has reported no errors. It seems what I found does happen. So, if anyone is running badblocks, make sure to turn off SMART for that device until the tests have completed. Otherwise you could get negative results. This is the command I'm using. badblocks -wsv -b 4096 /dev/sdb If you copy and paste, make sure to edit the device. When this is all done, I may post some further details. Oh, my frequent commands file is growing. ;-) Dale :-) :-) --------------5009C177EA2F06A48CB10C08 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> Additional info. I got the data moved and a smaller drive removed from the LVM setup. I decided to play with badblocks a bit and test the old drive. I'm testing with destructive patterns since that should effectively erase data. The old drive reported a few errors. I did some googling and found out that SMART can interfere with badblocks. Basically, it accesses the drive and that creates errors. I found it odd but decided I'd restart the test and see. If it had a bad block, it would still be bad. I redid the test and so far, it has reported no errors. It seems what I found does happen. <br> <br> So, if anyone is running badblocks, make sure to turn off SMART for that device until the tests have completed. Otherwise you could get negative results. This is the command I'm using. <br> <br> badblocks -wsv -b 4096 /dev/sdb <br> <br> If you copy and paste, make sure to edit the device. When this is all done, I may post some further details. Oh, my frequent commands file is growing. ;-)<br> <br> Dale<br> <br> :-) :-) <br> </body> </html> --------------5009C177EA2F06A48CB10C08--