Date: Wed, 19 Nov 1997 16:09:50 -0800 From: John-Mark Gurney <gurney_j@efn.org> To: Aaron Smith <aaron@veritas.com> Cc: hackers@FreeBSD.ORG Subject: Re: MFS /tmp oddness Message-ID: <19971119160950.02862@hydrogen.nike.efn.org> In-Reply-To: <m0xYGlp-0000CuC@megami.veritas.com>; from Aaron Smith on Wed, Nov 19, 1997 at 12:30:39PM -0800 References: <m0xYGlp-0000CuC@megami.veritas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <newdatasize> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971119160950.02862>