esvom wrote:
> Hi,
>
> I need to free space in rootfs partition,
Why do you need more space? Your root partition is already huge and it
has as much space left as some people’s entire root partition!
> I know that is a system
> partition but how to know what directory or file delete?
>
> In other words I need to know what directory or file are using more
> space.
du -sh is your friend.
Just like that it will tell you how much space is used in the partition
(if you run it from the directory at the top of the tree)
If you run ‘du -sh ’ it will tell you how much each top-level directory
uses. Then if say /etc is using more than you expect you run 'du -sh
/etc/’ to find the next level directory and repeat until you find the
source of your problem.
On 2013-03-21 17:46, Dave Howorth wrote:
> du -sh is your friend.
Other tools: I use midnight commander, it also measures directory sizes
(C-space, command menu). Or if you like GUIs, ‘baobab’ is very good for
this purpose. Or kdirstat if it is still distributed, or filelight.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
Most database mangers default to using root to store there databases also setting up a large web site with defaults will use space out of root. Of course it is better practace to set up separate partitions for these programs to use. Makes upgrading and backup much much easier.