[PLUG] Disk space question using LVM
Paul Heinlein
heinlein at madboa.com
Thu Sep 16 11:07:02 UTC 2004
On Thu, 16 Sep 2004, Stafford A. Rau wrote:
> * David Fetter <david.fetter at fetterconsulting.com> [040916 10:49]:
>> Try doing `du -sk /` or `du -sk /*` to see how much space each
>> individual directory is taking. It is displayed in kylobytes, hence the
>> -k option.
>
> Even better, do this:
>
> du -akl / | sort -n
I'd do
du -sh /*
If you've got remote mounts, SMB or NFS filesystems, then you'll want
to be a bit more targeted in what you search, e.g.,
du -sh /bin /etc /lib /opt /sbin /tmp /usr /var
--Paul Heinlein <heinlein at madboa.com>
More information about the PLUG
mailing list