disk usage

Jim Tarvid tarvid at ls.net
Tue Jun 29 12:48:46 UTC 2010


root at venus:~# du -bs /* | sort -nr | less

You can ignore /proc and /dev.

My top 2 are:
43667994365     /home
30759426971     /partimag

I had forgotten about partimag. I can move the contents to an external hard
drive if I want to keep them.  As expected /home it the real culprit and
between the two users, I am the culprit and among my directories - Videos is
the largest by far and among those, my globaloneness shorts take up 25 GB. I
have these backed up in at least two places so when I get into trouble, I
know where to look.




On Tue, Jun 29, 2010 at 8:13 AM, Kaushal Shriyan
<kaushalshriyan at gmail.com>wrote:

>
>
> On Tue, Jun 29, 2010 at 5:40 PM, Dirk Deimeke <dirk at deimeke.net> wrote:
>
>> Answering Kaushal Shriyan <kaushalshriyan at gmail.com>
>> (Tue, 29 Jun 2010 17:21:55 +0530):
>>
>> Hi Kaushal
>>
>>  Please suggest further.
>>>
>>
>> I am not on one of my Ubuntu boxes, so please check the commands
>> carefully,
>>
>> What is the result of "xfs_info /"?
>>
>> The other point to check:
>>
>> If someone uses a large file. And the file is deleted. The space is only
>> freed, when the usage stops.
>>
>>
>> Hi Dirk,
>
> root at test:/# xfs_info /
> meta-data=/dev/disk/by-uuid/48a2bff8-240d-49d9-b19d-ad287ec0c613
> isize=256    agcount=16, agsize=1137225 blks
>          =                       sectsz=512   attr=1
> data     =                       bsize=4096   blocks=18195600, imaxpct=25
>          =                       sunit=0      swidth=0 blks, unwritten=1
> naming   =version 2              bsize=4096
> log      =internal               bsize=4096   blocks=8884, version=1
>          =                       sectsz=512   sunit=0 blks, lazy-count=0
> realtime =none                   extsz=4096   blocks=0, rtextents=0
> root at test:/#
>
> Please suggest further
>
> Thanks,
>
> Kaushal
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>



-- 
Rev. Jim Tarvid, PCA
Galax, Virginia
http://ls.net
http://drupal.ls.net
http://crossleft.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20100629/f2c5f8bd/attachment.html>


More information about the ubuntu-server mailing list