From owner-freebsd-bugs Sat Nov 22 06:00:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA06868 for bugs-outgoing; Sat, 22 Nov 1997 06:00:05 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA06840; Sat, 22 Nov 1997 06:00:01 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 22 Nov 1997 06:00:01 -0800 (PST) Resent-Message-Id: <199711221400.GAA06840@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, cagney@tpgi.com.au Received: from random.tpgi.com.au (random.tpgi.com.au [203.12.160.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA06718 for ; Sat, 22 Nov 1997 05:56:58 -0800 (PST) (envelope-from cagney@tpgi.com.au) Received: (from smtpd@localhost) by random.tpgi.com.au (8.8.4/8.8.6) id AAA13705 for ; Sun, 23 Nov 1997 00:56:55 +1100 (EST) Received: from oberon.tpgi.com.au(203.12.160.2), claiming to be "oberon.com.au" via SMTP by random.tpgi.com.au, id smtpdAAAa003M3; Sun Nov 23 00:56:49 1997 Received: from b1.tpgi.com.au by oberon.com.au (SMI-8.6/SMI-SVR4) id AAA07091; Sun, 23 Nov 1997 00:56:42 +1100 Received: (from cagney@localhost) by b1.tpgi.com.au (8.8.7/8.7.3) id AAA27390; Sun, 23 Nov 1997 00:57:14 +1100 (EST) Message-Id: <199711221357.AAA27390@b1.tpgi.com.au> Date: Sun, 23 Nov 1997 00:57:14 +1100 (EST) From: Andrew Cagney Reply-To: cagney@tpgi.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: conf/5127: Can't mount mfs file system larger than 38mb from fstab Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5127 >Category: conf >Synopsis: Can't mount mfs file system larger than 38mb from fstab >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 22 06:00:00 PST 1997 >Last-Modified: >Originator: Andrew Cagney >Organization: >Release: FreeBSD 2.2.5-RELEASE i386 >Environment: Almost vanila 2.2.5 - Kernel configured with: options CHILD_MAX=128 options OPEN_MAX=128 options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(256*1024*1024)" A 500mb swap partition. >Description: Given the /etc/fstab entries: /dev/wd1b /tmp mfs rw 0 0 /dev/wd1b /mnt mfs rw,noauto 0 0 then, afer booting, mounting /mnt gives a very large (256mb) MFS /mnt. However /tmp's file system (mounted during boot) is only 38MB. Remounting the file system sorts out the problem (assming nothing is using /tmp :-) >How-To-Repeat: Reboot the system with the above kernel and FSTAB changes. Make /dev/wd1b >= 256mb. >Fix: Add/edit the lines below to /etc/rc after the edited line: mount -a -t nonfs,mfs if [ $? != 0 ]; then echo "Filesystem mount failed, startup aborted" exit 1 fi # Add mfs file systems now that all the swap is available ( ulimit -d unlimited && mount -a -t mfs ) if [ $? != 0 ]; then echo "Memory Filesystem mount failed, startup aborted" exit 1 fi >Audit-Trail: >Unformatted: