From owner-freebsd-fs@FreeBSD.ORG Mon Jan 3 22:17:30 2005 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA53716A4CE for ; Mon, 3 Jan 2005 22:17:30 +0000 (GMT) Received: from lancia.kaluga.ru (lancia.kaluga.ru [62.148.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F22E143D2D for ; Mon, 3 Jan 2005 22:17:29 +0000 (GMT) (envelope-from freebsd-fs@merdin.com) Received: from localhost (242.net-144.kaluga.ru [62.148.144.242] (may be forged)) by lancia.kaluga.ru (8.13.1/8.13.1) with ESMTP id j03MHSZm088477 for ; Tue, 4 Jan 2005 01:17:28 +0300 (MSK) Received: from localhost ([127.0.0.1]) by [127.0.0.1] with ESMTP (SpamPal v1.583) sender ; 04 Jan 2005 01:17:28 +0400 Date: Tue, 4 Jan 2005 01:17:28 +0300 From: Pavel Merdine X-Mailer: The Bat! (v3.0.1.33) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <1964212095.20050104011728@merdin.com> To: =?Windows-1251?Q?Arne_W=F6rner?= In-Reply-To: <20050103215333.32555.qmail@web41212.mail.yahoo.com> References: <505295882.20050104004342@merdin.com> <20050103215333.32555.qmail@web41212.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Antivirus: Dr.Web (R) for Mail Servers on lancia.kaluga.ru host X-Antivirus-Code: 100000 Subject: Re[2]: dup alloc, please advice X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 22:17:30 -0000 Hello , Tuesday, January 4, 2005, 12:53:33 AM, you wrote: >> /kernel: mode = 040700, inum = 12, fs = /somemount >> /kernel: panic: ffs_valloc: dup alloc >> /kernel: >> /kernel: syncing disks... 49 22 8 7 7 7 7 7 7 7 7 7 7 7 >> >> It happened just in 10 minutes after fsck. >> > Was fsck completed? If yes, what were the log messages/results? I think, yes. I cannot provide the result, because I dont write logs. I'll make sure they are recorded next time. I use a script like: /sbin/mount $2 || (/sbin/fsck -y $2 && /sbin/mount $2) to mount data disks. >> What should I do in such situations? >> > Have you tried: > 1. Booting to single user mode and doing a "fsck /somemount" > manually (I would like to see the results). > 2. Halting the system gracefully (with halt or so) > 3. Mounting just clean file systems (no -f or so; no soft updates > (just for the beginning)) That is a production machine, so I cant experiment with it. It mounts all disks automatically thru the script. The machine just halted when I tried to do umount -f on disk that was using 100% according to systat. After that the machine gone thru usual boot and checked most of data disks. In 10 minutes after that it panicked due to error on another disk (not the one I tried to umount). "Failty" disk was unmounted. >> FreeBSD 4.10-STABLE #0: Mon Jul 26 05:46:38 EDT 2004 >> >> By the way, sometimes I also get >> /kernel: ufs_rename: fvp == tvp (can't happen) >> in logs. >> > Might be an old inconsistency, too (if I remember right, you were > the one, who liked to mount unclean fs :-)) ). Maybe you write. But now I dont mount with -f. Dont say I cant to umount -f :) It's not about me liking -f. There should be some documentation saying about proper use of softupdates and ide write cache. It's not always clear even from the sources. > -Arne > __________________________________ > Do you Yahoo!? > Send a seasonal email greeting and help others. Do good. > http://celebrity.mail.yahoo.com -- / Pavel Merdine