[mdlug] Something's eating my /home partition
Wojtak, Greg
GregWojtak at quickenloans.com
Tue Apr 20 09:00:16 EDT 2010
This behavior describes exactly the scenario that someone else proposed of a file being created, written to, left open, and then removed and continuously written to. Your best bet if this happens again is to 'lsof | grep /home' and or 'fuser -c /home' to find any processes that have files open on that filesystem.
-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf Of David McMillan
Sent: Tuesday, April 20, 2010 8:17 AM
To: mdlug at mdlug.org
Subject: Re: [mdlug] Something's eating my /home partition
On 4/20/2010 5:57 AM, Carl T. Miller wrote:
> David McMillan wrote:
>> this remind anyone of anything? Or does anyone know of a good way to
>> list all files and/or directories in a partition sorted for size?
>
> To find 20 largest files at least 1 gig in size:
> find /home -type f -size +1G -exec du -m {} \; | sort -nr | head -n20
>
> To find 20 largest directories:
> find /home -type d -exec du -sm {} \; | sort -nr | head -n20
...I rebooted, and /home went back to normal size. What. The. Heck.
I am completely baffled. Happy, but baffled.
Still, the last time this happened to me, using 9.04 on this same
machine, rebooting most definitely did NOT fix this problem. So I'll be
keeping these posts for future reference. Thanks, everyone.
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug
More information about the mdlug
mailing list