I am using a Debian VM on my Synology NAS for some applications, and one of them is Youtube-dl, so I can easily download youtube video's. Almost all commands have stopped working on the VM, with the following error: Code: Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) df -h shows this: Code: root@srv:/home/user# df -h Filesystem Size Used Avail Use% Mounted on udev 990M 0 990M 0% /dev tmpfs 201M 3.0M 198M 2% /run /dev/sda2 61G 60G 0 100% / tmpfs 1001M 44K 1001M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 1001M 0 1001M 0% /sys/fs/cgroup /dev/sda1 511M 132K 511M 1% /boot/efi //192.168.2.2/video 5.3T 4.4T 885G 84% /mnt/video tmpfs 201M 0 201M 0% /run/user/999 tmpfs 201M 0 201M 0% /run/user/1000 But the disk isn't full. As you can see, /mnt/video is a mount for a external SMB drive. The total download data through this VM is more than 400 GB. I'm sure it is on the NAS (under /video). How can I make Debian calculate the storage correctly?
Code: Filesystem Inodes IUsed IFree IUse% Mounted on udev 248K 341 248K 1% /dev tmpfs 251K 448 250K 1% /run /dev/sda2 3.9M 52K 3.8M 2% / tmpfs 251K 10 251K 1% /dev/shm tmpfs 251K 2 251K 1% /run/lock tmpfs 251K 15 251K 1% /sys/fs/cgroup /dev/sda1 0 0 0 - /boot/efi //192.168.2.2/video 0 0 0 - /mnt/video tmpfs 251K 10 251K 1% /run/user/999 tmpfs 251K 10 251K 1% /run/user/1000
But the root partition / is full on /dev/sda2. Try freeing space there, that may fix the issue. All Unix and Linux systems start failing when root partition runs out of disk space. On Debian, check if you have several old kernels installed, they consume 200 MB each, for example with dpkg --list | grep linux-image | grep ^ii apt clean removes downloaded packages from /var/cache apt autoremove To remove automatically installed packages that are no longer used
That did not help. There are 2 old kernels, but that should not fill it. I suspect that a part of the downloaded video's is in /dev/sda2/mnt/video and a part in the mount //IPAD/video. But when I ls /mnt/video, I see the contents of the external volume and not what's on /dev/sda2 ofcourse.
Good idea, I oversaw that simple option. Fixed Now moving everything away to the external drive. Thanks. Code: Filesystem Size Used Avail Use% Mounted on udev 990M 0 990M 0% /dev tmpfs 201M 5.5M 195M 3% /run /dev/sda2 61G 3.1G 55G 6% / tmpfs 1001M 264K 1001M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 1001M 0 1001M 0% /sys/fs/cgroup /dev/sda1 511M 132K 511M 1% /boot/efi //192.168.2.2/video 5.3T 4.5T 823G 85% /mnt/video tmpfs 201M 0 201M 0% /run/user/999 tmpfs 201M 0 201M 0% /run/user/1000