<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Richard,<br>
      <br>
      That should work but you might want to see if something else is
      using excess space in /var.  See what the top directories in /var
      are using with:<br>
      <br>
        du -s /var/*|sort -n<br>
      <br>
      There may be dead emails in /var/spool/mqueue or
      /var/spool/clientmqueue or similar cruft so this can be useful
      too:<br>
      <br>
       du -s /var/spool/*|sort -n<br>
      <br>
      Lastly, /var/lib/mysql, where databases are kept, can be a
      problem.  On one server I did something like your suggestion to
      move that directory under /home.<br>
      <br>
      Of course, you should make any changes in single-user mode to be
      sure that the files are not being updated while you are moving
      stuff around.<br>
      <br>
      <br>
      Eric<br>
      <br>
      <br>
      On 4/2/13 7:02 AM, Richard Morgan wrote:<br>
    </div>
    <blockquote cite="mid:DA5DBD6DA064410088CCF882A10AC6D5@morganweb"
      type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <base
href="file://C:%5CProgram%20Files%5CCommon%20Files%5CMicrosoft%20Shared%5CStationery%5C">
      <style>BODY {
        BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial; BACKGROUND-POSITION: left top; COLOR: #000000; FONT-SIZE: 10pt
}
</style>
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19403">
      <div>On my 5108R I'm seeing a fairly consistent problem where the
        log files are growing and causing /var to run out of space -
        this stops mail for send/receive and a few other things.  It
        accelerates when there is a security issue as the log files grow
        quite rapidly.</div>
      <div> </div>
      <div>Can I move /var/log to the /home partition without breaking
        the server?</div>
      <div> </div>
      <div>My idea is as follows, doing everything as root:</div>
      <div> </div>
      <div>mkdir /home/log</div>
      <div>cp -r /var/log/* /home/log</div>
      <div>rm -fr /var/log</div>
      <div>ln -s /home/log /var/log</div>
      <div> </div>
      <div>Forgive me if this seems entirely stupid, but I have to do
        something because every ten days or so I get calls/sms from
        clients saying: "oo-er, moi email don't be working" (or
        something similar).  All I need to do is delete a few of the
        biggest log files and life resumes as normal.</div>
      <div> </div>
      <div>Maybe someone has a stronger solution or would care
        to comment on the above.  Will this survive a reboot?</div>
      <div> </div>
      <div>Thanks for the help.  Richard</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>