From owner-freebsd-hackers Wed Nov 19 16:10:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA15769 for hackers-outgoing; Wed, 19 Nov 1997 16:10:11 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA15738 for ; Wed, 19 Nov 1997 16:10:00 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id QAA26606; Wed, 19 Nov 1997 16:09:51 -0800 (PST) Message-ID: <19971119160950.02862@hydrogen.nike.efn.org> Date: Wed, 19 Nov 1997 16:09:50 -0800 From: John-Mark Gurney To: Aaron Smith Cc: hackers@FreeBSD.ORG Subject: Re: MFS /tmp oddness Reply-To: John-Mark Gurney References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Aaron Smith on Wed, Nov 19, 1997 at 12:30:39PM -0800 Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Aaron Smith scribbled this message on Wed, Nov 19, 1997 at 12:30 -0800: > i'm having this problem where a boot-time-mounted MFS ends up being sized > to 32M. if i unmount and remount it, it's 128M. thinking that DFLDSIZ was > the problem, i upped MAX and DFLDSIZ to 256M, but no dice. > > does anybody know why i'm getting such a tiny MFS? we tried using the -s > option too but that didn't work either. > > sorry if this is a FAQ, i searched the mailing list archives to no avail. sounds like you need to add a ulimit -d or increase the daemon data size in your /etc/login.conf... basicly the inital data size is to small for your config.. I'm still running 2.2.1-R so that I don't have that problem with login.conf.. ttyl.. > On Mon, 17 Nov 1997 22:22:10 PST, John-Mark Gurney writes: > >but be careful... normally you can only have a 64meg mfs unless you > >increase the datasize limit to be larger than 64megs... I build my > >kernel with: > >options "MAXDSIZ=(512*1024*1024)" > >options "DFLDSIZ=(512*1024*1024)" > > > >so that I can have: > >Filesystem 1K-blocks Used Avail Capacity Mounted on > >mfs:26 254319 62731 171243 27% /tmp > > > >note that the -s option specifies the size of the fs in 512byte blocks... > >there is an option to have the mfs /tmp backed by a file (so if you > >reboot your machine, your /tmp contents are saved, not sure if this > >hurts performane or not) which helps prevents lose of data... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD