Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 08:44:44 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Brian McGovern <bmcgover@cisco.com>, thierry.herbelot@alcatel.fr
Cc:        questions@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: MFS Sizes over 470MB? Can't seem to do it...
Message-ID:  <19990401084444.I413@lemis.com>
In-Reply-To: <199903311639.LAA02330@bmcgover-pc.cisco.com>; from Brian McGovern on Wed, Mar 31, 1999 at 11:39:31AM -0500
References:  <37023952.28B139D7@telspace.alcatel.fr> <199903311639.LAA02330@bmcgover-pc.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 31 March 1999 at 11:39:31 -0500, Brian McGovern wrote:
> [For anyone tuning in late, I'm having a problem specifying MFS file systems
> in excess of ~500MB without using -F, and I'm trying to understand why. The
> one comment I have received so far is that max MFS size is a function of
> total swap space. I'm now disagreeing...]
>
> Actually, it appears swap size is not an apparent function of MFS file systems.
> Even at a 2GB of swap, MFSs over 507MB (+/-) won't work unless the -F option
> is also given (although I'm not sure of the impact). Therefore, I don't know
> if this qualifies as a bug or not...
>
> Device      1K-blocks     Used    Avail Capacity  Type
> /dev/da0s1b   1048576     8552  1039896     1%    Interleaved
> /dev/da1s1b   1048576     8260  1040188     1%    Interleaved
> Total         2096896    16812  2080084     1%

I think it's a bug.  I've reported similar behaviour before.  I'm
running /tmp on mfs.  Here's what I have:

$ df /tmp
Filesystem  1048576-blocks     Used    Avail Capacity  Mounted on
mfs:272                 30        0       28     0%    /tmp
$ pstat -s
Device      1048576-blocks     Used    Avail Capacity  Type
/dev/wd0s1b             49       45        4    91%    Interleaved
/dev/sd0b              399       72      326    18%    Interleaved
Total                  449      118      331    26%

Note that all the values are in MB.  

I mount /tmp from /etc/rc.local, and specify /dev/sd0b as the swap
partition, so it *should* give me 449 MB.  Instead it gives me 30,
with no explanation.  If I umount it and mount it again, I get the
full 449 MB (or I did last time I tried; that means stopping X, and I
don't want to do that).

I haven't been complaining about this, because I know that people
will, with justification, ask me what I'm doing to fix it.  But I'm
sure it's a bug.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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