Page 1 of 1

Extract to NAS on Ubuntu 9.0.4 (XBMC Live)

Posted: August 22nd, 2009, 3:30 am
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?

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

Posted: August 22nd, 2009, 5:18 am
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.

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

Posted: August 22nd, 2009, 6:37 am
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.

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

Posted: August 22nd, 2009, 7:00 am
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.

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

Posted: August 22nd, 2009, 1:51 pm
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

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

Posted: August 22nd, 2009, 2:18 pm
by subsense
Had to install the smb client  :-*
I can mount now  :)

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