Find Big Files or Big Directories
Maxime Alarie
malarie at processia.com
Fri Jul 30 15:07:52 UTC 2010
-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of NoOp
Sent: 29 July 2010 18:47
To: ubuntu-users at lists.ubuntu.com
Subject: Re: Find Big Files or Big Directories
On 07/29/2010 03:34 PM, NoOp wrote:
> On 07/29/2010 06:28 AM, Maxime Alarie wrote:
> ...
>>
>> This server is backup using rsync. But I have found out that the
target
>> hd was not mounted and that's probably the cause of my problem.
I've
>> been trying to find the temp files, but I did not found any, I guess
>> rsync detects if the targer directory exists and canels the backup.
>>
>> I Only have 50GB out of 225GB that is returned by du -shc / but df
tells
>> me the hdd is 90% full.
>>
>
> You wrote previously:
>> 52G var
> Look in /var & /var/backup
>
> Try this:
>
> $ sudo du -h --max-depth=1 /var/ | sort -n -r
>
> You can then go deeper by changing the '--max-depth=2' etc.
Sorry, this might be better for you:
$ sudo du --max-depth=2 /var/ | sort -n
Thanks noop,
I have found and fixed my problem. I am ashamed I did not detect it
sooner.
I rsync /var with an external hdd mounted in /backup
The external hdd was not in fstab, so it was not mounted at boot time.
Hence, rsync was synching with the directory /backup.
Thanks for your help friend.
More information about the ubuntu-users
mailing list