Date: Wed, 16 Feb 2005 11:29:50 -0600 From: Nathan Kinkade <nkinkade@ub.edu.bz> To: freebsd-questions@freebsd.org Subject: Re: moving files from bad sectors Message-ID: <20050216172950.GB8365@gentoo-npk.bmp.ub> In-Reply-To: <3993.216.220.59.169.1108573022.squirrel@216.220.59.169> References: <20050216162520.GA8072@asu.edu> <3993.216.220.59.169.1108573022.squirrel@216.220.59.169>
next in thread | previous in thread | raw e-mail | index | archive | help
--aPIqI//Qhze8VsLV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 16, 2005 at 11:57:02AM -0500, Ean Kingston wrote: >=20 > > I have a hard disk that looks like its going out. > > > > So far, there are 6 reported crc errors. However, I have a file that > > I would like to read as much as possible of using tar, but the whole > > job stops like this: > > > > > > # tar cvf /dev/nrsa0 /home > /root/tarhome.cat > > tar: Removing leading `/' from member names > > tar: /home/smbshare1/BUDGETS/RXS0008 fy04 kellogg report and > > summary.xls: Read error at byte 14848, reading 10240 bytes: > > Input/output error > > tar: Error exit delayed from previous errors > > > > When attempting to cp that same file I get another error and the cp > > stops. > > > > Are there any tools that will permit me to cp as much of this file as > > possible, ie all sectors up to, and then past, the bad spot? >=20 > dd will let you specify parts of files to skip over. You will probably > have to do some fiddling with the arguements to get it just right for your > file. Specifically, try using the "conv=3Dnoerror" option with dd. Nathan --aPIqI//Qhze8VsLV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCE4MOO0ZIEthSfkkRAir/AJ46oE+LQTdIWHOWB6tBKLVTuMT4CACfZUVr +/sK+17S++TB7T454xJpI/w= =jyx3 -----END PGP SIGNATURE----- --aPIqI//Qhze8VsLV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216172950.GB8365>