/usr full padahal masih ada space

Discussion in 'Dedicated Server dan Colocation' started by echonono, 30 Oct 2014.

Thread Status:
Not open for further replies.
  1. echonono

    echonono Beginner 1.0

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    /usr atau /dev/sda7 full padahal masih ada space, kalau pas full membuat load CPU high, mohon bantuannya.

    df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 20G 721M 18G 4% /
    tmpfs 3.8G 0 3.8G 0% /dev/shm
    /dev/sda1 194M 96M 89M 52% /boot
    /dev/sda8 386G 37G 346G 10% /home
    /dev/sda6 9.7G 367M 8.8G 4% /tmp
    /dev/sda7 9.7G 9.2G 470M 96% /usr
    /dev/sda3 20G 6.5G 12G 36% /var

    df -i

    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/sda2 1281120 33959 1247161 3% /
    tmpfs 994358 1 994357 1% /dev/shm
    /dev/sda1 51200 50 51150 1% /boot
    /dev/sda8 25649152 727713 24921439 3% /home
    /dev/sda6 640848 90 640758 1% /tmp
    /dev/sda7 640848 49959 590889 8% /usr
    /dev/sda3 1281120 574921 706199 45% /var
     
  2. mgilank

    mgilank Apprentice 1.0

    Messages:
    263
    Likes Received:
    34
    Trophy Points:
    28
    lah itu memang full mas bos, biasanya ada log file di /usr/share/log atau di path lainnya.
    kosongkan atau truncate file log tersebut. karena jika penuh, load akan tinggi karena penumpukan antrian/queueing worker
     
  3. echonono

    echonono Beginner 1.0

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Tapi gak nemuin file yang besar Tuan.

    du -sh /usr/* | sort -n

    0 /usr/tmp
    4.0K /usr/etc
    4.0K /usr/games
    4.0K /usr/x.txt
    12K /usr/quota.user
    12K /usr/src
    16K /usr/lost+found
    21M /usr/libexec
    39M /usr/include
    47M /usr/sbin
    84K /usr/man
    117M /usr/lib
    141M /usr/bin
    207M /usr/local
    242M /usr/lib64
    586M /usr/share
     
  4. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Bisa jadi bukan karena 'disk full' tapi quota untuk user tertentu terlampaui. Jadi, 'disk full' di sini artinya 'full' untuk user tersebut.
     
  5. BennyKusman

    BennyKusman Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,234
    Likes Received:
    239
    Trophy Points:
    63
    kasus yang aneh juga.. mungkin bisa di fsck kan bagian /usr nya
     
  6. echonono

    echonono Beginner 1.0

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Tidak ada pembatasan quota user, Tuan.
     
  7. echonono

    echonono Beginner 1.0

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Bisa minta tahapannya fsck, karena saya fsck selalu device busy terus.
     
  8. BennyKusman

    BennyKusman Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,234
    Likes Received:
    239
    Trophy Points:
    63
    coba ini:
    fsck -y /dev/sda7

    kalau masi blm bisa, umount /usr nya dl, baru eksekusi command diatas
     
  9. pluto01

    pluto01 Hosting Guru Web Hosting

    Messages:
    3,680
    Likes Received:
    757
    Trophy Points:
    113
    untuk fsck harus diumount dlu jd dipastikan hdd tersebut tdk termount baru di fsck
     
  10. echonono

    echonono Beginner 1.0

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Kalau matikan proses agar tidak busy gmn?

    umount /dev/sda7

    umount: /usr: device is busy.
    (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))

    -----

    fsck -y /dev/sda7

    fsck from util-linux-ng 2.17.2
    e2fsck 1.41.12 (17-May-2010)
    /dev/sda7 is in use.
    e2fsck: Cannot continue, aborting.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...