Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 1997 14:20:04 -0700 (PDT)
From:      ajhar@noao.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   misc/4576: mfs does not mount requested size from /etc/fstab
Message-ID:  <199709182120.OAA07620@hub.freebsd.org>
Resent-Message-ID: <199709182130.OAA08189@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4576
>Category:       misc
>Synopsis:       mfs does not mount requested size from /etc/fstab
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 18 14:30:01 PDT 1997
>Last-Modified:
>Originator:     Edward Ajhar
>Organization:
National Optical Astronomy Observatories
>Release:        FreeBSD-2.2-stable from 1997-09-10
>Environment:
FreeBSD husa.tuc.noao.edu 2.2-STABLE FreeBSD 2.2-STABLE #0: Fri Sep 12 11:46:07 MST 1997     ajhar@husa.tuc.noao.edu:/usr/src/sys/compile/HUSA  i386

>Description:
Memory file system when mounted automatically from /etc/fstab does
not yield the size filesystem requested.  It appears that ~32MB is
what you get regardless of what you want, but I have not tried this
for sizes smaller than 32MB.  (Previously, the size was about the
size of the partition [I think].)  This began happening, I believe,
some time in August.


>How-To-Repeat:
If /etc/fstab contains

  /dev/sd0s1b		/tmp		mfs	rw,-s=131072	0	0

a 'df' yields

  Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
  mfs:28          31404        4    28888     0%    /tmp


However, it DOES work to mount a filesystem manually with

   mount -t mfs -o -s=131072 /dev/sd1s1b /mnt

This yields 

   Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
   mfs:288         63567        1    58481     0%    /mnt

although this is not really an acceptable work-around for /tmp.

>Fix:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709182120.OAA07620>