Page 1 of 1

Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 3:11 pm
by kiniki
I#m not very good with Linux and I can't seem to figure out how to get SAB to download to a Samba Directory stored on a NAS...

Samba is installed... and when I type in

Code: Select all

/usr/bin/smbclient -L192.168.2.2
it shows the drive... But it always downloads to local drive not the NAS...

Can any Linux Experts help?

Further info... SAB is running off a Pogoplug with a 2gb USB (running linux)...
I have an Iomega Cloud NAS drive.
I want the temp directory & final directory to be the NAS, as the usb stick is no use for storing files..

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 3:32 pm
by sander
What have you filled out as download directory (especially "complete")?

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 3:39 pm
by kiniki
sander wrote:What have you filled out as download directory (especially "complete")?
Firstly after following the instructions below I tried to /mnt/samba

Code: Select all

mount -t cifs //192.168.2.2/download -o username=pcguese,password=yourpassword /mnt/samba
But that just downloaded to /mnt/samba

Then I set it as //192.168.2.2/download... It was downloading... but to god knows where!

For the temp directory I tried //192.168.2.2/download/temp
and for Complete I had //192.168.2.2/download

Whatever way I did it... SAB shows my file space as what is on the USB plugged into the pogoplug, not the SMB drives 1.5tb

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 3:44 pm
by sander
SABnzbd on Linux can not handle formats like //192.168.2.2/download/temp; SAB on Linux will only work with normal directory notations like /blabla/blalbla/directory/

So: mount the samba share first, then check that the mount point really contains the stuff from the samba share, make sure you can write to it, and then point SAB to that.

And repeat after every reboot ... ;-)

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 3:49 pm
by kiniki
sander wrote:SABnzbd on Linux can not handle formats like //192.168.2.2/download/temp; SAB on Linux will only work with normal directory notations like /blabla/blalbla/directory/

So: mount the samba share first, then check that the mount point really contains the stuff from the samba share, make sure you can write to it, and then point SAB to that.

And repeat after every reboot ... ;-)
Got ya...

Working.... But now... if I add the following to the /etc/fstab file... will I not have to repeat after reboot?

Code: Select all

//HMNHD-TI1PLO/torrent /mnt/samba smbfs username=pcguest,password=yourpassword 0 0

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 4:14 pm
by sander
kiniki wrote:
sander wrote:SABnzbd on Linux can not handle formats like //192.168.2.2/download/temp; SAB on Linux will only work with normal directory notations like /blabla/blalbla/directory/

So: mount the samba share first, then check that the mount point really contains the stuff from the samba share, make sure you can write to it, and then point SAB to that.

And repeat after every reboot ... ;-)
Got ya...

Working.... But now... if I add the following to the /etc/fstab file... will I not have to repeat after reboot?

Code: Select all

//HMNHD-TI1PLO/torrent /mnt/samba smbfs username=pcguest,password=yourpassword 0 0
/etc/fstab is the correct place. However, I'm not a fstab guru, so probably better to just try and reboot your Linux ...

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 6:04 pm
by kiniki
Yeah.... It's not running at boot... on the plus side, I now have SAB downloading to the right place!

Thanks for the help

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 6:41 pm
by kiniki
Got them working at boot....

Last thing I think I need is how to make SAB run at boot?

Re: Setting SAB to download to a SMB drive in Linux

Posted: September 27th, 2011, 11:54 pm
by sander
kiniki wrote:Got them working at boot....

Last thing I think I need is how to make SAB run at boot?
See http://wiki.sabnzbd.org/install-ubuntu-repo