From: John HILL <hill@hep.phy.cam.ac.uk>
Subject: Re: Bad Block and Sector elimination - Novice ?
Date: 2000/03/31 [thread overview]
Message-ID: <38E4C733.FBA358A2@hep.phy.cam.ac.uk> (raw)
In-Reply-To: 8c2eck$agi$1@news.fsu.edu
Before I continue with the rest of the reply, I should warn you that
what I'm describing is very likely not to work and might lose all the
data from your disk. USE AT YOUR OWN RISK!!
You could try using scu. Something like
scu -f /dev/rrz?c (replace the ? by the correct digit)
scu> verify media starting 0
This is a non-destructive check of the disk. If you then want to take
the risk, you can try
scu> reassign lba xxxxxx (where xxxxxx is the bad block number)
which will replace the bad block. Note that this is likely to corrupt
your file system, so you may find you have to "newfs" the bad partition
and hence lose all the existing data. Also from experience, the
success rate is low. Having said that, I managed to reassign ~50 blocks
on a disk that clearly had a bad region (the blocks were adjacent) and
the disk has worked fine since then.
Regards,
John Hill
"Stephen W. Hodge" wrote:
>
> First let me say that I am NOT a system manager but have been forced into
> this role to fix this problem.
>
> I have a 23 gig drive on a DEC AlphaStation 500 (digital unix 4.?) that has
> a bad partition When I do an "fsck" on the disk it says that block 64 is
> bad. When I say continue, it then says that sector 68 is bad and then
> finishes the fsck.
>
> The disk participation will not mount, saying something about bad medium
> block at 376658 when you boot the system up.
>
> I think I could use "badsect" to get rid of this sector, but I first have to
> mount the partition (right?). Well I cant mount the partition because of
> the bad block/sector. Catch 22(?)
>
> the other partition with data seems ok. 2 small partitions used as swap are
> ok as well.
>
> Any ideas?
> Thanks in advance
> Stephen W. Hodge
> shodge@admin.fsu.edu
next prev parent reply other threads:[~2000-03-31 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-31 5:00 Bad Block and Sector elimination - Novice ? Stephen W. Hodge
2000-03-31 5:00 ` John HILL [this message]
2000-03-31 5:00 ` Tim Shoppa
2000-03-31 5: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