From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 04:17:40 2005 Return-Path: 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 7A5DA16A4CE for ; Tue, 1 Feb 2005 04:17:40 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id A853843D1D for ; Tue, 1 Feb 2005 04:17:39 +0000 (GMT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CvpTu-0006XB-00 for freebsd-questions@freebsd.org; Tue, 01 Feb 2005 05:17:38 +0100 Received: from [217.246.205.12] (helo=oliverfuchs.onlinehome.de) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1CvpTs-0005Ii-00 for freebsd-questions@freebsd.org; Tue, 01 Feb 2005 05:17:38 +0100 Received: from oliverfuchs.onlinehome.de (localhost.onlinehome.de [127.0.0.1]) j114IHP3001793 for ; Tue, 1 Feb 2005 05:18:17 +0100 (CET) (envelope-from oliverfuchs1@oliverfuchs.onlinehome.de) Received: (from oliverfuchs1@localhost) by oliverfuchs.onlinehome.de (8.13.1/8.13.1/Submit) id j114Gh3u001765 for freebsd-questions@freebsd.org; Tue, 1 Feb 2005 05:16:43 +0100 (CET) (envelope-from oliverfuchs1) Date: Tue, 1 Feb 2005 05:16:43 +0100 From: Oliver Fuchs To: FreeBSD Mailing list Message-ID: <20050201041642.GA1733@oliverfuchs.onlinehome.de> Mail-Followup-To: FreeBSD Mailing list References: <20050131110432.GD8619@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20050131110432.GD8619@alzatex.com> User-Agent: Mutt/1.4.2.1i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: Re: mounted ext2 fs causes bad shutdown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 04:17:40 -0000 On Mon, 31 Jan 2005, Loren M. Lang wrote: > On a FreeBSD 5.3 system of mine that is dual boot with linux I have my > linux home partition which is ext3fs mounted on freebsd. Anytime I > reboot or halt freebsd while it is mounted, freebsd fails to sync all > it's buffers. The first message Syncing disks, vnodes remaining, starts > out at around 5 or 10 and descreases to 0, then the message Syncing > disks, buffers remaining... starts at 7 and stays at 7 the whole time > untill freebsd gives up and reboots or halts anyways. Whenever I first > unmount the ext2fs, the vnodes remaining message comes up as usually, > but the buffers remains never does and freebsd just reboots normally. I > could modify the shutdown scripts to unmount the fs manually I suppose, > but I'd like to solve the real problem. You first have to umount the linux partition. I have this uncommented in my /etc/rc.shutdown (I have it from the list): # Insert other shutdown procedures here ######################################################## #extfs=`eval mount | grep ext2fs | awk '{print $1 }'` #for _elem in $extfs; do # echo -n "Unmounting ext2/ext3 filesystems: " # umount -a -t ext2fs # echo -n "$_elem " #done # #echo '.' #exit 0 ######################################################## Oliver -- ... don't touch the bang bang fruit