[Dirvish] Too much disk space for images

Jenny Hopkins hopkins.jenny at gmail.com
Fri Oct 2 10:09:07 UTC 2009


2009/10/2 Przemek Klosowski <przemek.klosowski at gmail.com>:
> On Thu, Oct 1, 2009 at 5:41 PM, Jenny Hopkins <hopkins.jenny at gmail.com> wrote:
>> 27093038 -rw-r--r-- 25 root   root    15064 2008-01-03 15:34 a2ps.cfg
>>
>> Is the link count here 25? If so, does this mean that 25 links to this file exist?
>
> yes and yes.
>
> If you want to doublecheck you can look for other files with the same
> inode (27093038), presumably in other daily snapshots
> __


This is all excellent troubleshooting information, and thanks to all
for help and comments.

Can I ask one final question?

If our du-sh * shows
31.7  20090705
0.2   20090712
1.8   20090719
0.4   20090726
1.5   20090802
0.5   20090809
0.6   20090816
1.2   20090823
19    20090830
1.5   20090906
1.9   20090913
1.9   20090916
1.8   20090917
1.8   20090918
1.8   20090919
2     20090920
2     20090921
1.9   20090922
1.9   20090923

does this mean that the directory size of  20090712 is 0.2G PLUS the
31.7G from  20090705, then in turn the  20090719 is 1.8G PLUS the
31.7G PLUS the 0.2G?

So that when image 20090705 is deleted, the du for 20090712 will show 31.9G?

And so on down the line, so that if we deleted all images except
20090923, the final image, it still would be our 75.4GB?  (Apart from
files that were overwritten by a larger size rather than added as
new).

Sorry - 3 questions :-)


Many thanks,

Jenny


More information about the Dirvish mailing list