From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a66b73b5c3e54a2b X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: SUPERBLOCK ! SOS ! HELP! Date: 1996/10/28 Message-ID: <553ea3$ae2@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 192992960 distribution: world references: <3270C6CC.39E7@navier.ist.utl.pt> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 In article <3270C6CC.39E7@navier.ist.utl.pt>, Jorge Prates writes: ># fsck -p /dev/rrz0h >/dev/rrz0h: /dev/rrz0h: BAD SUPER BLOCK: MAGIC NUMBER WRONG Some of the things that might have happened: 1. The partition table has changed with respect to the old group of file systems. In this case, the location of the H partition doesn't match where the file system still (maybe) is. You may find the file system intact if you can get the partition table recovered. 2. You selected AdvFS instead of UFS and it scribbled over the superblock. The first backup superblock is always at 32, so you might try it. Failing that, newfs has an option that will echo the superblock locations without overwriting the file system. If you can use the right parameters for the command, you can try different superblocks off that list. 3. You scribbled over parts of the file system. As with #2 you may be able to find an intact superblock from the old file system to use with fsck. If not, UFS salvage takes lots of work... > >/dev/rrz0h: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > -- Alan Rollow alan@nabeth.cxo.dec.com