Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Eric Bennett <ericb@pobox.com>
Subject: Re: What can you do about corrupt disk blocks?
Date: 2000/10/11	[thread overview]
Message-ID: <8s20kj$r8h$3@news01.cit.cornell.edu> (raw)
In-Reply-To: 8s1a9h$qjk$1@nnrp1.deja.com

In article <8s1a9h$qjk$1@nnrp1.deja.com>, ed <ed2323@my-deja.com> 
wrote:

> Can anyone advise: I had a disk with corrupt
> blocks on it recently. To get the system up and
> running again, I had to reset the bad blocks
> with fsck at boot up to get the disk mounted again.
> 
> Is it possible in any way to back up the disk before resetting
> any blocks? (say using dd, to do a block by block copy)
> 
> Is it possible to recover the blocks when fsck says it
> cannot read them?

I think the only thing you can do is to repeatedly try reading the block 
and hope that sooner or later the drive will be able to pick it up 
correctly.  Sometimes if you try reading it enough times, it will be 
able to read it correctly one time.  

Of course, the most reliable way of dealing with bad disks is to make 
regular backups. :-)

-- 
Eric Bennett ( http://www.pobox.com/~ericb/ ) 
Cornell University / Chemistry & Chemical Biology

Lighthouse, n.  A tall building on the seashore in which the government
maintains a lamp and the friend of a politician.



  reply	other threads:[~2000-10-11  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-11  4:00 What can you do about corrupt disk blocks? ed
2000-10-11  4:00 ` Eric Bennett [this message]
2000-10-11  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-10-12  4:00   ` ed
2000-10-12  4:00     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox