mohon bantuan melonggarkan space vps

Discussion in 'VPS (Virtual Private Server)' started by adrian, 25 Jul 2015.

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

    adrian Poster 2.0

    Messages:
    115
    Likes Received:
    6
    Trophy Points:
    18
    Mohon bantuan melonggarkan vps saya dari file2 sampah yang tidak berguna.

    ini hasil df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/vg-root 490G 465G 7.6M 100% /
    tmpfs 245M 0 245M 0% /dev/shm
    /dev/vda1 243M 129M 101M 57% /boot
    /dev/mapper/vg-tmp 976M 1.3M 924M 1% /tmp

    dari data itu yg 25GB (490-465) kemana ya?

    Ini hasil du -sh *


    7.6M /bin
    127M /boot
    172K /dev
    30M /etc
    464G /home
    583M /lib
    23M /lib64
    16K /lost+found
    4.0K /media
    4.0K /mnt
    24K /opt
    du: cannot access `/proc/18395/task/18395/fd/4': No such file or directory
    du: cannot access `/proc/18395/task/18395/fdinfo/4': No such file or directory
    du: cannot access `/proc/18395/fd/4': No such file or directory
    du: cannot access `/proc/18395/fdinfo/4': No such file or directory
    0 /proc
    24M /root
    14M /sbin
    4.0K /selinux
    4.0K /srv
    0 /sys
    28K /tmp
    570M /usr
    610M /var


    mohon bantuannya ya
     
  2. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Yang menghabiskan space adalah /home. Periksa saja.
     
  3. sapajal

    sapajal Beginner 1.0

    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    coba cek /home

    du -h --max-depth=1 /home
     
  4. pluto01

    pluto01 Hosting Guru Web Hosting

    Messages:
    3,692
    Likes Received:
    757
    Trophy Points:
    113
    Dari data yg diberikan direktori /home lumayan gede, dicoba tracert saja satu2 folder mana yg besar [bisa jd backup atau log] lalu dihapus jika ga pakai
     
  5. adrian

    adrian Poster 2.0

    Messages:
    115
    Likes Received:
    6
    Trophy Points:
    18
    sebenarnya pertanyaan saya 490G Total dan dipakai 465G kok habis,,yang 25GBan kemana?
    kalau yg di /home itu saya anggap normal krn memang banyak filenya dan sudah saya cek
     
  6. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Kemungkinan besar karena kebanyakan file-file berukuran kecil. Setiap file akan ditempatkan pada sector-sector (ukuran 512-4096 bytes per-sector).

    Sebagai contoh, jika ukuran file anda 1000 sedangkan ukuran sector adalah 4096 maka akan ada ruang yang 'terbuang' sebesar 4096-1000 = 3096.
     
  7. IDDetik.Com

    IDDetik.Com Beginner 2.0

    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    perintah " du -h --max-depth=1 /home " untuk apa ?
    sebab saya coba ketik perintah " du -h --max-depth=1 /home "
    muncul teks " 4.OK /Home "
     
  8. pluto01

    pluto01 Hosting Guru Web Hosting

    Messages:
    3,692
    Likes Received:
    757
    Trophy Points:
    113
    berarti direktory /home nya Mas masih kosong, coba ditest isi saja lalu dijalankan lg perintahnya entar kelihatan bedanya
     
  9. Bestariweb Studio

    Bestariweb Studio Apprentice 1.0

    Messages:
    264
    Likes Received:
    15
    Trophy Points:
    18
    Space 490Gb habis?
    Apa karena banyak file backup?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...