Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2006
    Posts
    102

    Exclamation My harddisk all ready full

    i just moving my websites to my new server.. My new harddisk 73GB and it is %90 full i don't understand how come it is full only 7 websites
    Space Used
    9742 M
    237 M
    233 M
    213 M
    84 M
    68 M
    1 M


    Current Disk Usage
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 66G 56G 6.5G 90% /
    /dev/sda1 99M 12M 83M 13% /boot
    none 1014M 0 1014M 0% /dev/shm
    /usr/tmpDSK 485M 11M 449M 3% /tmp
    /tmp 485M 11M 449M 3% /var/tmp
    any idea please?
    thank you

  2. #2
    Join Date
    Apr 2006
    Location
    Melbourne
    Posts
    30
    reboot the server, it could be tempory files

  3. #3
    Or buy a new harddrive, they are cheap as chips!

  4. #4
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,522
    Quote Originally Posted by crzy
    i just moving my websites to my new server.. My new harddisk 73GB and it is %90 full i don't understand how come it is full only 7 websites
    Space Used
    9742 M
    237 M
    233 M
    213 M
    84 M
    68 M
    1 M


    Current Disk Usage


    any idea please?
    thank you
    You are running SCSI?
    tanfwc

  5. #5
    Join Date
    May 2006
    Location
    Coimbra, Portugal
    Posts
    236
    Execute the following command
    du -sh /*

    You will find what's using all of those space.


  6. #6

    Post /var/lib/mysql

    Hi, i checked for large files and found in the directory /var/lib/mysql

    files over 2 gigabytes called host-bin.000001 to host-bin.000040

    That dorectory is taken up to 20g so far, what are these files? are they safe to delete?

    thanks.

  7. #7
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Thread moved from Technical and Security Tutorials forum. Please post in the right forum as your thread is not a tutorial at all. Thanks.

  8. #8
    Join Date
    Jan 2006
    Location
    Sydney, Australia
    Posts
    251
    Quote Originally Posted by 1stimer
    Hi, i checked for large files and found in the directory /var/lib/mysql

    files over 2 gigabytes called host-bin.000001 to host-bin.000040

    That dorectory is taken up to 20g so far, what are these files? are they safe to delete?
    These are MySQL binary log files. They contains *every single SQL statement* executed on your MySQL server, which is useful for things like incremental backup, clustering with log shipping + playback, etc.

    If you are not thinking of clustering your MySQL servers, then they might be useless. I might be wrong, but I always delete them and disable log-bin in the MySQL configuration file.

    1. Find /etc/mysql/my.cnf
    2. Locate "log-bin"
    3. Make sure that line has been commented out, i.e. prefix with '#'.
    4. Restart MySQL server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •