Date: Wed, 29 Mar 2000 11:54:06 -0600 From: "Alejandro Ramirez" <ales@megared.net.mx> To: "Doug Barton" <Doug@gorean.org>, "Morten-Christian Bernson" <freebsd-questions@mortencb.cx> Cc: "Giorgos Keramidas" <keramida@ceid.upatras.gr>, <freebsd-questions@FreeBSD.ORG> Subject: RE: .. /var/log/mqueue low on space msgs Message-ID: <024701bf99a7$c9d48700$020a0a0a@megared.net.mx> References: <Pine.BSF.4.21.0003191449010.151-100000@pc.mortencb.cx> <38D5396B.2502A81C@gorean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Also you can use the following sendmail option: # minimum number of free blocks on filesystem O MinFreeBlocks=125000 this means that sendmail isnt going to queue any more mail if the space in the var slice, its less than 125000 Blocks (1GB) if you are using the default 8k block size. P.S. Dont forget to restart sendmail (killall -HUP sendmail). Greetings... Ales ----- Original Message ----- From: Doug Barton <Doug@gorean.org> To: Morten-Christian Bernson <freebsd-questions@mortencb.cx> Cc: Giorgos Keramidas <keramida@ceid.upatras.gr>; <freebsd-questions@FreeBSD.ORG> Sent: Sunday, March 19, 2000 2:32 PM Subject: Re: .. /var/log/mqueue low on space msgs > Morten-Christian Bernson wrote: > > > I don`t believe I had anything important in /var, but I can`t boot without > > the /var dir set up properly, so my question is... How do I restore my > > /var dir? I have no backup (stupid me I guess). > > > > I think I will backup before following any usefull tips and tricks here > > later. > > A) ALWAYS have good backups before doing any system administration > tasks. No one should need to remind you about that. > > B) You can use mergemaster to generate a virginal /var directory. Just > do 'mergemaster -v -t /tmp/temproot' then after the directories are > created hit Ctrl-C, go to /tmp/temproot and 'cp -rP var /'. This his > assuming that you have properly set up your symlink from /usr/var to > /var. > > Good luck, > > Doug > -- > "While the future's there for anyone to change, still you know it seems, > it would be easier sometimes to change the past" > > - Jackson Browne, "Fountain of Sorrow" > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024701bf99a7$c9d48700$020a0a0a>