Showing posts with label disk space. Show all posts
Showing posts with label disk space. Show all posts

Wednesday, June 15, 2011

[Xen] Save file location

cd /var/lib/xen/save

this is path used by xen to store virtual machine state before shutdown/reboot.

i use du -lsh /var/lib/xen/* to trace what folder make my disk space full

Before

Filesystem Size Used Avail Use% Mounted on
/dev/hda6 8.6G 8.6G 0.0G 100% /

After
Filesystem Size Used Avail Use% Mounted on
/dev/hda6 8.6G 7.1G 1.1G 88% /

Solved.

Thursday, May 05, 2011

Tuesday, April 26, 2011

clean up disk space

today i delete previous kernel files. this freed up about 200MB :)

[root@local html]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb6 8.6G 7.9G 250M 97% /

i'm using this reference:

Thursday, April 14, 2011

clear logs

refer to this page


cat /dev/null > /var/log/messages
cat /dev/null > /var/log/wtmp
cat /dev/null > /var/log/maillog

etc..

this will delete the contents of the file without removing the file itself or changing any of it's permissions. Repeat as necessary for each log file, write into a bash script whatever.. then delete all the numbered log files ( i.e. messages.1.tar.gz ) which are old logs that have been backed up from logrotate or a similar app.

from farslayer

some error logs with location

cat /dev/null > /var/log/messages
cat /dev/null > /var/log/openwebmail.log
cat /dev/null > /var/log/maillog
cat /dev/null > /var/log/secure
cat /dev/null > /var/log/httpd/error_log
cat /dev/null > /var/log/httpd/ssl_error_log
cat /dev/null > /var/log/httpd/ssl_request_log
cat /dev/null > /var/log/httpd/ssl_access_log

Wednesday, August 04, 2010

Hotmail. new improvement


Congratulations to all hotmail staff making improvement to their service. today i discovered new function to remove about 20,000++ spam message in one click. thanks :)

all in one click.!! :)

Friday, June 17, 2005

Linux scandisk problem....

duplicate/bad blocks well scanning on home dir...

here is a problem with these blocks during start up there is an error check... while it scans the home directory it saids

it has found a duplicate/bad block

Solution:

#fsck -y --this command will automatically fix any errors
and
#fcsk -f

without mounting these drives

i try fsck -y command and my problem's gone..

references:
http://www.linuxquestion....adid=222836
Related Posts Plugin for WordPress, Blogger...