From owner-freebsd-questions@FreeBSD.ORG Mon Jun 26 10:39:45 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC39D16A59B for ; Mon, 26 Jun 2006 10:39:45 +0000 (UTC) (envelope-from muxas@mail.ru) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2664D4441D for ; Mon, 26 Jun 2006 10:21:53 +0000 (GMT) (envelope-from muxas@mail.ru) Received: from [80.243.64.200] (port=51287 helo=[10.0.1.3]) by mx2.mail.ru with asmtp id 1FuoE2-000GuG-00 for freebsd-questions@FreeBSD.org; Mon, 26 Jun 2006 14:21:51 +0400 Message-ID: <44A05015.9060104@mail.ru> Date: Mon, 26 Jun 2006 21:22:29 +0000 From: Maxim Vetrov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060528 SeaMonkey/1.0.1 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Need help restoring from filesystem failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 10:39:45 -0000 Hi to all, I'm running 6.1 release compiled from source. For a half of june it run smoothly. But then somehow I got a filesystem crash - it just refused to start after reaching fstab mounts, saying that fs (/data) was not properly dismounted: ... WARNING: /data was not properly dismounted /data: bad dir ino 2 at offset 16384: mangled entry panic: ufs_dir_bad: bad dir ... I rebooted in single user mode and run fsck -f on each filesystem. All but one were clean. I agreed on automatic correction suggested by fsck (shame on me, I do not remember what the message was about). Fsck applied suggested change and marked fs as clean. Then I tried to mount the fs: > mount /dev/ad0s1f /data Instead I got complains about not properly dismounting and page fault while at kernel mode (page not present). I run fsck one more time (it didn't find any problem this time) and rebooted the system. The first problem showed up. Now I have vicious circle: mangled entry and page fault. Is there any way to correct the problem? I was not so "excited" if it had been /var or even /usr, but it was /data with all of my personal projects and I do not have backups!!! Regards, muxas