From owner-freebsd-current@FreeBSD.ORG Sun Jan 1 22:59:20 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2301106566C for ; Sun, 1 Jan 2012 22:59:20 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx07.syd.optusnet.com.au (fallbackmx07.syd.optusnet.com.au [211.29.132.9]) by mx1.freebsd.org (Postfix) with ESMTP id 4EC268FC0C for ; Sun, 1 Jan 2012 22:59:19 +0000 (UTC) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by fallbackmx07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q01L5xBv001345 for ; Mon, 2 Jan 2012 08:05:59 +1100 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q01L5uKD008378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jan 2012 08:05:57 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.5/8.14.4) with ESMTP id q01L5sRG032978; Mon, 2 Jan 2012 08:05:54 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.5/8.14.4/Submit) id q01L5r0n032977; Mon, 2 Jan 2012 08:05:53 +1100 (EST) (envelope-from peter) Date: Mon, 2 Jan 2012 08:05:53 +1100 From: Peter Jeremy To: Randy Bush Message-ID: <20120101210552.GG55604@server.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="raC6veAxrt5nqIoY" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD current mailing list Subject: Re: lost inode, no backup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 22:59:20 -0000 --raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I know it's been a week but no-one else has offered any input. On 2011-Dec-25 08:39:02 -0500, Randy Bush wrote: >FreeBSD ran.psg.com 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Sat Dec 24 12:33= :51 UTC 2011 root@ran.psg.com:/usr/obj/usr/src/sys/RAN amd64 =2E.. >on reboot, /usr/home was empty, as iff the inode had been lost. but no >lost+found and fsck found no problem. =2E.. >/dev/da0s1f 138G 111G 15G 88% /usr =2E.. ># 4 - /usr >/sbin/dump 0Luaf - /dev/da0s1f | $SSH $USYS "/bin/cat > $DDIR/usr" > >and which had run quite happily a few hours before =2E.. > DUMP: DUMP: 56980137 tape blocks =2E.. >except that on all backups since the system moved to 10-current, home is >empty in the usr file!!! all other directories there are good. It's not explicitly specified but I presume /usr/home is a directory within /usr. (Not a symlink or mountpoint). What version were you running before 10-current? Is /usr UFS2 with softupdates+journalling? Is userland (specifically /sbin/dump and fsck) aligned with the kernel? Any idea what SVN revision your system corresponds to? Have there been any unclean shutdowns of the system? "Tape blocks" reported by dump(8) are (as far as I can tell) always 1KB. Your df(1) output reports 111GB used in /usr but dump(8) only shows ~57GB being backed up. Do you have any idea why there's such a difference? How much space would you expect to be used in /usr? Do you have the fsck(8) output? If so, how much space does it report? Have you checked the dumps for all the other filesystems? Are any of them missing data or containing unexpectedly empty directories? I don't suppose you have the output from hd(1), stat(1) and "ls -al" of /usr & /usr/home? --=20 Peter Jeremy --raC6veAxrt5nqIoY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEUEARECAAYFAk8AyrAACgkQ/opHv/APuIf1OQCfYJ7zIVTiEVoibuV0qWMpDNT8 964AmMnu1TR3fTBDE8RbION1bBQO9j8= =grZ+ -----END PGP SIGNATURE----- --raC6veAxrt5nqIoY--