Setting SAB to download to a SMB drive in Linux

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
kiniki
Newbie
Newbie
Posts: 9
Joined: September 21st, 2011, 4:43 am

Setting SAB to download to a SMB drive in Linux

Post 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..
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

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

Post by sander »

What have you filled out as download directory (especially "complete")?
kiniki
Newbie
Newbie
Posts: 9
Joined: September 21st, 2011, 4:43 am

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

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ... ;-)
kiniki
Newbie
Newbie
Posts: 9
Joined: September 21st, 2011, 4:43 am

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

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ...
kiniki
Newbie
Newbie
Posts: 9
Joined: September 21st, 2011, 4:43 am

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

Post 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
kiniki
Newbie
Newbie
Posts: 9
Joined: September 21st, 2011, 4:43 am

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

Post by kiniki »

Got them working at boot....

Last thing I think I need is how to make SAB run at boot?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

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

Post 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
Post Reply