From owner-freebsd-hardware@FreeBSD.ORG Tue Nov 25 20:29:57 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 645A516A4CE for ; Tue, 25 Nov 2003 20:29:57 -0800 (PST) Received: from itree.org (tree.caddev.com [24.153.136.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D17743FCB for ; Tue, 25 Nov 2003 20:29:54 -0800 (PST) (envelope-from treeml@itree.org) Received: from laptop (user-0cdfduk.cable.mindspring.com [24.215.183.212]) by itree.org (8.11.6/8.11.6) with SMTP id hAQ4Y7X00833 for ; Tue, 25 Nov 2003 22:34:07 -0600 From: "treeml" To: Date: Tue, 25 Nov 2003 23:25:58 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: SEARCH FOR ALTERNATE SUPER-BLOCK FAILED X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 04:29:57 -0000 My machine is a FreeBSD 5.1-Relase, with either UFS or UFS2 filesystem. I must have switch off the electricity before the machine finishes shutting down. (I did "shutdown -h now", and waited at least 5 mins before I turned off the switch) Now the /usr partition won't mount. In the past 24 hr, I have look all over the Internet, and try all the recommendations. Nothing seems to work. Following are errors I got. The /usr is partition on "/dev/ad0s1f". ----------------------------------- -su-2.05b# mount /dev/ad0s1f /mnt/ ------------------------------------- When I try to fsck the partition I get the following errors, --------------------------------------- bash-2.05b# fsck dev/ad0s1f ** /dev/ad0s1f CANNOT READ BLK: 114411168 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 114411168, 114411169, 114411170, 114411171, LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y 32 is not a file system superblock SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). bash-2.05b# fsck dev/ad0s1f ** /dev/ad0s1f CANNOT READ BLK: 114411168 CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 114411168, 114411169, 114411170, 114411171, LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y 32 is not a file system superblock SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). --------------------------------------- I have also try, --------------------------------------- dd if=/dev/ad0s1f skip=32 of=/dev/ad0s1f seek=16 bs=512 count=16 --------------------------------------- also no luck. Does anyone know how I can get the parition mounted or just to partially recover the data from that partition? Thanks in advance Tree