Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

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
subsense
Newbie
Newbie
Posts: 17
Joined: August 22nd, 2009, 3:17 am

Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Post by subsense »

First:
Hi all! I'm new here and love this great tool beats NZBget on all fronts!

My problem for wich I can't find a solution in these forums:

Config:
ASrock ION + XBMC Live (updated to 9.0.4.02).
NAS (CH3SNAS)

Now I want the ASrock to download the files, but I need to extract to a location on the NAS
On the NAS everyone has write access. After the unpack the rars needs te be deleted ofcourse

In sabnzbd+ I Learned I can't unpack directly to the NAS (like //nas/folder or smb://nas/folder)
Or can I?
So I have to permanently mount this //nas/folder to a location on the asrock.
The root folder in sabnzbd+ is "/home/xbmc" so I think the mount has to sit here somewhere (Like "/home/xbmc/Unzipt"

But how do I do that? I'm really a Linux n00b and have played around with the mount command.
What's the best way te do this?
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Post by jcfp »

subsense wrote:In sabnzbd+ I Learned I can't unpack directly to the NAS (like //nas/folder or smb://nas/folder)
Or can I? So I have to permanently mount this //nas/folder to a location on the asrock.
Correct.
subsense wrote: The root folder in sabnzbd+ is "/home/xbmc" so I think the mount has to sit here somewhere (Like "/home/xbmc/Unzipt"
Nope, the mountpoint can be anywhere; sabnzbd only assumes paths that don't start with a / to be relative to its favorite directory. So just specify the full path if it's somewhere else.
subsense wrote: But how do I do that? I'm really a Linux n00b and have played around with the mount command.
What's the best way te do this?
Permanently mount the thing, then configure the relevant directory setting accordingly. That's all.
subsense
Newbie
Newbie
Posts: 17
Joined: August 22nd, 2009, 3:17 am

Re: Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Post by subsense »

jcfp wrote:
subsense wrote:In sabnzbd+ I Learned I can't unpack directly to the NAS (like //nas/folder or smb://nas/folder)
Or can I? So I have to permanently mount this //nas/folder to a location on the asrock.
.......

Permanently mount the thing, then configure the relevant directory setting accordingly. That's all.
Great thanks, zo I edit the file "/etc/fstab", added the following lines

Code: Select all

# Samba
# //ipaddress_nas/Volume_2/Unzipt  /home/xbmc/nas/Unzipt  cifs  user=user,uid=1000,gid=100  0  0
//ipaddress_nas/Volume_2/Unzipt  /home/xbmc/nas/Unzipt  cifs
I don't use "user=user,uid=1000,gid=100  0  0" so I've deleted this.
But after a reboot, no mounts.
Last edited by subsense on August 22nd, 2009, 6:39 am, edited 1 time in total.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Post by jcfp »

subsense wrote: Great thanks, zo I edit the file "/etc/fstab", added the following lines

Code: Select all

# Samba
# //ipaddress_nas/Volume_2/Unzipt  /home/xbmc/nas/Unzipt  cifs  user=user,uid=1000,gid=100  0  0
//ipaddress_nas/Volume_2/Unzipt  /home/xbmc/nas/Unzipt  cifs
I don't use "user=user,uid=1000,gid=100  0  0" so I've deleted this.
But after a reboot, no mounts.
Leaving out credentials might cause a prompt for the password, try:

Code: Select all

//ipaddress_nas/Volume_2/Unzipt /home/xbmc/nas/Unzipt cifs guest 0 0
testing doesn't need a reboot, just sudo mount /home/xbmc/nas/Unzipt does the job.
subsense
Newbie
Newbie
Posts: 17
Joined: August 22nd, 2009, 3:17 am

Re: Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Post by subsense »

Then I get this error

Code: Select all

(T: XBMCLive)xbmc@XBMCLive:~$ sudo mount /home/xbmc/nas/Unzipt
mount: wrong fs type, bad option, bad superblock on //ipaddress/Volume_2/Unzipt,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

(T: XBMCLive)xbmc@XBMCLive:~$
I will also look into the Ubuntu forums, it's kinda Linux/xbmc not sabnzbd+
That's working perfectly  :D
subsense
Newbie
Newbie
Posts: 17
Joined: August 22nd, 2009, 3:17 am

Re: Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Post by subsense »

Had to install the smb client  :-*
I can mount now  :)

Now I must just figure out how to auto-mount...
Post Reply