You are not logged in.
Hello
I just noticed a little problem
[lowra@desktop ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 172K 9.9M 2% /dev
/dev/sda1 19G 18G 24M 100% /
shm 2.0G 140K 2.0G 1% /dev/shm
/dev/sda5 450G 9.8G 417G 3% /mnt/sda5
/dev/sda6 450G 260G 168G 61% /mnt/sda6
I really don't know HOW CAN I use 19GB
I have 1.7GB in my /home/lowra, and and just some lightweight apps installed, I really don't understand...
How can I know which folder or file uses this space ? With command line please
Thank you
Offline
du -sh /*
/usr tends to be big.
Offline
ncdu is ncurses-based tool - you can easily traverse dir structure.
Offline
du -mx / | sort -n
Lists as MBs and sorts by size. Check "man du" for details on the options used.
Usually it is /var and /tmp that gets full.
Offline
Let me guess... /var/cache/pacman/pkg
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
du -mx / | sort -n
Lists as MBs and sorts by size. Check "man du" for details on the options used.
Usually it is /var and /tmp that gets full.
I think OP is more interested in the biggest files
du -mx / | sort -rn
Offline
Ashren wrote:du -mx / | sort -n
Lists as MBs and sorts by size. Check "man du" for details on the options used.
Usually it is /var and /tmp that gets full.
I think OP is more interested in the biggest files
du -mx / | sort -rn
Why does the OP write the following then:
How can I know which folder or file uses this space ?
Besides the r option only reverses the sort output - it is a matter of taste how one wants to see it. I prefer "sort -n".
Offline
@ Ashren
Actually, you're right: you can view it w/ either 'head' or 'tail'.
sudo du -s /usr/* /var/*| sort -nr
would be a good starter too.
Offline
So,
I have done pacman -Scc recently so it's not/var/cache/pacman/pkg
[lowra@desktop ~]$ sudo du -s /usr/* /var/*| sort -nr
Password:
1295892 /usr/lib
689156 /usr/share
167300 /usr/bin
117144 /usr/include
67852 /var/lib
14912 /var/log
13504 /usr/src
9840 /usr/sbin
3880 /var/cache
112 /var/run
36 /usr/local
20 /var/spool
12 /var/tmp
8 /var/lock
4 /var/opt
4 /var/local
4 /var/games
4 /var/empty
0 /var/mail
So, I don't know what to do now
Offline
That means toad was wrong.
Let's take a step back and
sudo du -s /* | sort -nr
Edit: [OT] who knew that there is a word 'meas'?
Last edited by karol (2010-07-20 19:03:11)
Offline
[lowra@desktop ~]$ sudo du -s /* | sort -nr
du: cannot access `/home/lowra/.gvfs': Permission denied
du: cannot access `/proc/8601/task/8601/fd/3': No such file or directory
du: cannot access `/proc/8601/task/8601/fdinfo/3': No such file or directory
du: cannot access `/proc/8601/fd/3': No such file or directory
du: cannot access `/proc/8601/fdinfo/3': No such file or directory
283866344 /mnt
14545388 /home
2292876 /usr
139412 /lib
86824 /var
15440 /tmp
13592 /boot
9588 /sbin
5208 /bin
3484 /etc
172 /dev
40 /root
16 /media
16 /lost+found
12 /srv
4 /opt
4 /lib64
0 /sys
0 /proc
Offline
> I have 1.7GB in my /home/lowra
But your /home is ten times as big.
> 283866344 /mnt
Huh?
[karol@black ~]$ du -sh /mnt
12K /mnt
You better find out what's in there. If you don't come back in 5hrs we leave w/o you.
Offline
> I have 1.7GB in my /home/lowra
But your /home is ten times as big.> 283866344 /mnt
Huh?[karol@black ~]$ du -sh /mnt 12K /mnt
You better find out what's in there. If you don't come back in 5hrs we leave w/o you.
In /mnt I have:
/mnt/sda5 & /mnt/sda6 with all my data, it's normal.
I will check what is happening to my home
EDIT: Ok I found:
The folder /home/david/.local/share/Trash/files contains all the files I have deleted since hum... a long time ago.
His weight is ~14.1 GB
It seems to be a bug of pcmanfm because I use pcmanfm 0.9.7-1 as file manager, Trash support in enabled in it, but my Trash can is empty, I have done "empty trash" several time and nothing seems to change
Last edited by Lowra (2010-07-20 19:44:28)
Offline
> /mnt/sda5 & /mnt/sda6 with all my data, it's normal.
Sorry, I mixed up two similar threads. Sure you can't have 25 GB /mnt in a 19 GB /
Offline
That means toad was wrong.
>hangs head in shame...<
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
The folder /home/david/.local/share/Trash/files contains all the files I have deleted since hum... a long time ago.
His weight is ~14.1 GB
It seems to be a bug of pcmanfm because I use pcmanfm 0.9.7-1 as file manager, Trash support in enabled in it, but my Trash can is empty, I have done "empty trash" several time and nothing seems to change
What do you think about my "discovery" and my "interpretation" ?
Should I fill a bug report to the Arch Bug Tracker ? To the upstream bug tracker of pcmanfm project ?
Offline
I'd open it upstream if it really is a bug and not some kind of misconfiguration. Check if upstream didn't recently fix it first.
Offline
EDIT: Ok I found:
The folder /home/david/.local/share/Trash/files contains all the files I have deleted since hum... a long time ago.
His weight is ~14.1 GB
It seems to be a bug of pcmanfm because I use pcmanfm 0.9.7-1 as file manager, Trash support in enabled in it, but my Trash can is empty, I have done "empty trash" several time and nothing seems to change
You need gvfs installed for the Trash to work properly in PCManFM 0.9.7. In the meantime just delete the trash folder manually.
Last edited by anonymous_user (2010-07-20 21:47:24)
Offline
In case any one is interested, i find xdiskusage to be useful when I am lazy enough not to dig deeper in to the directories.
Offline
xdiskusage and tools like it are utterly brilliant.
I wish there wasn't such a garish one for GNU/Linux though
MaximumPC recommended one a while ago for Windows that I loved. Color-coding and modern widgets is nice. Anyways.
Last edited by Ranguvar (2010-07-21 05:36:02)
Offline