* fsck on rz55 disk, bad superblock, bad superblock etc....?
@ 1994-09-16 13:54 Tim Ward
1994-09-16 22:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 2+ messages in thread
From: Tim Ward @ 1994-09-16 13:54 UTC (permalink / raw)
This problem is occuring on a DECStation 3100 with Ultrix v3.x installed.
I was called in kind of late when the users said the machine kept rebooting
so I am not quite sure what they did to cause this problem.
This machine has two RZ55 disks, one at SCSI id 1 and one at SCSI id 5.
SCSI id 1 is the boot disk. SCSI id 5 has the problem. I can boot the
system single user and mount the file systems on disk 1, but since they
were not shut down cleanly, I cannot mount the partitions on disk 5.
Needless to say they kept no backups of the info on disk 5 and they are
dying to get at the stuff in partition g on the disk.
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?
--
Tim Ward
McCormick School of Engineering and Applied Science
Northwestern University
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fsck on rz55 disk, bad superblock, bad superblock etc....?
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.
0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-09-16 22:30 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-09-16 22:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox