From owner-freebsd-bugs Wed Jan 15 9:30: 5 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26E2B37B401 for ; Wed, 15 Jan 2003 09:30:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C72C743F1E for ; Wed, 15 Jan 2003 09:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0FHU3NS057036 for ; Wed, 15 Jan 2003 09:30:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0FHU3NC057035; Wed, 15 Jan 2003 09:30:03 -0800 (PST) Date: Wed, 15 Jan 2003 09:30:03 -0800 (PST) Message-Id: <200301151730.h0FHU3NC057035@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Attila Nagy Subject: Re: kern/47105: large filesystems may cause infinite panic loop Reply-To: Attila Nagy Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/47105; it has been noted by GNATS. From: Attila Nagy To: Roy Hooper Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/47105: large filesystems may cause infinite panic loop Date: Wed, 15 Jan 2003 18:26:42 +0100 (CET) Hello, > >Description: > After creating a snapshot with 'mount -u -o snapshot /backup/snapshots/snap1 /backup', and running ls on the directory, both the mount and ls hung and were in "D" state in ps. Issuing a reboot request failed -- the system stayed up -- as did ctrl-alt-delete. I had to resort to a poweroff. When the system came back up, the background fsck began and the system came up. Eventually the system paniced and rebooted, but came back up. After the 2nd panic during background fsck, the system stopped rebootin g and needed a manual fsck to repair the disk. > This is slightly different than my experience with RC2 where making a snapshot on the same large filesystem would cause a panick and reboot, as opposed to a hang. > I have never successfully had the large filesystem (/dev/ad2s1a) finish a snapshot -- the mount process is always hung. The background fsck also never exits (it always eventually panics). > Unfortunately the machine is headless, so I missed the panic messages. I've had the same on my server. It has an 1.2 TB filesystem and it hangs during the background fsck. (I don't think it starts it, maybe it is the snapshot) There are no panic messages. You can switch virtual consoles, but nothing more. The machine responds to ICMP echo requests. > >Fix: > Don't use snapshots and set background_fsck="NO" in /etc/rc.conf Which is quite sad, because fsck'ing a big filesystem takes very-very long time... ----------[ Free Software ISOs - http://www.fsn.hu/?f=download ]---------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message