I’m running Syncthing on a Raspberry Pi 4. It’s syncing files to an external SSD (1TB). There’s currently 53GB of data synced to the drive. However, Syncthing has stalled:
2022-02-21 12:18:51: Error on folder "Music Downloads" (2cdrv-nsxe9): insufficient space on disk for database (/home/pi/.config/syncthing/index-v0.14.0.db): 1.0 % < 1 %
2022-02-21 12:19:13: Error on folder "Music" (p4i5j-wuagt): insufficient space on disk for database (/home/pi/.config/syncthing/index-v0.14.0.db): 1.0 % < 1 %
2022-02-21 13:01:04: Error on folder "Music for pi jellyfin server" (hfeqp-kxgcx): insufficient space on disk for database (/home/pi/.config/syncthing/index-v0.14.0.db): 0.5 % < 1 %
I believe this is because the Pi isn’t seeing the SSD as a mounted drive:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 61249276 58462148 263976 100% /
devtmpfs 1709568 0 1709568 0% /dev
tmpfs 1841664 0 1841664 0% /dev/shm
tmpfs 736668 4704 731964 1% /run
tmpfs 5120 4 5116 1% /run/lock
/dev/mmcblk0p1 258095 49436 208660 20% /boot
tmpfs 368332 0 368332 0% /run/user/1000
$ blkid
/dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="5484-8F96" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d20c66d5-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="64bc182a-ca9d-4aa1-8936-d2919863c22a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d20c66d5-02"
But instead as storage integrated directly to the Pi under /media/[drive name]:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 61249276 58445108 281016 100% /
devtmpfs 1709568 0 1709568 0% /dev
tmpfs 1841664 0 1841664 0% /dev/shm
tmpfs 736668 1952 734716 1% /run
tmpfs 5120 4 5116 1% /run/lock
/dev/mmcblk0p1 258095 49436 208660 20% /boot
tmpfs 368332 0 368332 0% /run/user/1000/
What can I do to get the Pi to see the external drive as such, and stop falsely reporting /dev/root as full? This needs to take into account that the Pi is also running Jellyfin and Samba shares, which has required a little trickery with permissions (and I’m not sure I fully understand how I fixed that).