From owner-freebsd-stable@FreeBSD.ORG Mon Nov 28 08:05:33 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CE8316A424 for ; Mon, 28 Nov 2005 08:05:33 +0000 (GMT) (envelope-from spooner@scripps.edu) Received: from relay2.scripps.edu (relay2.scripps.edu [137.131.200.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD6F43D75 for ; Mon, 28 Nov 2005 08:05:30 +0000 (GMT) (envelope-from spooner@scripps.edu) Received: from two40z.scripps.edu (two40z [137.131.20.112]) by relay2.scripps.edu (8.12.11/TSRI-5.0.2rAV) with ESMTP id jAS85Mi6029338 for ; Mon, 28 Nov 2005 00:05:22 -0800 (PST) Received: from two40z (two40z [137.131.20.112]) by two40z.scripps.edu (8.12.10+Sun/TSRI-5.0) with ESMTP id jAS85IvX003645 for ; Mon, 28 Nov 2005 00:05:22 -0800 (PST) Date: Mon, 28 Nov 2005 00:05:18 -0800 (PST) From: Mike Spooner To: freebsd-stable@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: undef - spam scanning disabled X-CanItPRO-Stream: 10_OptOut X-Scanned-By: CanIt (www . roaringpenguin . com) on 137.131.200.30 Subject: power outage X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 08:05:33 -0000 I didn't know if I should post this to questions or stable but here it is... We had a power outage and now /home won't mount. Before the power outage all was fine. On boot I get the following... . . . Starting file system checks: /dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 41075 free (587 frags, 5061 blocks, 0.8% fragmentation) /dev/ad1s1f: DEFER FOR BACKGROUND CHECKING /dev/ad1s1e: DEFER FOR BACKGROUND CHECKING /dev/da0s1d: DEFER FOR BACKGROUND CHECKING /dev/ad1s1d: DEFER FOR BACKGROUND CHECKING WARNING: /home was not properly dismounted /home: mount pending error: blocks 37920 files 0 ad1: FAILURE - READ_DMA status=51 error=40 LBA=69103423 mount: /dev/ad1s1f: Input/output error WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted Mounting /etc/fstab filesystems failed, startup aborted Boot interrupted Enter full pathname... # At this point all partitions are mounted except /home I get the following errors when running fsck # fsck /home ** /dev/ad1s1f ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes INCORRECT BLOCK COUNT I=6 (37920 should be 0) CORRECT? [yn] y ad1: FAILURE - READ_DMA status=51 error=40 LBA=69103423 CANNOT READ BLK: 54947584 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? [yn] y ad1: FAILURE - READ_DMA status=51 error=40 LBA=69103423 ad1: FAILURE - READ_DMA status=51 error=40 LBA=69103445 THE FOLLOWING DISK SECTORS COULD NOT BE READ: 54947584, 54947606, fsck_ufs: cannot alloc 3087484824 bytes for inoinfo There are two drives on this system (da0 and ad1). There are two other partitions on ad1 that mount with no problems and all partitions on da0 mount with no problems. As root I've tried to run sysinstall and the disk label editor to try to re-label the partitions on ad1 but when I select W, I get an error saying it can't write to ad1. Am I S-O-L or can I recover /home from this? If so, how? The system is running 5.3-RELEASE-p18 Thanks