Hi,
since yesterday I’ve a problem with me RaspberryPi4 and the DietPi Installation.
The filesystem of /dev/root shows 100% fullness and I can’t figure out why neither how I can fix it or maybe I#m only to dumb .
Not all necessary services could be start.
Can anybody help me with this? It would be great if I can avoid a new installation and get an understanding for the problem and how it occurred .
Here are some information about my system:
- DietP: v8.2.2
- SD-Card: Western Digital WD Purple SC QD101 32GB
- Device model : RPi 4 Model B (aarch64)
- dietpi_userdata are switch to the extrenal HDD
- system is only used for a nextcloud installation (version 23.0.3)
installed software:
Lighttpd: Extremely lightweight webserver
MariaDB: Persistent cached file-per-table database server
PHP: Hypertext Preprocessor for dynamic web content
Redis: Volatile in-memory non-SQL database server
Certbot: Obtain and renew Let's Encrypt SSL certs for HTTPS
DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot
Dropbear: Lightweight SSH server
Nextcloud: File sync, sharing and collaboration platform
Neovim: heavily refactored vim fork
Filesystem Infos:
root@DietPi:/# df -hT
Dateisystem Typ Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root ext4 30G 30G 0 100% /
devtmpfs devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs tmpfs 3,9G 0 3,9G 0% /dev/shm
tmpfs tmpfs 1,6G 17M 1,6G 2% /run
tmpfs tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs tmpfs 3,9G 0 3,9G 0% /tmp
tmpfs tmpfs 50M 24K 50M 1% /var/log
/dev/mmcblk0p1 vfat 127M 35M 92M 28% /boot
/dev/sda ext4 1,8T 115G 1,6T 7% /mnt/monkey_hdd
SD-Card infos:
root@DietPi:/# cat /var/tmp/dietpi/logs/fs_partition_resize.log
Removed /etc/systemd/system/local-fs.target.wants/dietpi-fs_partition_resize.service.
Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0140a7f0
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 270335 262144 128M c W95 FAT32 (LBA)
/dev/mmcblk0p2 270336 1751375 1481040 723.2M 83 Linux
/dev/mmcblk0p2:
New situation:
Disklabel type: dos
Disk identifier: 0x0140a7f0
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 270335 262144 128M c W95 FAT32 (LBA)
/dev/mmcblk0p2 270336 62333951 62063616 29.6G 83 Linux
The partition table has been altered.
resize2fs 1.46.2 (28-Feb-2021)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 4
The filesystem on /dev/mmcblk0p2 is now 7757952 (4k) blocks long.
I tried the following command to get some more informations about the big files.
I’ve exclude the /mnt directory because I#ve mounted there me externel HDD.
root@DietPi:/# du -a / --exclude /mnt | sort -n -r | head -n 30
du: Zugriff auf '/proc/2948/task/2948/fd/3' nicht möglich: Datei oder Verzeichnis nicht gefunden
du: Zugriff auf '/proc/2948/task/2948/fdinfo/3' nicht möglich: Datei oder Verzeichnis nicht gefunden
du: Zugriff auf '/proc/2948/fd/4' nicht möglich: Datei oder Verzeichnis nicht gefunden
du: Zugriff auf '/proc/2948/fdinfo/4' nicht möglich: Datei oder Verzeichnis nicht gefunden
1782439 /
1024932 /usr
700340 /var
667976 /var/www
667848 /var/www/nextcloud
587440 /usr/lib
461836 /var/www/nextcloud/apps
232532 /usr/lib/firmware
212920 /usr/share
175628 /usr/bin
165076 /usr/lib/aarch64-linux-gnu
106108 /var/www/nextcloud/core
86080 /var/www/nextcloud/3rdparty
84172 /usr/lib/modules
84168 /usr/lib/modules/5.10.103-v8+
81708 /usr/lib/modules/5.10.103-v8+/kernel
71284 /usr/share/locale
47784 /var/www/nextcloud/apps/calendar
42956 /usr/lib/modules/5.10.103-v8+/kernel/drivers
42128 /var/www/nextcloud/apps/calendar/js
41964 /usr/share/doc
41484 /usr/sbin
35816 /var/www/nextcloud/apps/settings
35576 /var/www/nextcloud/apps/cookbook
34959 /boot
33876 /var/www/nextcloud/core/doc
33060 /var/www/nextcloud/apps/maps
29208 /var/www/nextcloud/3rdparty/aws
29204 /var/www/nextcloud/3rdparty/aws/aws-sdk-php
29180 /var/www/nextcloud/3rdparty/aws/aws-sdk-php/src
root@DietPi:/# G_TREESIZE /
du: Zugriff auf '/proc/2956/task/2956/fd/3' nicht möglich: Datei oder Verzeichnis nicht gefunden
du: Zugriff auf '/proc/2956/task/2956/fdinfo/3' nicht möglich: Datei oder Verzeichnis nicht gefunden
du: Zugriff auf '/proc/2956/fd/4' nicht möglich: Datei oder Verzeichnis nicht gefunden
du: Zugriff auf '/proc/2956/fdinfo/4' nicht möglich: Datei oder Verzeichnis nicht gefunden
143,2 GiB /
141,5 GiB /mnt
1000,9 MiB /usr
683,9 MiB /var
34,1 MiB /boot
16,5 MiB /run
3,6 MiB /etc
1,5 MiB /root
20,0 KiB /home
16,0 KiB /lost+found
4,0 KiB /srv
4,0 KiB /opt
4,0 KiB /media
0,0 bytes /tmp
0,0 bytes /sys
0,0 bytes /proc
0,0 bytes /dev