[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regards the /



On Wed, 21 Sep 2011 23:45:00 +0800, lina wrote:

> On Wed, Sep 21, 2011 at 11:10 PM, Camaleón <noelamac@gmail.com> wrote:

>> > I followed Camaleón's suggestion, the output of
>> >
>> > cd /
>> > du -h | grep "[0-9]M" | sort -n -r | less
>> >
>> > the first few ones even reached hundreds of M.
>>
>> Are those big figures for files or folders?
>>
>>
> folders.
> 
> 
> 
>> 636M    ./src/some_software
>> 592M    ./src/some_software/
>> 543M    ./.local/share
>> 543M    ./.local
>> 540M    ./.local/share/Trash/files
>> 540M    ./.local/share/Trash
>> 494M    ./Documents/p
>> 392M    ./Documents/c
>> 375M    ./Documents/c/BS409
>> 356M    ./src/some_software/software/test 
>> 356M    ./.mozilla/firefox/3gbs90vf.default 
>> 356M    ./.mozilla/firefox
>> 356M    ./.mozilla

Then it's fine. I would worry when a file gets oversized, that may 
indicate a problem.

But I would carefully watch your "/.local/share/Trash" and your Firefox 
profile. Both folders look very big to me, you may have there "erasable" 
files (deleted and/or cached files you can safely remove).

Look:

sm01@stt008:~$ du -hs .local/share/Trash .mozilla
104M	.local/share/Trash
120M	.mozilla

>> > the output of du -h is 34G
>>
>> Tip: "du -sh" to get the summary the output, but it will be also
>> interesting to know what's the result of "df -h" to get the whole
>> picture of your system space.
>>
>>
>  # df -h

(...)

Overall looks good.

>> > Sorry I still don't know which files took the partition which /
>> > mounted.
>>
>>
> are there some easy way to see which files sit on which partition?

You can also use "df" for files, it will print the partition on what 
they're are mounted. For example:

sm01@stt008:~$ LANG=POSIX; df -h /data/backup/sm01/2010-09-12.tar.bz2 .mozilla
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             459G  401G   35G  93% /data/backup
/dev/sda3             115G   22G   94G  19% /

Greetings,

-- 
Camaleón


Reply to: