*BSD News Article 32021


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!mlb.dmt.csiro.au!mlb.dmt.csiro.au!not-for-mail
From: gsl@mlb.dmt.csiro.au (Geoff Lamb)
Newsgroups: comp.os.386bsd.misc
Subject: Re: [Q] dd to find bad sectors?
Date: 23 Jun 1994 12:25:06 +1000
Organization: CSIRO Division Of Manufacturing Technology, Australia
Lines: 25
Sender: root@mlb.dmt.csiro.au
Distribution: world
Message-ID: <2uarq2$333@atli.mlb.dmt.csiro.au>
References: <2u8fvg$e91@nic.scruz.net>
Reply-To: gsl@mlb.dmt.csiro.au
NNTP-Posting-Host: atli.mlb.dmt.csiro.au
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

In article e91@nic.scruz.net, banshee@boing.resort.com (John Vinopal) writes:
> Whats the communal opinion of using dd if=/dev/rwd0d of=/dev/null
> in order to locate bad sectors on the disk?
> 
> 

dd if=/dev/rxxxx of=/dev/null bs=1k conv=noerror, sync

the bs can vary depending on how long you want it to take.

Geoff

---------
   __&__    
  /     \   Geoff Lamb, CSIRO Div of Manufacturing Tech,
 |       |  Locked Bag No. 9, Preston, Vic, 3072, Australia.
 |  (o)(o)  Internet: gsl@mlb.dmt.csiro.au
 C   .---_) Phone: +61 3 662 7795
  | |.___|  Fax: +61 3 662 7851
  |  \__/   
  /_____\  
 /_____/ \
/         \ 
Segmentation fault (core dumped)