From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: fsck on rz55 disk, bad superblock, bad superblock etc....?
Date: 16 Sep 1994 22:30:21 GMT [thread overview]
Message-ID: <35d69t$1a9@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 35c827$c6t@news.acns.nwu.edu
In article <35c827$c6t@news.acns.nwu.edu>, tward@andre.mech.nwu.edu (Tim Ward) writes:
>
>To clean rrz5g I run fsck, but it complains about invalid information
>in the superblock and says to use an alternate superblock. Using
>fsck -b 32 on the partition, fsck proceeds normally, and caches two
>errors one in Phase 4 (bad inode number in superblock), the other in
>Phase 5 (something about a bad cylinder group). fsck offers to fix them
>and I accept. Then when it tries to verify the changes, the error message
>about bad info in the superblock re-appears. This has happened for two
>alternate superblocks as well (32 and 8720).
>
>Anyone have an idea on how to fsck this disk successfully?
1. Verify the disk is crashing on you. Use rzdisk with the -s
option to scan the disk for bad blocks. If a scan finds some,
use the -r option to replace them and run the scan again.
Repeat until the scan doesn't find any bad blocks. If it
takes more than one or two passes don't bother...
2. Unless that version had a bug in fsck, it will try to rewrite
the superblock. V3.anything is pretty old though and I don't
recall what bugs existed. One thing to try is verify that
fsck really did fix the problems. Run another pass with the
same backup superblock and see if it really was repaired.
3. When all else fails, make a physical backup of the partitions
desired. You can use dd(1) and a good safe block size is 8 KB.
dd if=/dev/rrz5g of=/dev/rmt0h bs=8k
This way you can get the disk working and not worry much about
the data. If the problem was the disk, then you can re-create
the partition table and restore the physical image of the partition
and then fix it.
>--
>Tim Ward
>McCormick School of Engineering and Applied Science
>Northwestern University
>
--
Alan Rollow alan@nabeth.cxo.dec.com
prev parent reply other threads:[~1994-09-16 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-16 13:54 fsck on rz55 disk, bad superblock, bad superblock etc....? Tim Ward
1994-09-16 22:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
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