From owner-freebsd-fs@FreeBSD.ORG Wed Jul 17 10:30:44 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3AC92CF9 for ; Wed, 17 Jul 2013 10:30:44 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id E8A68819 for ; Wed, 17 Jul 2013 10:30:43 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id 4DED8112759F; Wed, 17 Jul 2013 12:30:42 +0200 (CEST) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000812, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 13.5615] X-CRM114-CacheID: sfid-20130717_12304_19D79649 X-CRM114-Status: Good ( pR: 13.5615 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed Jul 17 12:30:42 2013 X-DSPAM-Confidence: 0.9956 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 51e67252416701431120196 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, >+Hi, 0.00128, in+>, 0.00199, wrote+>, 0.00209, Hi+>, 0.00223, I+>, 0.00282, this+>, 0.00298, >+>, 0.00357, >+>, 0.00357, References*fsn.hu>, 0.00357, In-Reply-To*fsn.hu>, 0.00383, with+>, 0.00383, on+>, 0.00383, wrote, 0.00514, From*Attila, 0.00535, Capacity, 0.00535, Mounted, 0.00594, Mounted, 0.00594, Avail, 0.00594, Used+Avail, 0.00594, Mounted+on, 0.00594, Mounted+on, 0.00594, Avail+Capacity, 0.00594, Capacity+Mounted, 0.00594, Filesystem, 0.00594, >+But, 0.00594, X-Spambayes-Classification: ham; 0.00 Received: from japan.t-online.private (japan.t-online.co.hu [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTPSA id 29A56112758E for ; Wed, 17 Jul 2013 12:30:41 +0200 (CEST) Message-ID: <51E67250.2020102@fsn.hu> Date: Wed, 17 Jul 2013 12:30:40 +0200 From: Attila Nagy MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: SU+J all files lost after a reboot? References: <51E66BDF.4010709@fsn.hu> In-Reply-To: <51E66BDF.4010709@fsn.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 10:30:44 -0000 On 07/17/13 12:03, Attila Nagy wrote: > Hi, > > SU+J file systems formatted with r248885. The file systems were in > active use for some months, they were 70% full. > Today, I rebooted the OS (clean shutdown, there were no crashes) with > r251643 just to see this: > /dev/da0p2 923G 32M 923G 0% /fs > > All files lost after a reboot??? > > But a quick find on the file system showed the files are(?) there, I > can even read them (at least the ones I've tried so far). > Starting an fsck gives: > # fsck /fs > ** /dev/da0p2 > > USE JOURNAL? [yn] y > > ** SU+J Recovering /dev/da0p2 > Journal timestamp does not match fs mount time > ** Skipping journal, falling through to full fsck > > ** Last Mounted on > ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups SUMMARY BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] y 6768204 files, 84410191 used, 36633989 free (27013 frags, 4575872 blocks, 0.0% fragmentation) ***** FILE SYSTEM IS CLEAN ***** ***** FILE SYSTEM WAS MODIFIED ***** # mount /fs # df -h /fs Filesystem Size Used Avail Capacity Mounted on /dev/da0p2 923G 644G 279G 70% /fs Scary.