Date: Thu, 26 Mar 1998 11:25:18 -0600 From: Ted Spradley <tsprad@set.spradley.tmi.net> To: Rob Hartill <robh@imdb.com> Cc: stable@FreeBSD.ORG Subject: Re: MFS size problem. 2.2.6-BETA Message-ID: <E0yIGP0-0006SP-00@set.spradley.tmi.net> In-Reply-To: Your message of "Thu, 26 Mar 1998 14:11:29 GMT." <Pine.BSF.3.96.980326140332.13427A-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
As I was writing I figured it out, I think. Check your kernel configuration for MAXDSIZ. Hmmm. LINT says the default is 128 Megabytes, but I believe my /tmp was only 32M bytes before I changed it. I've seen similar things. On my 2.2.6-BETA machine: servalan$ df -k /tmp Filesystem 1K-blocks Used Avail Capacity Mounted on mfs:27 127151 1 116978 0% /tmp servalan$ swapinfo Device 1K-blocks Used Avail Capacity Type /dev/sd0b 131072 9396 121612 7% Interleaved /dev/sd1b 131072 9280 121728 7% Interleaved Total 262016 18676 243340 7% Well, OK, I'm not surprised at this, since fstab has only: servalan$ grep tmp /etc/fstab /dev/sd0s1b /tmp mfs rw 0 0 But I have another machine running 3.0-971006-SNAP: set$ df -k /tmp Filesystem 1K-blocks Used Avail Capacity Mounted on mfs:22 253703 703 232704 0% /tmp set$ swapinfo Device 1K-blocks Used Avail Capacity Type /dev/wd0s1b 512000 60132 451804 12% Interleaved set$ grep tmp /etc/fstab /dev/wd0s1b /tmp mfs rw 0 0 Woops! I think I found it, in my kernel configuration file: options "MAXMEM=(512*1024)" options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(256*1024*1024)" I bet that MAXDSIZ limits the size of the mfs process. Check yours. > > After a reboot: > > # cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > /dev/sd0s1b none swap sw 0 0 > /dev/sd0s1a / ufs rw 1 1 > /dev/sd0s1e /usr ufs rw,noatime 2 2 > proc /proc procfs rw 0 0 > /dev/sd0s1b /tmp mfs rw,-s=524288 0 0 > > # swapinfo > Device 1024-blocks Used Avail Capacity Type > /dev/sd0s1b 393216 0 393152 0% Interleaved > > # df /tmp > Filesystem 1024-blocks Used Avail Capacity Mounted on > mfs:24 31411 1 28898 0% /tmp > > # umount /tmp > # mount /tmp > > # df /tmp > Filesystem 1024-blocks Used Avail Capacity Mounted on > mfs:230 253955 1 233638 0% /tmp > > -=-= > > What did I screw up ? > > cheers > rob > -- > Rob Hartill Internet Movie Database (Ltd) > http://www.moviedatabase.com/ .. a site for sore eyes. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yIGP0-0006SP-00>