XFS filesystem - delete large files doesn't update free diskpace

Bug #372218 reported by Sb on 2009-05-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Undecided
Unassigned

Bug Description

Hi,

I have Jaunty x86 installed on an XFS partition in a single root filesystem. I deleted some large log files in /var/log totaling about 2 GB, and after deleting them I noticed that my free diskspace (reported by df) did not change. I verified it several times with Nautilus and df, which agreed that I had only about 500 MB of free space. Then I rebooted, and it now reports 2.5 GB of free space. Why the delay?

Thanks!

Gurre (gsvalander) wrote :

I have this problem too. Exactly the same location. Deleted a 18GB apache logfile with rm command and it is gone without any freed disk space. I have looked after huge files with "sudo find / -size +50M -exec ls -la {} \;" but no huge files exists elsewhere.

Gurre (gsvalander) wrote :

Forgot this:
Linux S3 2.6.27-7-server #1 SMP Fri Oct 24 07:37:55 UTC 2008 i686 GNU/Linux

Unix-like operating system don't delete a file on a disk until the last filehandle to the file is closed. Therefore, for log-files you also have to restart the respective daemon (e.g. apache) to have the disk space actually freed.

Rebooting the system has the same effect for obvious reasons.

Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.
Is this bug reproducible with the latest Lucid packages ?
Thanks in advance.

Changed in ubuntu:
status: New → Incomplete
Fabio Marconi (fabiomarconi) wrote :

 Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage .

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://help.ubuntu.com/community/ReportingBugs.

Fabio Marconi (fabiomarconi) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Sb (sb56637) wrote :

Sorry, I no longer use XFS.

Fabio Marconi (fabiomarconi) wrote :

Thanks for the reply
Fabio

I closa this report because the issue is not reproducible by the reporter. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in ubuntu:
status: Incomplete → Invalid

Hello Customer

Now you can keep your preferred watch for very special occasions since you can choose the same observe for just a few hundreds of dollars and be dressed in it with confidence and security anywhere you go.
Make your order before the prices go up.

*********************************************************************
I just received my PN-20 (Panerai Luminor GMT Automatic), and I have to say I'm really impressed. I have ordered from quite a few replica sites in the past, and I always ended up sending the watch back disappointed. I hope this makes it into your customer comments section. I would recommend this site to anyone. Very prompt delivery, great prices and wonderful quality.
Gramercy
                     Frances Carson
*********************************************************************

Click here ---> http://2014watchcollection.ru

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers