Results 1 to 5 of 5

Thread: Disk hda6 (/usr) DMA+ 100% full

  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    13

    Default Disk hda6 (/usr) DMA+ 100% full

    Whm is showing me that my /usr partition is 100% full
    Is there anything I can do? Which files can I safely delete in there? Or mybe I can transfer some of the files to other partitions?
    Thank you
    Alex

  2. #2

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    5

    Default

    Check /usr/src and /usr/local/src for file size

    du -sm /usr/src
    du -sm /usr/local/src

    or check all /usr directories

    du -sm /usr/src/*

    You could move /usr/local to a separate partition. Make a new partition, format, and copy files from /usr/local over. Edit /etc/fstab and add a new line for /usr/local.

    Example:

    /dev/sda2 /usr/local xfs defaults 1 2

    Set the file system to the filesystem you formatted the partition with and the correct device.

    Verify copy and remove files from the original partition for local and then `mount -a` You could move just about any other directory under /usr over to its own partition as well. Just make sure that the files you move do not have any running processes and if so, stop those services first.

  4. #4
    Member
    Join Date
    Nov 2005
    Posts
    5

    Default

    du -sm /usr/src/* in my previous post is meant to be

    du -sm /usr/*

  5. #5
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    Try clearing the domlogs.

    rm -f /usr/local/apache/domlogs/*
    /scrips/restartsrv_httpd

    Then go into WHM and go to tweak settings and select "delete logs after each stats run".

    This is usually the culprit on most servers.

    Regards,
    Alan

Similar Threads

  1. Drive Warning: /hda6 (/usr) is 85% full
    By twlove in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-15-2005, 11:13 AM
  2. Disk hda6 (/usr)
    By viip911 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-18-2004, 07:17 AM
  3. Disk hda6 (/usr)
    By viip911 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-18-2004, 07:16 AM
  4. Disk hda8 (/home) DMA+ 100% full
    By ana_wad_afreet in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 03-18-2004, 10:06 AM