View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Dec 03, 2006 1:41 am 
Offline
Joined: Fri Dec 01, 2006 9:14 pm
Posts: 28
Location: Hiding behind a shrubbery
I have a nice 560 GB of video that I'd like Myth to see and allow me to view. I have all the video on a media station that I'd rather not disassemble and put in my mythbox at the momoent. I went through and dropped a link into the /myth/video but seems you cannot browse folders.....?

Is there a way to get media to show up in the "watch video" section if it is broken into folders? From what I have seen all video must reside on the mythbackend and be thrown into one folder? I'd like to keep my file structure and still be able to navigate folders through the "watch video" section is that possible?

System that has all the videos is a Debian TB raid box so I thought a ln -s would work but....... any help is appreciated.

Edited the thread name from "through SMB?" to "through NFS?" just to make it easier for people to find if they so needed this help.


Last edited by Efvin on Sun Dec 03, 2006 1:31 pm, edited 3 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 03, 2006 5:32 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Why would you use samba for LINUX-to-LINUX communication? It works fine through NFS. Look here on the wiki for instructions on setting up NFS....

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 03, 2006 11:51 am 
Offline
Joined: Fri Dec 01, 2006 9:14 pm
Posts: 28
Location: Hiding behind a shrubbery
Eitherway, I had, used the box to link to my windows PC so I used SMB....that and I wrote the post at like 3am my time. Brain dead I guess...?


Using NFS I can't seem to get the fun "permission denied" message to go away. I did edit the /etc/exports to show

/storage *(rw,all_squash,anonuid=65344,anongid=65344)

Tried many different variants of the line to see what might be blocking it. It gives the denied by server so.... it's the server. I'm not too sure as to what though, the UID/GID match, the versions match, Myth can see the shares. I dunno.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 10:55 pm 
Offline
Joined: Thu Dec 01, 2005 4:14 pm
Posts: 78
Location: Ann Arbor, MI
Efvin:

I have my videos stored on a file server completely separate from my MythTV backend, and the videos are separated into folders by genre to make it easier for me to find videos - so your proposed setup definitely works.

I guess the best way is to start simple to help determine what the problem is. The first thing that I would do is to change your /etc/exports file to be the very simple

Code:
/storage *(rw)


NOTE: IF YOU ARE NOT BEHIND A NAT ROUTER, DO NOT DO THIS! :-)

Remember to restart your nfs server process any time you edit /etc/exports - it does not actively read the configuration file while running.

Then, from a different linux box (any will do), switch to root and do something like

Code:
# mount server.ip.address:/storage /mnt/temp


If the mount succeeds without error, try to list the contents of the nfs mount:

Code:
# ls /mnt/temp


If that works, switch out of root and try to list the contents again as un unprivileged user:

Code:
$ ls /mnt/temp


If this succeeds, then all of your ingredients are there - just modify the recipe so that it is appropriate to your setup. I have the nfs share mounted read only (none of my MythTV machines need write access to the video directory) at /myth/video on all of my MythTV machines (frontends and backends). Works like a champ for me.

If any of this fails for you, you either have a configuration error (unlikely) or a permissions error (much more likely). In either one of those cases, post your steps and your error codes/statements and we'll try to help.

Good luck!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 05, 2006 2:57 pm 
Offline
Joined: Fri Dec 01, 2006 9:14 pm
Posts: 28
Location: Hiding behind a shrubbery
Oddly enough the /etc/exports needed a specific defenition of the client connecting.


ended up having to use:

/storage 192.168.1.99(ro,sync)

With that, all worked and listed, thanks for all that helped, I appreciate it.

BTW: what did you set in order for it to use folders and keep items from file listing only? ****EDIT**** nm, figured it out just set the video browser browses files option.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 8:58 am 
Offline
Joined: Wed Mar 01, 2006 8:04 am
Posts: 1
A more flexible line for /etc/exports which would allow any machine on your local network to access the share would be:

/storage 192.168.1.0/255.255.255.0(ro,sync)

That grants access to any machine from 192.168.1.1 to 192.168.1.254


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu