Drive Warning: /dev/sda1 (/) is 83% full

Discussion in 'VPS (Virtual Private Server)' started by bangibet, 29 Aug 2012.

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

    bangibet Beginner 2.0

    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Halo semua..

    Saya punya VPS dan saya jadikan hosting server (menggunakan cPanel) untuk beberapa klien saya.
    Seperti judul, saya dapat peringatan di email kalau space drive saya sudah penuh 83%.

    df -h :
    Code:
    Filesystem               Size    Used    Avail    Use%    Mounted on
    /dev/sda1                25G    20G      4.1G    83%      /
    none                     256M    0         256M    0%       /dev/shm
    /usr/tmpDSK           2.0G    153M    1.7G    9%       /tmp
    

    du -h --max-depth=1 /var
    Code:
    524K    /var/named
    92M     /var/log
    157M    /var/cpanel
    2.9M    /var/spool
    16M     /var/cache
    4.0K    /var/db
    20K     /var/lock
    4.0K    /var/nis
    4.0K    /var/opt
    118M    /var/tmp
    207M    /var/lib
    12K     /var/empty
    4.0K    /var/yp
    4.0K    /var/games
    4.0K    /var/preserve
    4.0K    /var/local
    1.6G    /var/softaculous
    260K    /var/run
    92K     /var/profiles
    4.0K    /var/cvs
    2.2G    /var
    

    du -h --max-depth=1 /home
    Code:
    2.4G    /home/virtfs
    3.6G    /home
    

    Pertanyaan saya:
    1. Apa yang harus saya lakukan untuk bikin lega space?
    2. Apa benar /var/softaculous dalam hitungan Giga?
    3. Kenapa ada /home/virtfs ya? Itu fungsinya apa? Saya googling, katanya folder /virtfs jangan dihapus karna bisa merusak sistem server. Apa benar? Di dalam folder itu juga ada 1 user klien saya, padahal saya ga pernah bikin disitu.

    Makasih sebelumnyaa.. :)
     
  2. BennyKusman

    BennyKusman Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,234
    Likes Received:
    239
    Trophy Points:
    63
    yup, ditempat saya /var/softaculousnya juga 1.6GB...
    biasa untuk hal ini, coba ke /var/log, biasanya error2 log disana lumayan besar..
    trus, coba ke /usr/local/apache/domlogs dan bersihkan log2nya...

    apa mas ada remote backup ?
    kalau dari pengalaman saya, kadang ada juga file backup disini: /home/cpbackuptmp/cpbackup/

    Mudah2an membantu.
     
    bangibet likes this.
  3. galuh82

    galuh82 Hosting Guru Web Hosting (Company)

    Messages:
    2,514
    Likes Received:
    186
    Trophy Points:
    63
    mungkin pake softa premium yang install semua script, bisa jadi .. bagusnya dicek aja dalemannya :)

    /home/virtfs itu dari jailed shell, bisa di umount koq. memang jangan di hapus langsung karena itu bisa ganggu sistem. untuk remove bisa ikuti link ini : VirtFS (Jailed Shell)

    gut lak
     
  4. bangibet

    bangibet Beginner 2.0

    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6

    du -h --max-depth=1 /var/log
    Code:
    1.3M    /var/log/dcpumon
    1.2M    /var/log/bandwidth
    3.6M    /var/log/sa
    376K    /var/log/nginx
    92M     /var/log
    
    Ga adaa file yg besar disini


    du -h --max-depth=1 /usr/local/apache/domlogs
    Code:
    4.0K    /usr/local/apache/domlogs/nxxx
    92K     /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/axxx
    4.0K    /usr/local/apache/domlogs/cxxx
    4.0K    /usr/local/apache/domlogs/ixxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/mxxx
    4.0K    /usr/local/apache/domlogs/dxxx
    4.0K    /usr/local/apache/domlogs/bxxx
    4.0K    /usr/local/apache/domlogs/cxxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/hxxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/axxx
    4.0K    /usr/local/apache/domlogs/txxx
    3.2M    /usr/local/apache/domlogs
    
    Disini juga ga besar.


    /home/cpbackuptmp/cpbackup/ ga ada, karna fitur backup ga diaktifin. :-D

    Kira-kira dimana letak file besarnya ya selain di /home/virtfs ? bingung :-(


    Iya om, saya pake softa premium :)
    Sesuai petunjuk saya ikutin yang ada di link yg dikasih diatas.
    Nah untuk Virtfs saya udah coba unmount tapi kok masih ada ya?

    root@server [/home]# umount /home/virtfs/dxxx/usr/bin/
    Code:
    umount: /home/virtfs/dxxx/usr/bin/: not mounted
    root@server [/home]# umount /home/virtfs/dxxx/
    Code:
    umount: /home/virtfs/dxxx/: not mounted
    Kedua hasil diatas menyatakan sudah tidak di-mount.

    root@server [/home]# grep -i 'dxxx' /proc/mounts
    Code:
    /dev/root /home/virtfs/dxxx/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/sbin ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/opt ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/lib64 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/lib64 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/sbin ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/share ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/man ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/X11R6 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/kerberos ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/libexec ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/bin ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/share ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/Zend ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/IonCube ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/include ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/lib64 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/spool ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/cpanel ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/cpanel/Cpanel ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/run ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/log ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/bin ext3 rw,data=ordered,usrquota 0 0
    /dev /home/virtfs/dxxx/dev tmpfs rw 0 0
    /proc /home/virtfs/dxxx/proc proc rw 0 0
    /dev/root /home/virtfs/dxxx/usr/local/apache/domlogs ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/etc/mail ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/home/dxxx ext3 rw,data=ordered,usrquota 0 0
    [/merdeka]
    Kok masih nyangkut ya? Hehe..
     
  5. bangibet

    bangibet Beginner 2.0

    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6

    du -h --max-depth=1 /var/log
    Code:
    1.3M    /var/log/dcpumon
    1.2M    /var/log/bandwidth
    3.6M    /var/log/sa
    376K    /var/log/nginx
    92M     /var/log
    Ga adaa file yg besar disini


    du -h --max-depth=1 /usr/local/apache/domlogs
    Code:
    4.0K    /usr/local/apache/domlogs/nxxx
    92K     /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/axxx
    4.0K    /usr/local/apache/domlogs/cxxx
    4.0K    /usr/local/apache/domlogs/ixxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/mxxx
    4.0K    /usr/local/apache/domlogs/dxxx
    4.0K    /usr/local/apache/domlogs/bxxx
    4.0K    /usr/local/apache/domlogs/cxxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/hxxx
    4.0K    /usr/local/apache/domlogs/txxx
    4.0K    /usr/local/apache/domlogs/axxx
    4.0K    /usr/local/apache/domlogs/txxx
    3.2M    /usr/local/apache/domlogs
    Disini juga ga besar.


    /home/cpbackuptmp/cpbackup/ ga ada, karna fitur backup ga diaktifin. :-D

    Kira-kira dimana letak file besarnya ya selain di /home/virtfs ? bingung :-(



    Iya om, saya pake softa premium :)
    Sesuai petunjuk saya ikutin yang ada di link yg dikasih diatas.
    Nah untuk Virtfs saya udah coba unmount tapi kok masih ada ya?

    root@server [/home]# umount /home/virtfs/dxxx/usr/bin/
    Code:
    umount: /home/virtfs/dxxx/usr/bin/: not mounted
    root@server [/home]# umount /home/virtfs/dxxx/
    Code:
    umount: /home/virtfs/dxxx/: not mounted
    Kedua hasil diatas menyatakan sudah tidak di-mount.

    root@server [/home]# grep -i 'dxxx' /proc/mounts
    Code:
    /dev/root /home/virtfs/dxxx/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/sbin ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/opt ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/lib64 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/lib64 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/sbin ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/share ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/man ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/X11R6 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/kerberos ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/libexec ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/bin ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/share ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/Zend ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/IonCube ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/include ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/lib64 ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/spool ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/lib ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/cpanel ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/usr/local/cpanel/Cpanel ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/run ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/var/log ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/bin ext3 rw,data=ordered,usrquota 0 0
    /dev /home/virtfs/dxxx/dev tmpfs rw 0 0
    /proc /home/virtfs/dxxx/proc proc rw 0 0
    /dev/root /home/virtfs/dxxx/usr/local/apache/domlogs ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/etc/mail ext3 rw,data=ordered,usrquota 0 0
    /dev/root /home/virtfs/dxxx/home/dxxx ext3 rw,data=ordered,usrquota 0 0
    Kok masih nyangkut ya? Hehe..
     
  6. cpserv

    cpserv Expert 1.0

    Messages:
    866
    Likes Received:
    123
    Trophy Points:
    43
    Coba jalanin antara 2 ini, bisa ga?

    umount semua :
    Code:
    for i in `cat /proc/mounts | grep /home/virtfs | cut -d ‘ ‘ -f 2 ` ; do umount $i ; done
    umount user tertentu :
    Code:
    for i in `cat /proc/mounts |grep virtfs |grep ganti_nama_user_nya |awk ‘{print$2}’`; do umount $i; done
     
  7. bangibet

    bangibet Beginner 2.0

    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    --dopost--
     
  8. bangibet

    bangibet Beginner 2.0

    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Hasilnya:

    root@server [/home]# for i in `cat /proc/mounts | grep /home/virtfs | cut -d . . -f 2 ` ; do umount $i ; done
    Code:
    cut: .: Is a directory
    root@samosir [/home]# for i in `cat /proc/mounts |grep virtfs |grep dxxx |awk .{print$2}.`; do umount $i; done
    Code:
    awk: .{print}.
    awk: ^ syntax error
    awk: .{print}.
    awk:         ^ syntax error
    malah error :D
     
  9. cpserv

    cpserv Expert 1.0

    Messages:
    866
    Likes Received:
    123
    Trophy Points:
    43
    errr,, kayaqnya masalah copy paste dah.. hahaha itu pastiin aja petik pertama dan terakhir yang disebelah angka 1 di keyboard.. dan petik yg ditengah itu yg satu tombol sama 2 petik/kutip..
    Code:
    ` sama '
     
    bangibet likes this.
  10. bangibet

    bangibet Beginner 2.0

    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Oh iya.. Hehe..
    Sudah dijalanin dan ga ada error.

    Code:
    root@server [/home]# for i in `cat /proc/mounts |grep virtfs |grep dxxx |awk '{print$2}'`; do umount $i; done
    root@server [/home]#
    hasilnya:
    Code:
    root@server [/home]# grep -i 'dxxx' /proc/mounts
    root@serverr [/home]#
    Lalu apa lagi yang harus dilakukan?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...