From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,12cf82bb1d47c9d6 X-Google-Attributes: gidfa528,public From: Eric Bennett Subject: Re: What can you do about corrupt disk blocks? Date: 2000/10/11 Message-ID: <8s20kj$r8h$3@news01.cit.cornell.edu>#1/1 X-Deja-AN: 680175357 Sender: verified_for_usenet@cornell.edu (emb22 on emb22.resnet.cornell.edu) References: <8s1a9h$qjk$1@nnrp1.deja.com> X-Complaints-To: usenet@news01.cit.cornell.edu X-Trace: news01.cit.cornell.edu 971277779 27921 128.253.200.106 (11 Oct 2000 15:22:59 GMT) Organization: Cornell University User-Agent: MT-NewsWatcher/3.0 (PPC) NNTP-Posting-Date: 11 Oct 2000 15:22:59 GMT Newsgroups: comp.unix.tru64 In article <8s1a9h$qjk$1@nnrp1.deja.com>, ed 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.