There was not enough free disk space to start the recording

I am all of a sudden getting an error for dvr recordings “There was not enough free disk space to start the recording” but I have plenty of disk space on mu usb thumb drive.

here is what I find in the log

12:30:00.644 [0x62aff400] DEBUG - DVR:Grabber: Starting operation for ‘The Young and the Restless - E243 - Episode 243’.
Aug 15, 2018 12:30:00.647 [0x62aff400] DEBUG - Activity: registered new activity e63a19bb-4fbb-45ad-af7a-ec93c5123f19 - Recording
Aug 15, 2018 12:30:00.648 [0x62aff400] DEBUG - DVR:Grabber: HDHomerun starting a media grab on device device://tv.plex.grabbers.hdhomerun/10575430 (Silicondust HDHomeRun EXTEND, supported) tuner 0.
Aug 15, 2018 12:30:00.661 [0x62aff400] DEBUG - DVR:Subscription: Resolved subscription to library item ‘The Young and the Restless’ (59097)
Aug 15, 2018 12:30:00.677 [0x62aff400] DEBUG - There were 1 top-level paths for The Young and the Restless.
Aug 15, 2018 12:30:00.682 [0x62aff400] WARN - Low disk space: 4GB source file, 26.04GB capacity, 3.28GB available on “/home/pi/usbstick/.grab”
Aug 15, 2018 12:30:00.682 [0x62aff400] ERROR - DVR:Grabber: Not enough free space in “/home/pi/usbstick/.grab”
Aug 15, 2018 12:30:00.682 [0x62aff400] DEBUG - DVR:Grabber: Operation for The Young and the Restless - E243 - Episode 243 completed with status error (There was not enough free disk space to start the recording)
Aug 15, 2018 12:30:00.682 [0x62aff400] DEBUG - Activity: Ended activity e63a19bb-4fbb-45ad-af7a-ec93c5123f19.
Aug 15, 2018 12:30:00.704 [0x62aff400] ERROR - DVR:Grabber: Starting media grab failed.
Aug 15, 2018 12:30:01.622 [0x6ca7e400] DEBUG - NetworkInterface: received Netlink message len=56, type=RTM_NEWLINK, flags=0x0
Aug 15, 2018 12:30:01.623 [0x6ca7e400] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Aug 15, 2018 12:30:01.623 [0x6ca7e400] DEBUG - Network change.

Why do you doubt this log entry? But take a look at df -h.

here is the df -h result

Filesystem Size Used Avail Use% Mounted on
/dev/root 27G 22G 3.5G 86% /
devtmpfs 466M 0 466M 0% /dev
tmpfs 470M 8.0K 470M 1% /dev/shm
tmpfs 470M 13M 458M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 470M 0 470M 0% /sys/fs/cgroup
/dev/mmcblk0p6 68M 22M 47M 33% /boot
tmpfs 94M 0 94M 0% /run/user/109
tmpfs 94M 0 94M 0% /run/user/1000

Ah. Now I know why you are confused :smiley: You think that you have mounted some other drive at /home/pi/usbstick/. However, at the moment there is only your SD card. That’s why /home/pi/usbstick/ also only points to data on your SD card. There is only 3.5 GB left on your SD card. That’s what Plex is telling you.

You can check your current mounts with mount.

I am confused, Yes I have a usbstick 64gb that I thought I was using for the dvr

pi@raspberrypi:~ $ mount
/dev/mmcblk0p7 on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=476208k,nr_inodes=119052,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p6 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/109 type tmpfs (rw,nosuid,nodev,relatime,size=96160k,mode=700,uid=109,gid=113)
gvfsd-fuse on /run/user/109/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=109,group_id=113)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=96160k,mode=700,uid=1000,gid=1000)

The USB stick is not mounted at the moment so it cannot be used. Here is a great tutorial how to correctly setup your /etc/fstab configuration to mount your USB stick at boot. It’s most intended for mounting media, just adapt the mount points to your use case.

Thanks I have now mounted it as /disk/DVR but when I try to record I get “No write access to destination”

I tried sudo chown -R pi:pi /disk and got “Operation not permitted”

this si what I added to fstab

Mount USB stick for DVR

UUID=BCA7-632D /disk/DVR vfat defaults,auto,nofail 0 1

I appreciate all your help as you can tell I have n o idea what I am doing.

PMS runs as user plex, not pi. But this does not matter, as your vfat USB pendrive does not support permissions at all. If you plan to use this drive only with your RPi for now, you should consider to format this drive as ext4. But for now, just change the mount options in /etc/fstab slightly:

UUID=BCA7-632D /disk/DVR vfat defaults,auto,nofail,umask=000 0 1

It’s best to reboot your Pi afterwards. And please do not use chown for this mount point. It would only change the permissions temporarily till next reboot --> vfat does not store permissions.

That worked. Thank you for your help. I sure have a lot to learn.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.