tmpfs regression in recent -STABLE

Jeremy Chadwick freebsd at jdc.parodius.com
Mon Jan 10 22:27:56 UTC 2011


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 at 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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-stable mailing list