From owner-freebsd-current@FreeBSD.ORG Tue Jul 7 11:38:47 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13028106566C for ; Tue, 7 Jul 2009 11:38:47 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id CEBA68FC0A for ; Tue, 7 Jul 2009 11:38:46 +0000 (UTC) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n67BaEYR048532; Tue, 7 Jul 2009 07:36:14 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200907071136.n67BaEYR048532@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 07 Jul 2009 07:38:45 -0400 To: Alexey Shuvaev From: Mike Tancsa In-Reply-To: <20090707091624.GA7770@wep4035.physik.uni-wuerzburg.de> References: <200907031413.n63ED2jl016885@lava.sentex.ca> <4A4E1525.2040809@FreeBSD.org> <200907031430.n63EUMH1016965@lava.sentex.ca> <4A4E1A6C.3090605@FreeBSD.org> <200907031858.n63IwDIt018455@lava.sentex.ca> <4A4E5C82.9070209@FreeBSD.org> <7.1.0.9.0.20090703165005.196d3ba0@sentex.net> <200907050030.n650UkEu028408@lava.sentex.ca> <4A504B0C.2060406@FreeBSD.org> <200907062118.n66LIGRg043316@lava.sentex.ca> <20090707091624.GA7770@wep4035.physik.uni-wuerzburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: RFC: ATA to CAM integration patch (INTEL DX58SO) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 11:38:47 -0000 At 05:16 AM 7/7/2009, Alexey Shuvaev wrote: >It seems you are doing newfs and then mounting it. Why? Just to make sure that post crash, I dont have to fsck it, or that as part of the crash some undetected ufs corruption happened. ---Mike >If you want to remove the data do something like >dd if=/dev/zero of=/dev/ada2 bs=1m >or >dd if=/dev/random of=/dev/ada2 bs=1m > >You could also try smaller block sizes (bs argument) near the bad blocks. > >Just 0.02$, >Alexey.