Saturday, May 10, 2014

0 Lastlog size is huge ….

/var/lastlog show the huge size from ls output.

image

This does not make sense because df only show used size last than 1G

image

It turns out, the du would give more accurate size.

image

It is because the lastlog file is sparse file, it contain many empty space . Using –s option in the ls would show the actual size instead of pre allocated size. 

image

0 comments:

Post a Comment

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates