Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 14:27:45 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        John Baldwin <jhb@freebsd.org>, freebsd-stable@freebsd.org, avg@freebsd.org
Subject:   Re: tmpfs regression in recent -STABLE
Message-ID:  <20110110222745.GA80716@icarus.home.lan>
In-Reply-To: <20110110221424.GK23329@acme.spoerlein.net>
References:  <20110110214004.GI23329@acme.spoerlein.net> <201101101649.14385.jhb@freebsd.org> <20110110221424.GK23329@acme.spoerlein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 10, 2011 at 11:14:24PM +0100, Ulrich Spörlein wrote:
> On Mon, 10.01.2011 at 16:49:14 -0500, John Baldwin wrote:
> > On Monday, January 10, 2011 4:40:04 pm Ulrich Spörlein wrote:
> > > Hey,
> > > 
> > > the following line in fstab used to work just fine for my /tmp:
> > > 
> > > tmpfs                   /tmp    tmpfs   rw,size=1g,mode=1777    0 0
> > 
> > I thought there was a thread recently about tmpfs not supporting things like 
> > "1g" for size?
> 
> Nah, this must be some leak of another kind. Luckily I could bandaid
> this by unionfs mounting an mfs disk over /tmp so programs continue to
> run.
> 
> But, tmpfs really is out of resources, as I cannot create new tmpfs's
> for example:
> 
> root@elmar: ~# mount -t tmpfs tmpfs /media
> mount: tmpfs : No space left on device
> 
> And besides, the /tmp mount comes up fine and shows enough free space (I
> checked this the last time, after I had rebooted the box).

Are you using ZFS on the same machine?  If so, ZFS and tmpfs don't play
well together, don't use tmpfs.  Please search the below page for "tmpfs
runs out of space" for all relevant posts:

http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/thread.html

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




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