From owner-freebsd-questions@freebsd.org Sun Apr 17 17:49:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CF1BB10D58 for ; Sun, 17 Apr 2016 17:49:15 +0000 (UTC) (envelope-from jpmamu@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DCB921D1C for ; Sun, 17 Apr 2016 17:49:14 +0000 (UTC) (envelope-from jpmamu@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D890CB10D55; Sun, 17 Apr 2016 17:49:14 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5F19B10D54 for ; Sun, 17 Apr 2016 17:49:14 +0000 (UTC) (envelope-from jpmamu@gmail.com) Received: from mail-pf0-x236.google.com (mail-pf0-x236.google.com [IPv6:2607:f8b0:400e:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9D91D1B for ; Sun, 17 Apr 2016 17:49:14 +0000 (UTC) (envelope-from jpmamu@gmail.com) Received: by mail-pf0-x236.google.com with SMTP id n1so72883921pfn.2 for ; Sun, 17 Apr 2016 10:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:errors-to:list-owner:list-unsubscribe:list-help :precedence:list-id:mime-version:from:to:reply-to:subject; bh=RDq13uQrD+1L4eIcVmJTuCjX8QXI20/C2pu6tSXrecA=; b=ELs1qsZkqdAgW+nEDfTnSTlghnscfueTqbn+1/XhWXaR0mRLbtXGRdDfrjr9FT5iym bLquPiof3rVogmTZ6zW4dMUlunUKBd6O7dtrDZLHjUkNkPJneY1Pity1OYOrTVzkGYwd bVKHQgUKXItA9Yp0ZbupFg1CXhS1rRBkoi9ZG/cMfPP0LhwtgE2FNp+StRhMyZAt3z6z fAmk64mzeakcwwuh2Zk+ulh2hlk8U0Giib2FclkgSSsc0tSjp/GUdrIAiIKPM8gXAvbg MA2hCd+tU+GX1bPR8KCtbmSiGAUInwwoXEB+2MBp2Ck0Zb8YVYm9HQyuvJw9iFx5uGzj ugnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:errors-to:list-owner :list-unsubscribe:list-help:precedence:list-id:mime-version:from:to :reply-to:subject; bh=RDq13uQrD+1L4eIcVmJTuCjX8QXI20/C2pu6tSXrecA=; b=ir45GIgJ7sz45oHo/8CRekR/6YN3shKu43jRK5KVm26pOT1ja84kiDk6SstgTfDC+w goEQ0BVNj7sPrCF2qWg1VhulFV1PvPwc8T1mw+acbL16FQkeH6J8NW2+ff+mRquTuBpc ZUNGNpCFemFwlSRqJyg+B1k/t26xYE6Lt8ai1cBswrSlXr6WF/SZJZ2N2Vy2y9dJ4Ova DlNozZ1jo+Erta1nYo0KGXWuRCI7jf5Xailbbj0OUp4bI0/p2bT8S05IjVrFFmaXVv0G 2C0cG5SZlOoRCy9szNYb14QiVUpLkQsjR5IK1TQEy/iBJ3U7VO8t5UQ6envnr2rcddy9 OJxQ== X-Gm-Message-State: AOPr4FU4n1QFa95CnvqOSFZfEKSs29g3BiryYUUvcf3LyCZkk9UPmkc3f/FQOUc2sUvHQQ== X-Received: by 10.98.70.27 with SMTP id t27mr43637498pfa.107.1460915353917; Sun, 17 Apr 2016 10:49:13 -0700 (PDT) Received: from PrakashKhanduri ([117.207.223.116]) by smtp.gmail.com with ESMTPSA id q72sm77982943pfa.70.2016.04.17.10.49.11 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Apr 2016 10:49:13 -0700 (PDT) Message-ID: <5713cc99.4b43620a.330c2.50c5@mx.google.com> Date: Sun, 17 Apr 2016 10:49:13 -0700 (PDT) X-Google-Original-Date: 17 Apr 2016 23:19:12 +0530 X-Subscribe-Email: jascowebs@gmail.com X-Abuse-Reports-To: jascowebs@gmail.com Errors-To: jascowebs@gmail.com List-Owner: jascowebs@gmail.com X-Organization: yksvysasxkapq1266 X-Author: yksvysasxkapq1267 Precedence: bulk MIME-Version: 1.0 From: "IMGuru" To: questions@freebsd.org Reply-To: "IMGuru" Subject: AprilDhamalFataafat4U Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 17:49:15 -0000 PGh0bWw+PGJvZHk+PFA+VGhpcyBpcyB0ZXN0IG1haWwgdG8gdmFyaWZ5IHlvdXIgYmxv ZzwvUD4NCjxQPldQRGVhbHM8L1A+DQo8UD4jMjM1ZmF0YWZhdGEkMTAxIzIwMTYqJDEw NTcyPC9QPjwvYm9keT48L2h0bWw+ From owner-freebsd-questions@freebsd.org Sun Apr 17 17:55:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46F12B11068 for ; Sun, 17 Apr 2016 17:55:14 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 18E251132 for ; Sun, 17 Apr 2016 17:55:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u3HHtCOA065635 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 17 Apr 2016 11:55:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u3HHtCWD065632; Sun, 17 Apr 2016 11:55:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 17 Apr 2016 11:55:12 -0600 (MDT) From: Warren Block To: Michael Powell cc: freebsd-questions@freebsd.org Subject: Re: tool for mapping away bad blocks on an external disk In-Reply-To: Message-ID: References: <20160417072641.GA2358@c720-r292778-amd64> <20160417093957.0b1acb4c37d7c15a4b06af88@sohara.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 17 Apr 2016 11:55:12 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 17:55:14 -0000 On Sun, 17 Apr 2016, Michael Powell wrote: > Back in the day (Fixed Direct Access SCSI-2 device) you could use the > controller BIOS to do what used to be known as a "low level format" of SCSI > drives in order to attempt to squeak a little more life from them. And if > new bad spots did not begin to pop again right away you might be good to go > for a while. If they did it indicated mass media failure that would just > avalanche. The old Adaptec 1540 and 2940 controllers come to mind (Ctrl-A to > enter the controller BIOS during POST). > > Can't do this through a USB subsystem. Or to pretty much any drive any more. They will accept the low-level format command, but return immediately. Or that's what happened the last time I tried it, years ago. It's been a long time since hard drives gave any direct access to the media. Everything goes through the controller on the drive now, which handles all that transparently. So blocks that appeared bad might be already mapped out by the drive.