How to locate small file consumption creep

Ben Browning benb at bensbrowning.com
Sun Dec 28 13:29:27 MST 2008


Ryan Rix wrote:
>> find / -atime +1 </tmp/fileage # put list of files starting at / into a tmp file called fileage
>>
>>
>> I believe that should be
> find / -atime +1 > /tmp/fileage
> 
> Note the reverse in the redirect symbol.
> 
> Night.

Additionally, you probably want -mtime and not -atime.

Some space is probably being eaten by logs... Are you rotating them 
properly? Running 'du -s /*/ > du.`date=%s` ' daily and comparing the 
output will probably help you discover where the creep is (/home, /var, 
etc). You can of course drill that down further if you want (/*/*/ or 
whatever).

~Ben

-- 
   Ben Browning <benb at bensbrowning.com>
Linux Systems Architect and Administrator
      http://www.bensbrowning.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benb.vcf
Type: text/x-vcard
Size: 231 bytes
Desc: not available
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20081228/d70c358a/attachment.vcf 


More information about the PLUG-discuss mailing list