From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,698e8bf92840016b X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-09-18 08:37:29 PST Path: bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!news2.near.net!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.sys.dec Subject: Re: fsck on rz55 disk, bad superblock, bad superblock etc....? Date: 16 Sep 1994 22:30:21 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <35d69t$1a9@nntpd2.cxo.dec.com> References: <35c827$c6t@news.acns.nwu.edu> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com 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