Access NFS Share on PVR help

  • Hoping someone can help me with a NFS share issue.


    I've built up an i5 to use as a home media server. I have successfully installed OMV on it.
    I want stream video's to a Topfield PVR (which supports NFS) I have successfully done this under
    windows 7 using FreeNFS.


    I have set a share called andrew through OMV's web interface. I have given myself read / write access.
    The NFS service is running. The PVR connects to my server OK but does not list any files in the shared directory.
    If I FTP into the server I can view the shared directory and the media files in it.


    The PVR uses an ini file to point it to the shared folder amongst other things. I have pasted it below
    in the hope it may yield some information to someone my knowledgeable than me.


    For what it's worth I'm a Linux novice and I set the server's harddrive file system as JFS.


    (ini file on PVR)


    NAS IP-Address=192.168.0.23
    NAS MAC-Address=
    Local Folder Name=Media_Server
    Remotefolder MediaFiles=/export/andrew
    Mountoptions=-osoft,intr,tcp,rsize=65535,nolock
    NAS Boottime=30
    Automount=1
    Ping Wait=3
    Ping Gap=30
    MountDelay=30
    NAS Recording=0
    Timerdelay=0
    SilentMode=0


    Any help greatly appreciated


    Regards


    Andrew

  • Thanks for the prompt reply. As a relative new comer to linux I'll try and answer your questions as best I can although I'm afraid they are a bit beyond my experience level.
    1) I know you can telnet into the PVR but I have never done so.
    2) I have an old P4 with Ubuntu loaded on it, however I wouldn't know how to test the export mount.
    3) Not sure on this one. Just followed the OMV setup as best I could.


    Regards,


    Andrew

    • Offizieller Beitrag

    I know you can telnet into the PVR but I have never done so.


    Try and tell me how it goes.


    I have an old P4 with Ubuntu loaded on it, however I wouldn't know how to test the export mount.


    in console you type mount 192.168.0.23:/export/andrew /mnt and at path /mnt remote files should appear


    Not sure on this one. Just followed the OMV setup as best I could.


    This is the extra options text area for nfs, i guess you use the defaults. subtree_check and secure. Do not copy the ones from here.



    In your case can you try the following extra options for OMV subtree_check,insecure,no_root_squash.


    Finally do you have the manual you can post the link here for the PVR?

  • Hi Subzero,


    I added subtree_check,insecure,no_root_squash in options as suggested but the same issue is still present,
    no files or folders visible in the PVR's on screen menu. The remote control for the PVR has a speed key on it
    to create new folders on whatever drives are present. I pushed it a few times to see if it would make new folders.
    Nothing appeared on screen.


    Next I ran Ubuntu on the P4 in order to test the export mount. Before I ran the mount command I FTP'd in just to check if Ubuntu could access the media server. To my surprise the PVR had made several new folders on the OMV server. So it appears the PVR can write to the server, it just can't display the files.


    The mount 192.168.0.23:/export/andrew /mnt command returns the following,


    [sudo] password for user:
    root@tux:~# mount 192.168.0.23:/export/andrew /mnt
    mount: wrong fs type, bad option, bad superblock on 192.168.0.23:/export/andrew,
    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


    root@tux:~#


    Next, just to verify the PVR, I was again able to mount a windows 7 share via FreeNFS and see all files on the PVR's menu.


    It sounds like I've forgotten to set some simple option?


    I noticed in OMV FAQ's that the preferred file system is EXT4, I set mine up with JFS. Do you think this maybe an issue?


    Below is the PVR's NFS mount app's log file if it helps.


    Thanks,


    Andrew


    18.02.2015 08:04:00 -> NAS Mount 3.1 started
    18.02.2015 08:04:00 -> Server INI loaded
    18.02.2015 08:04:00 -> Looking for 2. NAS Server (2.ini)
    18.02.2015 08:04:00 -> No more Servers found
    18.02.2015 08:04:00 -> Send Ping to 1. NAS (192.168.0.23)
    18.02.2015 08:04:00 -> ping -c1 -W3 192.168.0.23 > /mnt/hd/ProgramFiles/Settings/NASMount/1.ping
    18.02.2015 08:04:00 -> 1. NAS (192.168.0.23) is online
    18.02.2015 08:04:26 -> Send Ping to 1. NAS (192.168.0.23)
    18.02.2015 08:04:26 -> ping -c1 -W3 192.168.0.23 > /mnt/hd/ProgramFiles/Settings/NASMount/1.ping
    18.02.2015 08:04:26 -> 1. NAS (192.168.0.23) is online
    18.02.2015 08:04:30 -> Start mounting of 1. NAS: 192.168.0.23 (1 try)
    18.02.2015 08:04:30 -> mount "192.168.0.23:/export/andrew" "/mnt/hd/MediaFiles/Media_Server" -osoft,intr,tcp,rsize=65535,nolock
    18.02.2015 08:04:30 -> Mounting of 1. NAS finished successfully
    18.02.2015 08:04:55 -> Send Ping to 1. NAS (192.168.0.23)
    18.02.2015 08:04:55 -> ping -c1 -W3 192.168.0.23 > /mnt/hd/ProgramFiles/Settings/NASMount/1.ping
    18.02.2015 08:04:55 -> 1. NAS (192.168.0.23) is online
    18.02.2015 08:05:25 -> Send Ping to 1. NAS (192.168.0.23)
    18.02.2015 08:05:25 -> ping -c1 -W3 192.168.0.23 > /mnt/hd/ProgramFiles/Settings/NASMount/1.ping
    18.02.2015 08:05:25 -> 1. NAS (192.168.0.23) is online

    • Offizieller Beitrag

    The mount 192.168.0.23:/export/andrew /mnt command returns the following,


    Then my guess ubuntu comes without the client. You can try apt-get install nfs-common and run the mount command again



    I noticed in OMV FAQ's that the preferred file system is EXT4, I set mine up with JFS. Do you think this maybe an issue?


    No nothing to do with that. But that jfs is kind of abandoned. In the future plan to move to ext4 or xfs


    The App is mounting successfully. There must be something with permissions.


    In omv can you post the contents of one folder your trying to share in NFS like ls -la /media/uuid/SharedFolderNFS


    Change the extra options for subtree_check,insecure,no_root_squash,anongid=0,anonuid=0 see if it makes a change

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!