OS disk full

    • OMV 2.x
    • Resolved
    • OS disk full

      Hi, my OS disk is almost full. Size is 8gb, was always fine for 2 years now.
      My linux is not that, how can I clean up? I already ran apt-get clean and deleted some logs. Also after that is possible to login but tomorrow not anymore.

      Source Code

      1. root@OMV:/var/backups# df -h
      2. Bestandssysteem Grootte Gebruikt Besch Geb% Aangekoppeld op
      3. rootfs 7,0G 6,7G 21M 100% /
      4. udev 10M 0 10M 0% /dev
      5. tmpfs 344M 5,1M 339M 2% /run
      6. /dev/disk/by-uuid/90bed2ce-9ef5-4834-aad5-d19930ff3f7b 7,0G 6,7G 21M 100% /
      7. tmpfs 5,0M 0 5,0M 0% /run/lock
      8. tmpfs 760M 0 760M 0% /run/shm
      9. /dev/sdc1 932G 506G 426G 55% /media/b717db2d-0da7-4b2d-9632-885282d0da41
      10. /dev/sdb1 932G 447G 485G 49% /media/2c3544a5-fcb2-44d1-8d0a-f2fd24db8306
      11. root@OMV:/var/backups# du -hx --max-depth=2 /
      12. 7,2M /bin
      13. 5,0M /var/www
      14. 5,1G /var/lib
      15. 4,0K /var/local
      16. 4,0K /var/opt
      17. 52M /var/cache
      18. 120K /var/spool
      19. 4,0K /var/mail
      20. 1,4M /var/backups
      21. 4,0K /var/tmp
      22. 4,0K /var/agentx
      23. 25M /var/log
      24. 5,2G /var
      25. 0 /proc
      26. 1,2M /lib/xtables
      27. 13M /lib/x86_64-linux-gnu
      28. 44K /lib/init
      29. 208K /lib/terminfo
      30. 331M /lib/modules
      31. 8,0K /lib/resolvconf
      32. 21M /lib/firmware
      33. 16K /lib/hdparm
      34. 12K /lib/modprobe.d
      35. 24K /lib/lsb
      36. 88K /lib/systemd
      37. 792K /lib/udev
      38. 365M /lib
      39. 4,0K /selinux
      40. 12M /sbin
      41. 15M /opt/SABnzbd
      42. 15M /opt
      43. 16K /lost+found
      44. 2,5M /boot/grub
      45. 63M /boot
      46. 8,0K /srv/ftp
      47. 4,0K /srv/tftp
      48. 16K /srv
      49. 4,0K /lib64
      50. 4,0K /media/cdrom
      51. 4,0K /media/2c3544a5-fcb2-44d1-8d0a-f2fd24db8306
      52. 4,0K /media/C6B6196CB6195E6D
      53. 8,0K /media/b717db2d-0da7-4b2d-9632-885282d0da41
      54. 4,0K /media/usb0
      55. 4,0K /media/15ac9508-b0f6-4367-9092-9788d49d7631
      56. 32K /media
      57. 4,0K /mnt
      58. 0 /run
      59. 22M /home/sabnzbd
      60. 16K /home/extplorer
      61. 22M /home
      62. 4,0K /tmp/.X11-unix
      63. 8,0K /tmp/.vbox-vbox-ipc
      64. 4,0K /tmp/.ICE-unix
      65. 5,2M /tmp
      66. 12K /etc/samba
      67. 1,3M /etc/proftpd
      68. 12K /etc/kbd
      69. 40K /etc/cron.d
      70. 64K /etc/logrotate.d
      71. 32K /etc/iproute2
      72. 8,0K /etc/python3.2
      73. 172K /etc/ssh
      74. 40K /etc/lvm
      75. 48K /etc/kernel
      76. 20K /etc/perl
      77. 16K /etc/skel
      78. 12K /etc/insserv.conf.d
      79. 12K /etc/dhcp3
      80. 8,0K /etc/selinux
      81. 68K /etc/monit
      82. 8,0K /etc/rc5.d
      83. 4,0K /etc/fstab.d
      84. 8,0K /etc/rc3.d
      85. 36K /etc/avahi
      86. 8,0K /etc/sudoers.d
      87. 28K /etc/rsyslog.d
      88. 8,0K /etc/python
      89. 48K /etc/init
      90. 92K /etc/pam.d
      91. 28K /etc/dpkg
      92. 496K /etc/init.d
      93. 4,0K /etc/opt
      94. 16K /etc/pm
      95. 8,0K /etc/terminfo
      96. 8,0K /etc/rc2.d
      97. 8,0K /etc/ldap
      98. 8,0K /etc/mdadm
      99. 24K /etc/logcheck
      100. 8,0K /etc/python3
      101. 8,0K /etc/python2.7
      102. 112K /etc/openmediavault
      103. 16K /etc/apache2
      104. 12K /etc/cron.hourly
      105. 172K /etc/fonts
      106. 8,0K /etc/rc4.d
      107. 12K /etc/sysctl.d
      108. 4,0K /etc/sensors.d
      109. 8,0K /etc/profile.d
      110. 8,0K /etc/ca-certificates
      111. 44K /etc/resolvconf
      112. 20K /etc/cron.weekly
      113. 12K /etc/cron.monthly
      114. 20K /etc/ufw
      115. 44K /etc/wpa_supplicant
      116. 48K /etc/cron-apt
      117. 12K /etc/libnl-3
      118. 8,0K /etc/ifplugd
      119. 12K /etc/ld.so.conf.d
      120. 40K /etc/omv-support.d
      121. 16K /etc/smartmontools
      122. 28K /etc/dbus-1
      123. 8,0K /etc/insserv
      124. 12K /etc/vim
      125. 48K /etc/security
      126. 16K /etc/apm
      127. 272K /etc/php5
      128. 652K /etc/apt
      129. 120K /etc/postfix
      130. 36K /etc/dhcp
      131. 12K /etc/groff
      132. 8,0K /etc/rcS.d
      133. 4,0K /etc/vbox
      134. 20K /etc/snmp
      135. 8,0K /etc/modprobe.d
      136. 96K /etc/nginx
      137. 80K /etc/cron.daily
      138. 8,0K /etc/rc6.d
      139. 108K /etc/network
      140. 836K /etc/ssl
      141. 124K /etc/console-setup
      142. 12K /etc/omvextras
      143. 28K /etc/ppp
      144. 8,0K /etc/pulse
      145. 16K /etc/systemd
      146. 184K /etc/default
      147. 56K /etc/grub.d
      148. 68K /etc/initramfs-tools
      149. 92K /etc/X11
      150. 8,0K /etc/acpi
      151. 8,0K /etc/calendar
      152. 44K /etc/udev
      153. 8,0K /etc/rc0.d
      154. 8,0K /etc/rc1.d
      155. 20K /etc/collectd
      156. 92K /etc/bash_completion.d
      157. 8,0K /etc/pcmcia
      158. 8,0K /etc/alternatives
      159. 12K /etc/initramfs
      160. 7,0M /etc
      161. 12K /root/.ssh
      162. 40K /root/.config
      163. 72K /root
      164. 0 /sys
      165. 0 /dev
      166. 84M /usr/bin
      167. 4,0K /usr/games
      168. 365M /usr/lib
      169. 68K /usr/local
      170. 33M /usr/sbin
      171. 17M /usr/include
      172. 388M /usr/share
      173. 4,0K /usr/src
      174. 884M /usr
      175. 4,0K /export
      176. 6,5G /
      Display All
      ---------------------------------------------
      My HP T610 thin client NAS
      ---------------------------------------------
      ---------------------------------------------
      My Thin Client single drive NAS build
      ---------------------------------------------
      -----------------------------------------------------
      I'm from the Netherlands, excuse me for bad english
      -----------------------------------------------------------------
    • Use
      du -x -d1 -h / to check which folder is using most of the space.

      -x: only current file system, do not descent
      -d1: only first level
      -h: human readable

      Once you found out which folder is using more space than you want post here again.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • if you use dockers, revise docker folder on /var/lib , mine is 4,5GB in size
      OMV 4.1.11 x64 on a HP T510, 16GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
      Dockers: MLDonkey ; PiHole ; weTTY
      Videos: @TechnoDadLife
    • macom wrote:

      Have just seen that you already posted that /var/lib is quite big.
      What is inside?
      How can I see that best, what command?

      And I dont use plex, but I am using Virtualbox. There was a test machine on it, I deleted that, that free'd up /var/lib
      ---------------------------------------------
      My HP T610 thin client NAS
      ---------------------------------------------
      ---------------------------------------------
      My Thin Client single drive NAS build
      ---------------------------------------------
      -----------------------------------------------------
      I'm from the Netherlands, excuse me for bad english
      -----------------------------------------------------------------
    • DaWauZ wrote:

      And I dont use plex, but I am using Virtualbox. There was a test machine on it, I deleted that, that free'd up /var/lib
      You shouldn't need to put anything in /var/lib when using virtualbox.

      DaWauZ wrote:

      How can I see that best, what command?
      du -d1 -x -h /var/lib/ | sort -h
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • DaWauZ wrote:

      macom wrote:

      Have just seen that you already posted that /var/lib is quite big.
      What is inside?
      How can I see that best, what command?
      And I dont use plex, but I am using Virtualbox. There was a test machine on it, I deleted that, that free'd up /var/lib
      Please store VM and big files on data disk , not in O.S. Boot Disk
      OMV 4.1.11 x64 on a HP T510, 16GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
      Dockers: MLDonkey ; PiHole ; weTTY
      Videos: @TechnoDadLife
    • OS disk full

      Yeah i didn't mention it that time. Now I Do!
      Tnx People!

      Verstuurd vanaf mijn TA-1012 met Tapatalk
      ---------------------------------------------
      My HP T610 thin client NAS
      ---------------------------------------------
      ---------------------------------------------
      My Thin Client single drive NAS build
      ---------------------------------------------
      -----------------------------------------------------
      I'm from the Netherlands, excuse me for bad english
      -----------------------------------------------------------------
    • Users Online 1

      1 Guest