The HDD space leak makes it hard to debug..

I tried with a more precise approach this time and installed no updates between 
downloading and removal.
The file I removed had 30MB, Free space before removal: 47M, Free space after 
removal: 47M

Is there anything in particular that I should try?
I don't like wasting my precious HDD space on random attempts.
removing transmission-downloaded files with "rm" restores the free space as one 
would expect.

System info:
Using 13.04.
Kernel              3.8.0-14-generic x86_64
Transmission  2.77-0ubuntu1
ecryptfs-utils 103-0ubuntu2
ext4 mount options:  rw,nodiratime,relatime,discard,errors=remount-ro
apport               2.9.2-0ubuntu5, does not work

Steps I executed (full experiment log)

$path denotes the directory that contains the file to be deleted
$cryptopath denotes the same directory in encrypted version of the home 
directory.

The file was present both in $path and $cryptopath (checked by ls -lSrh and 
comparing timestamps and sizes)
df -h reported 47M of free space
Started transmission-gtk and selected "Delete files and Remove", confirmed
The file was gone from both directories,
BUT df -h still reported 47M of free space
Terminated transmission..   47M of free space
shutdown and new startup.. 47M of free space
forced fsck..    discovered that the free space and free inode counters were 
wrong, I actually have only 46MB of free space.

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  Release: 13.04 Raring
  Package: transmission-gtk 2.77 (14031)
  Package: ecryptfs-utils 103-0ubuntu2
  Kernel:  3.8.0-14-generic x86_64
+ apport:  2.9.2-0ubuntu5, does not work
  Using ecryptfs = Yes
+ ext4 mount options: rw,nodiratime,relatime,discard,errors=remount-ro
  
  This used to happen on 12.10 Quantal as well.
  
  download something.
- (Wait a year,install updates.. - My ecryptfs directories now contain shorter 
and longer encrypted/hashed names, perhaps there is an error in there?)
  
  Check the used disk space "df -h" or "du -s /home/.ecryptfs"
- Select your torrent, Right click, select "Delete files and remove"
+ Select your torrent, Right click, select "Delete files and remove", confirm.
  Check your disk space again.
  
  Expected: appropriate amount of space immediately freed up.
  Got: No space was freed, not even after closing transmission
  
  Apport is still broken on Raring, see #1150335

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1162820

Title:
  [eCryptfs on ext4] "Delete files and Remove" leaks HDD space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1162820/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to