Author |
Message |
tophee
|
Posted: Thu Jun 20, 2013 1:33 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
The power of google seems to be failing me on this one, but I am trying to set up mythvideo to look at my nas for my movie collection. I don't seem to be able to work out the correct way of doing this. Any pointers? I am sure it is a case of just pointing myth at the nas address, or something, but as of yet I have to work out how to do this. Should I mount the nas location in a folder in myth/video?
Some guidance would be great.
Cheers in advance
C
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
RacerX
|
Posted: Thu Jun 20, 2013 2:06 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
If you run myth-setup you will see storage groups. The default storage group is called "default". All you have to do it change the path for /myth/video. Obviously just make sure the drive is mounted.
For example I changed it to the path because I have a small boot drive to
/myth2/video
Keep in mind that I would change the path of metadata, posters, screen shots, etc to be consistent.
|
|
Top |
|
|
jams
|
Posted: Thu Jun 20, 2013 10:07 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
Heres how I would do it.
Access the fileshares service menu and enable central NFS server (This might be easier using the VNC version of the service menu). If you want remote frontends to also mount the NFS shares then check "All hosts use this share" Adjust nfs server and mount point as required (/data/storage/central_nfs is one of the mount points I use). When finished with this screen it will adjust fstab, create the mount dir and attempt to mount the nfs share.
Next edit the storage dir list for Videos and add the new mountpoint of the videos. I would advise against mounting it under the current mythvideo dir because it can become confusing keeping it straight and also if the parent dir doesn't mount correctly then the NFS share may also not mount. Adding the new location for metadata is also a good idea but not required.
|
|
Top |
|
|
tophee
|
Posted: Fri Jun 21, 2013 8:26 am |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi Jams, That sounds like a good way to do it. My server is FreeNAS 8, and it has an NFS share set... I will have a go following your instructions. I will post back and let you know. Thanks.
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
tophee
|
Posted: Sat Jun 22, 2013 10:19 am |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi Jams,
That worked awesomely. The only snag I ran into is not getting the path to the nfs right first time. But once I realised I'd typed that incorrectly it just worked.
Thank you very much
Chris
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
tophee
|
Posted: Sat Jun 22, 2013 2:37 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Oh how irritating....
I got it to work, and instead of updating the metadata I accidentally pressed scan for changes rather than Retrieve all details. And I seem to have lost my videos again. I am guessing that I am no longer mounting the server directory. I've tried to recreate the share. I've turned everything off and it still wont come up. I will try again again tomorrow. Bah.
If anyone has any suggestions on why this has lost its connection and is not remounting the volume, I'd like to know. Very irritating.
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
jams
|
Posted: Sat Jun 22, 2013 3:11 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
check that it's still in /etc/fstab, and try to mount the dir manually. If it doesn't mount using the mount command then figure that bit out. If it does mount using the mount commad, then check that the netfs service is in the boot list. It will be down as it only runs once, but it does need to be in the service list.
|
|
Top |
|
|
RacerX
|
Posted: Sat Jun 22, 2013 4:33 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
Also try Code: cat /etc/hosts/ make sure both both ip addresses are listed in the host file of each machine
|
|
Top |
|
|
tophee
|
Posted: Sun Jun 23, 2013 12:59 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi, It is definitely in fstab. I don't seem to be able to mount the location. I bet a message saying connection refused, which is odd as I've set the freenas box to accept connections from my linhes box ip address of the linhes box is static. Manually trying to mount my the location of my movies I used the command: sudo mount -t nfs 192.168.0.2:/Video /data/storage/central_nfs I get back Code: mount.nfs: access denied by server while mounting 192.168.0.2:/Video Any ideas? Thanks
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
RacerX
|
Posted: Sun Jun 23, 2013 1:42 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
I think the problem is in the exports file on your Free Nas Server
Add this in and restart
/Video 192.168.0.2/24 (rw,sync,no_subtree_check)
|
|
Top |
|
|
tophee
|
Posted: Sun Jun 23, 2013 3:13 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi RacerX,
Where do I insert this? In my /etc/fstab or on the freenas box?
thanks
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
RacerX
|
Posted: Sun Jun 23, 2013 3:41 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
Try this on the freenas box
nano /etc/exports
/Video 192.168.0.2/24 (rw,sync,no_subtree_check)
|
|
Top |
|
|
tophee
|
Posted: Mon Jun 24, 2013 3:22 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi RacerX and Jams,
I think the problem was something corrupted the nfs server on the freenas box. I couldn't mount anything via nfs. I ran an upgrade to the latest version of version 8 and I was able to mount the drive from the command line using this: mount 192.168.0.2:/mnt/Server/Video /data/storage/central_nfs
Just need to check it is persistent and survives reboots. I'll check that shortly and post back.
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
tophee
|
Posted: Wed Jun 26, 2013 3:16 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
So I can now mount my videos files to my mythbox, but I have to do it manually. my /etc/fstab has this entry: Code: 192.168.0.2:/mnt/Server/Video /data/storage/central_nfs nfs hard,intr,actimeo=0 Any ideas?
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
|
jams
|
Posted: Wed Jun 26, 2013 3:20 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
what does "sv status netfs" return?
|
|
Top |
|
|