<div dir="ltr">ok just tested that a dev server and that worked do I've push it to live.<div><br></div><div style>That given me some more breathing room. However I don't think this is the root cause of the problem as a df -h still shows:</div>
<div style><br></div><div style><div style><div><br></div><div>Filesystem      Size  Used Avail Use% Mounted on</div><div>/dev/sdb1       370G  342G   24G  94% /var</div><div><br></div><div style>so there is still 30 gig odd being gobbled up somewhere</div>
<div><br></div></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 April 2013 09:45, alan <span dir="ltr"><<a href="mailto:alan@hipnosi.org" target="_blank">alan@hipnosi.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Note that you replace /dev/hdXY with
      /dev/sdb1 (or whatever your partition  is called)<br>
      <br>
      Just tested lowering it (on a non-production server) and got
      another 100GB available on /data straight away, <br>
      so seems OK to do it live.<br>
      <br>
      root@otp:~# df -h /dev/sdb1<br>
      Filesystem      Size  Used Avail Use% Mounted on<br>
      /dev/sdb1       1.8T   52G  1.7T   3% /data<br>
      <br>
      root@otp:~# tune2fs -m 1 /dev/sdb1<br>
      tune2fs 1.42 (29-Nov-2011)<br>
      Setting reserved blocks percentage to 1% (4883778 blocks)<br>
      <br>
      root@otp:~# df -h /deb/sdb1<br>
      Filesystem      Size  Used Avail Use% Mounted on<br>
      /dev/sdb1       1.8T   52G  1.8T   3% /data<br>
      root@otp:~# <br><div><div class="h5">
      <br>
      <br>
      On 29/04/13 09:32, Dan Attwood wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">>Have
          you tried running df --sync</span><br>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">didn't
            know that. But I've run it and it makes no difference</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">> </span><span style="font-family:arial,sans-serif;font-size:13px">ext
            filesystems reserve 5% of the available space</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">The link
            talks about ext3 - the drive is ext4, those that make a
            difference?</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">Also I
            was to run the </span><span style="background-color:rgb(235,241,245);line-height:1.1em">tune2fs
            -c 0 -i 1m /dev/hdXY command is that something that then
            happens instantly or will this cause downtime?</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On 29 April 2013 09:26, Alan <span dir="ltr"><<a href="mailto:alan@hipnosi.org" target="_blank">alan@hipnosi.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ext
            filesystems reserve 5% of the available space<br>
            reasons  and solution explained here:<br>
            <a href="https://wiki.archlinux.org/index.php/Ext3#Reclaim_Reserved_Filesystem_Space" target="_blank">https://wiki.archlinux.org/index.php/Ext3#Reclaim_Reserved_Filesystem_Space</a><br>
            <br>
            I hope I have not misunderstood, with relevance to VM's...<br>
            <div>
              <div><br>
                On Mon, 29 Apr 2013 09:13:58 +0100<br>
                Dan Attwood <<a href="mailto:danattwood@gmail.com" target="_blank">danattwood@gmail.com</a>>
                wrote:<br>
                <br>
                > hi all hopefully someone can point me to a good
                solution to this.<br>
                ><br>
                > I have a VM server running on VMare. Recently if
                started to run out of<br>
                > space on it's /var disk - which is a thin
                provisioned disk. We gave it some<br>
                > more space and I rebooted the server into gparted
                and expanded the disks<br>
                > into the new free space.<br>
                ><br>
                > Today I've come in to find that the /var disk had
                run out of space<br>
                > completely. I did a df -h and can see the
                following:<br>
                ><br>
                > Filesystem           Size   Used  Avail   use%
                mounted on<br>
                > /dev/sdb1             370G  348G  3.0G 100% /var<br>
                ><br>
                ><br>
                > so the 370 gig disk has only used 348 gigs and yet
                is 100% percent full<br>
                ><br>
                > my imeadiate thought was I had run out of inodes,
                however:<br>
                ><br>
                > filesystem           inodes      iused    ifree    
                      iuse%<br>
                > /dev/sdb1            24576000 430482 24145518    2%
                /var<br>
                ><br>
                > so I have loads of them free.<br>
                ><br>
                > I also rebooted the server into grparted and double
                checked the disk<br>
                > partition and also ran a disk check from here -
                this flagged up no errors.<br>
                ><br>
                > I've now gone through and deleted some stuff to
                give me some breathing room<br>
                > but I really need that space back.<br>
                ><br>
                > Does any ones have any suggestions please?<br>
                ><br>
                > Dan<br>
                <br>
                <br>
              </div>
            </div>
            <div>
              <div>_______________________________________________<br>
                Kent mailing list<br>
                <a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
                <a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Kent mailing list
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>