From owner-freebsd-questions Wed Mar 29 9:56: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (dns.megared.net.mx [200.52.207.52]) by hub.freebsd.org (Postfix) with ESMTP id A7BC537C175 for ; Wed, 29 Mar 2000 09:55:16 -0800 (PST) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [200.52.207.54]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id LAA89558; Wed, 29 Mar 2000 11:55:11 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <024701bf99a7$c9d48700$020a0a0a@megared.net.mx> From: "Alejandro Ramirez" To: "Doug Barton" , "Morten-Christian Bernson" Cc: "Giorgos Keramidas" , References: <38D5396B.2502A81C@gorean.org> Subject: RE: .. /var/log/mqueue low on space msgs Date: Wed, 29 Mar 2000 11:54:06 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: Morten-Christian Bernson Cc: Giorgos Keramidas ; 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