Sab and NAS drive failure
Posted: February 7th, 2014, 12:52 pm
Hi,
I've been running Sickbeard Sabnzbd+ on a Raspberry pi for a few days without issue.
Sickbeard outputs to a mounted drive on my NAS drive.
I'm trying to get Sabnzbd to use Temporary Download Folder and Completed Download Folder to use the nas drive too.
I've not used Linux for many years and am a little rusty but I believe my set up is correct however I just keep getting the following with the nas folder
2014-02-07 17:02:20,977 ERROR: complete_dir directory: /home/pi/qnap/complete error accessing
Also unable to get a mounted usb flash drive to work
2014-02-07 17:04:03,900 ERROR: download_dir directory: /mnt/USBdrive/incomplete error accessing
I'm pretty sure its a permission problem in Sabnzbd as Sickbeard has no problem and the mounts are the same.
mount
/dev/mmcblk0p2 on / type f2fs (rw,noatime)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,relatime,gid=5,mode=620)
/dev/mmcblk0p1 on /boot type vfat (rw,noatime)
//QNAP/Qmultimedia/QTV-Series on /home/pi/qnap/video type cifs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
//QNAP/Qmultimedia/SABnzbd/Complete on /home/pi/qnap/complete type cifs (rw,noexec,nosuid,nodev)
//QNAP/Qmultimedia/SABnzbd/Incomplete on /home/pi/qnap/incomplete type cifs (rw,noexec,nosuid,nodev)
/dev/sda1 on /media/USBDRIVE type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,uhelper=udisks)
ls -l (complete and incomplete are under qnap)
drwxrwxr-x 4 root root 4096 Feb 7 16:17 USBdrive
drwxr-xr-x 5 pi pi 4096 Feb 7 11:53 qnap
drwxr-xr-x 2 root root 0 Feb 7 12:58 complete
drwxr-xr-x 2 root root 0 Feb 7 11:51 incomplete
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 7.5G 1.8G 5.7G 24% /
/dev/mmcblk0p1 69M 69M 1.0K 100% /boot
//QNAP/Qmultimedia/QTV-Series 916G 656G 261G 72% /home/pi/qnap/video
//QNAP/Qmultimedia/SABnzbd/Complete 916G 656G 261G 72% /home/pi/qnap/complete
//QNAP/Qmultimedia/SABnzbd/Incomplete 916G 656G 261G 72% /home/pi/qnap/incomplete
/dev/sda1 15G 8.0K 15G 1% /media/USBDRIVE
I've really no idea now, any pointers?
I've been running Sickbeard Sabnzbd+ on a Raspberry pi for a few days without issue.
Sickbeard outputs to a mounted drive on my NAS drive.
I'm trying to get Sabnzbd to use Temporary Download Folder and Completed Download Folder to use the nas drive too.
I've not used Linux for many years and am a little rusty but I believe my set up is correct however I just keep getting the following with the nas folder
2014-02-07 17:02:20,977 ERROR: complete_dir directory: /home/pi/qnap/complete error accessing
Also unable to get a mounted usb flash drive to work
2014-02-07 17:04:03,900 ERROR: download_dir directory: /mnt/USBdrive/incomplete error accessing
I'm pretty sure its a permission problem in Sabnzbd as Sickbeard has no problem and the mounts are the same.
mount
/dev/mmcblk0p2 on / type f2fs (rw,noatime)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,relatime,gid=5,mode=620)
/dev/mmcblk0p1 on /boot type vfat (rw,noatime)
//QNAP/Qmultimedia/QTV-Series on /home/pi/qnap/video type cifs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
//QNAP/Qmultimedia/SABnzbd/Complete on /home/pi/qnap/complete type cifs (rw,noexec,nosuid,nodev)
//QNAP/Qmultimedia/SABnzbd/Incomplete on /home/pi/qnap/incomplete type cifs (rw,noexec,nosuid,nodev)
/dev/sda1 on /media/USBDRIVE type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,uhelper=udisks)
ls -l (complete and incomplete are under qnap)
drwxrwxr-x 4 root root 4096 Feb 7 16:17 USBdrive
drwxr-xr-x 5 pi pi 4096 Feb 7 11:53 qnap
drwxr-xr-x 2 root root 0 Feb 7 12:58 complete
drwxr-xr-x 2 root root 0 Feb 7 11:51 incomplete
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 7.5G 1.8G 5.7G 24% /
/dev/mmcblk0p1 69M 69M 1.0K 100% /boot
//QNAP/Qmultimedia/QTV-Series 916G 656G 261G 72% /home/pi/qnap/video
//QNAP/Qmultimedia/SABnzbd/Complete 916G 656G 261G 72% /home/pi/qnap/complete
//QNAP/Qmultimedia/SABnzbd/Incomplete 916G 656G 261G 72% /home/pi/qnap/incomplete
/dev/sda1 15G 8.0K 15G 1% /media/USBDRIVE
I've really no idea now, any pointers?