From owner-freebsd-hackers Fri Sep 1 09:59:20 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id JAA09400 for hackers-outgoing; Fri, 1 Sep 1995 09:59:20 -0700 Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id JAA09392 for ; Fri, 1 Sep 1995 09:59:16 -0700 Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA12136 for hackers@freebsd.org; Fri, 1 Sep 1995 18:27:53 +0200 From: Luigi Rizzo Message-Id: <199509011627.SAA12136@labinfo.iet.unipi.it> Subject: A funny superblock! To: hackers@freebsd.org Date: Fri, 1 Sep 1995 18:27:53 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1011 Sender: hackers-owner@freebsd.org Precedence: bulk Today I was trying to recover a 2.0.5 disk that got scrambled after a panic, and found out that both the / and /usr partitions had a bad superblock. Before updating them, I decided to have look with hexdump, and found out that the superblocks on both partitions were "almost" correct, except that they were offset by two bytes on the disk (i.e. useful data started at byte 2 instead of 0). Kind of funny; can someone think of a reason for this ? I tried to resync the superblock, at which point fsck complained that the alternate superblocks contained different information. I gave up and "fsck -b 32 -y" ... Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================