<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: running low on /var disk space, how to add more? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538019#M39022</link>
    <description>1. Clean out messages in "/var/spool/imap", you  probably have messages dating back to years..&lt;BR /&gt;2. Setup a cron job that runs a cleanup script&lt;BR /&gt;3. even better use file system monitor, such as OMU, to alert you whne /var get to specific threshold then automatically runs cleanup script&lt;BR /&gt;4. creating a soft link to "/var/spool/imap" where you have plenty of space is another approach but it does not get to root cause of the problem. &lt;BR /&gt;T+ &lt;BR /&gt;</description>
    <pubDate>Mon, 23 Nov 2009 14:07:57 GMT</pubDate>
    <dc:creator>T. M. Louah</dc:creator>
    <dc:date>2009-11-23T14:07:57Z</dc:date>
    <item>
      <title>running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538014#M39017</link>
      <description>hello,&lt;BR /&gt;I'm running sles9 SP3.&lt;BR /&gt;it's a mail server that's been running very well for a few years now.  it's running cyrus as the imap server.  The / directory is now over 90% full.  When I did a du -sh on it I can see the /var/spool/imap directory is the one with most of the disk space usage.&lt;BR /&gt;What is a simple way to add more disk space to the /var directory?  I have 2 file systems on the machine, / and /opt2.  /opt2 is where I keep the vmware virtual machine as well as the disk backups that get synced to online backup.&lt;BR /&gt;I'm thinking I can get more disk space by doing backups on network so I can use that free disk space for /var.&lt;BR /&gt;My question is how?  I know there are a few ways but I want to be sure I don't damage this system - it is a production mail server.&lt;BR /&gt;Thank you,&lt;BR /&gt;Oskar</description>
      <pubDate>Sun, 22 Nov 2009 15:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538014#M39017</guid>
      <dc:creator>Oskar Teran</dc:creator>
      <dc:date>2009-11-22T15:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538015#M39018</link>
      <description>Shalom Oskar,&lt;BR /&gt;&lt;BR /&gt;Please post output of following command:&lt;BR /&gt;&lt;BR /&gt;df -kh&lt;BR /&gt;&lt;BR /&gt;If the system is set up with lvm, extending the system is easy. You would increase the diskspace allocated via vmware and then lvextend.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 22 Nov 2009 19:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538015#M39018</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-22T19:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538016#M39019</link>
      <description>It sounds like you do NOT have a separate /var filesystem.  If that is true, then you can't add disk space to /var specifically unless you create a separate /var file system now.  Instead you would need to add disk space to /, or figure out a way to clean up space in the / volume in general.&lt;BR /&gt;&lt;BR /&gt;The first place I would check is /var/log.  You may be able to recover some space by removing old log files or trimming large log files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Nov 2009 22:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538016#M39019</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-11-22T22:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538017#M39020</link>
      <description>Hi,&lt;BR /&gt;I don't have LVM setup.&lt;BR /&gt;That would make things easy wouldn't it!&lt;BR /&gt;&lt;BR /&gt;I've already cleaned up the /var/log directory as much as possible.&lt;BR /&gt;My problem is that cyrus (/var/spool/imap) has almost 20gb of data.  &lt;BR /&gt;&lt;BR /&gt;What else?&lt;BR /&gt;&lt;BR /&gt;Oskar</description>
      <pubDate>Mon, 23 Nov 2009 00:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538017#M39020</guid>
      <dc:creator>Oskar Teran</dc:creator>
      <dc:date>2009-11-23T00:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538018#M39021</link>
      <description>Hi Oskar,&lt;BR /&gt;Wel yes, LVM would be a better solution for this type of problems. but in your case, its not the real problem.&lt;BR /&gt;If you say your /var/spool/imap grows to this much and it happens suddenly it can be a caused by a misConfiguration,network or spam problem.&lt;BR /&gt;i suggest you to backup all the content of the imap folder and clear all logs and see how fast your file system grows.&lt;BR /&gt;&lt;BR /&gt;that is the best you could do for now.</description>
      <pubDate>Mon, 23 Nov 2009 03:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538018#M39021</guid>
      <dc:creator>Nuwan Alwis</dc:creator>
      <dc:date>2009-11-23T03:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538019#M39022</link>
      <description>1. Clean out messages in "/var/spool/imap", you  probably have messages dating back to years..&lt;BR /&gt;2. Setup a cron job that runs a cleanup script&lt;BR /&gt;3. even better use file system monitor, such as OMU, to alert you whne /var get to specific threshold then automatically runs cleanup script&lt;BR /&gt;4. creating a soft link to "/var/spool/imap" where you have plenty of space is another approach but it does not get to root cause of the problem. &lt;BR /&gt;T+ &lt;BR /&gt;</description>
      <pubDate>Mon, 23 Nov 2009 14:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538019#M39022</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2009-11-23T14:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: running low on /var disk space, how to add more?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538020#M39023</link>
      <description>All emails in /var/spool/imap are for production use, I can't get rid of them.&lt;BR /&gt;&lt;BR /&gt;I like the idea of a soft link to /var/spool/imap!&lt;BR /&gt;&lt;BR /&gt;I'll try moving the /var/spool/imap contents to /opt2 which has lots of space and put a softlink in the / directory for /var/spool/imap pointing to the real location in /opt2.&lt;BR /&gt;&lt;BR /&gt;Hope this works, I'll do a backup first!&lt;BR /&gt;&lt;BR /&gt;Oskar</description>
      <pubDate>Mon, 23 Nov 2009 15:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/running-low-on-var-disk-space-how-to-add-more/m-p/4538020#M39023</guid>
      <dc:creator>Oskar Teran</dc:creator>
      <dc:date>2009-11-23T15:36:21Z</dc:date>
    </item>
  </channel>
</rss>

