View unanswered posts | View active topics It is currently Sun May 19, 2013 6:21 am



Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
 HOWTO: Let the Media Library Index a mounted NAS share 
Author Message

Joined: Mon Feb 21, 2011 12:20 am
Posts: 3
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
JeFF1985 wrote:
Anyone knows what is going wrong?

The 192.168.0.50 ip adres is from my QNAP Nas TS-419p+
I can access the \\192.168.0.50\Public\Films share on my PC with any problem.

/ # mount -t cifs //192.168.0.50/Public/Films /mnt/usbmounts/sda1/Movies -o username=JeFF,password=******
mount: Mounting //192.168.0.50/Public/Films on /mnt/usbmounts/sda1/Movies failed: Unknown error 6
/ #

Hmmpf if i try the same command without giving -o username/password i get the following error code:
: Unknown error 22



For the people who encounter the same problem.
This line worked for me..

mount -t cifs -o nolock,proto=tcp,username=JeFF,password=****** //192.168.0.50/Public /usr/local/etc/Movies
mount -o bind /usr/local/etc/Movies /tmp/usbmounts/sda1/Movies


Looks like i cant mount a sub-folder of my NAS her Public folder.


Mon Feb 21, 2011 10:07 am
Profile

Joined: Mon Feb 21, 2011 12:20 am
Posts: 3
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
to bad tho that my folder.jpg files are not showing up as preview thumbnails :(


Tue Feb 22, 2011 8:17 am
Profile

Joined: Sun Feb 20, 2011 12:34 am
Posts: 3
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
JeFF1985 wrote:
Looks like i cant mount a sub-folder of my NAS her Public folder.
That is the same conclusion I've arrived at. I'm not very experienced with Linux so maybe someone who is can confirm that a sub-directory can't be mounted or they can explain how to mount a sub-directory. I like to learn!


Tue Feb 22, 2011 6:27 pm
Profile

Joined: Fri Feb 18, 2011 8:44 am
Posts: 7
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
Hi guys,

Thanks for the good work -- I'll give it a go this weekend.

However, am I the only one who's angry that I'm effectively having to rewrite parts of the firmware to get the HD mini2 to have reasonable functionality???

Happy thoughts, smiley face,

Jon.


Wed Feb 23, 2011 1:37 pm
Profile

Joined: Sun Feb 27, 2011 3:55 am
Posts: 5
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
txdot wrote:
JeFF1985 wrote:
Looks like i cant mount a sub-folder of my NAS her Public folder.
That is the same conclusion I've arrived at. I'm not very experienced with Linux so maybe someone who is can confirm that a sub-directory can't be mounted or they can explain how to mount a sub-directory. I like to learn!


You should be able to effectively mount a sub folder (I think that this was the question - I did something like that).
Assuming that "Public" is a volume on the NAS.

mkdir /usr/local/etc/whatever
mount -t cifs -o nolock,proto=tcp,username=... //NAS_IP_ADDRESS/Public /usr/local/etc/whatever
if [ ! -d /tmp/usbmounts/sda1/stuff ]
then
mkdir /tmp/usbmounts/sda1/stuff
fi
mount -o bind /usr/local/etc/whatever/level1/level2/level3/video /tmp/usbmounts/sda1/stuff

Remember to make the mount point directories if they are not already there.

Hope that this helps


Sun Feb 27, 2011 10:31 am
Profile

Joined: Sat Oct 24, 2009 6:29 pm
Posts: 8937
Location: Netherlands
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
Moved to guide section.

_________________
My latest music production released on 10-1-2012 !!!
http://www.youtube.com/watch?v=Kaagnvz3CAs
Playon HD1/HD2/HD3 and MIni series//DVR-HD/ESSENTIAL/VEOLO BLOG, Latest tips Tricks Unreleased Firmwares News and Tutorials !
HTTP://ACRYANFAQ.BLOGSPOT.COM


Thu Mar 03, 2011 11:59 am
Profile

Joined: Thu Mar 03, 2011 3:48 pm
Posts: 78
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
it's all the afternoon I'm trying to access my Drobo connected this way:

PlayonMini2 <--- ethernet ---> Mac Mini <--- FireWire800 --> Drobo

Drobo is shared so I can access from other computers just connecting to Mini, but every time I try the mounts shown in this thread I always get an unknown error. it changes when adding user and password:


/ # mount -t cifs //192.168.0.9/Volumes/Drobo/ /mnt/usbmounts/sda1/_MOVIE -o username=guest
mount: Mounting //192.168.0.9/Volumes/Drobo/ on /mnt/usbmounts/sda1/_MOVIE failed: Unknown error 6


/ # mount -t cifs //192.168.0.9/Volumes/Drobo/ /mnt/usbmounts/sda1/_MOVIE -o username=lock,password=*****
mount: //192.168.0.9/Volumes/Drobo/ is write-protected, mounting read-only
mount: Mounting //192.168.0.9/Volumes/Drobo/ on /mnt/usbmounts/sda1/_MOVIE failed: Unknown error 13


and I've no idea where's the problem. is there a list of Linux "unknown errors"? I can't solve the problem if I don't know what's the problem in first place.

thanks :|


Thu Mar 03, 2011 9:25 pm
Profile

Joined: Sat Feb 05, 2011 5:15 pm
Posts: 11
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
locksoft wrote:
it's all the afternoon I'm trying to access my Drobo connected this way:

PlayonMini2 <--- ethernet ---> Mac Mini <--- FireWire800 --> Drobo

Drobo is shared so I can access from other computers just connecting to Mini, but every time I try the mounts shown in this thread I always get an unknown error. it changes when adding user and password:


/ # mount -t cifs //192.168.0.9/Volumes/Drobo/ /mnt/usbmounts/sda1/_MOVIE -o username=guest
mount: Mounting //192.168.0.9/Volumes/Drobo/ on /mnt/usbmounts/sda1/_MOVIE failed: Unknown error 6


/ # mount -t cifs //192.168.0.9/Volumes/Drobo/ /mnt/usbmounts/sda1/_MOVIE -o username=lock,password=*****
mount: //192.168.0.9/Volumes/Drobo/ is write-protected, mounting read-only
mount: Mounting //192.168.0.9/Volumes/Drobo/ on /mnt/usbmounts/sda1/_MOVIE failed: Unknown error 13


and I've no idea where's the problem. is there a list of Linux "unknown errors"? I can't solve the problem if I don't know what's the problem in first place.

Can you mount just //192.168.0.9/Volumes/ ? I think you cannot directly mount subfolders of shares, and in this case Volumes is the share. See also higher up in this thread on how to deal with this.


Thu Mar 03, 2011 9:30 pm
Profile

Joined: Thu Mar 03, 2011 3:48 pm
Posts: 78
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
sandeman684 wrote:
Can you mount just //192.168.0.9/Volumes/ ? I think you cannot directly mount subfolders of shares, and in this case Volumes is the share. See also higher up in this thread on how to deal with this.


No, I cant. keep getting same unknown error, even changing the connection string as suggested in the post above:


/usr/local/etc/Movies # mount -t cifs -o nolock,proto=tcp,username=Lock,password=****** //192.168.0.9/Volumes /usr/local/etc/Movies
mount: //192.168.0.9/Volumes is write-protected, mounting read-only
mount: Mounting //192.168.0.9/Volumes on /usr/local/etc/Movies failed: Unknown error 13
/usr/local/etc/Movies #


my problem is I don't know Linux at all, I've no idea if I'm trying the wrong connection path.
if I connect to Mini from another Mac I can see Drobo folder along with other dirs. So I've no idea... :[


Thu Mar 03, 2011 9:40 pm
Profile

Joined: Thu Mar 03, 2011 3:48 pm
Posts: 78
Post Re: HOWTO: Let the Media Library Index a mounted NAS share
update:

ok, I was able to connect to Drobo at least, changing here and there in sharing permits.

now I've this string that maps the Drobo directory to the USBkey one:

mount -t cifs //192.168.0.9/Movies /mnt/usbmounts/sda1/_MOVIE -o username=Lock,password=*****

problem is that if I type it in telnet from that moment I can see the content of Drobo inside the USB, but the same identical string doesn't work on boot. my _MOVIE folder is still empty. :|


Thu Mar 03, 2011 10:32 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.