Page 1 of 2 12 LastLast
Results 1 to 16 of 18

Thread: N299 and NFS

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    N299 and NFS

    Hi,
    I've been having difficulties accessing NFS shares on my N299 (latest firmware version 1.00.24). Any attempt to mount them gives me a "Permission denied error". The NFS permissions are set to "*", "writeable", and I've had no joy either with root access enabled or disabled. Have messed about with all permutations of the nfs mount options I can think of (mount -t nfs NASip:/Folder dir, mount -t nfs -o nfsvers=3 NASip:/Folder dir) and both as root and as an unprivileged user via FSTAB) and have the appropriate account setup on the NAS. Anyone else managed to get it to work? Can access it fine over Samba, but need to keep some of the directories synchronised with an offsite NFS filestore and this doesn't seem too convenient over samba...

    Any help appreciated,
    Cormac

  2. #2
    Thecus Staff Thecus - Yvon's Avatar
    Join Date
    Apr 2007
    Posts
    937
    Thanks
    0
    Thanked
    8 times in 8 posts

    Re: N299 and NFS

    Dear Sir,

    Please check the NFS function is enabled: NETWORK->NFS->ENABLED

    and following screen log for your reference:

    From->172.16.66.93:/web/raid/Video
    To->/mnt/test

    root@127.0.0.1:/# cd mnt
    root@127.0.0.1:/mnt# ls
    RAID0/ sys/
    root@127.0.0.1:/mnt# mkdir test
    root@127.0.0.1:/mnt# ls
    RAID0/ sys/ test/
    root@127.0.0.1:/mnt# mount 172.16.66.93:/web/raid/Video /mnt/test
    root@127.0.0.1:/mnt# df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/ram0 54533 37963 16570 70% /
    /dev/hda5 9523 1046 7985 12% /app
    tmpfs 131072 348 130724 0% /tmpfs
    /dev/hda3 30301 19795 8942 69% /cloopfs
    /dev/cloop0 9911 7702 1697 82% /lib/modules
    /dev/cloop1 49574 36440 10574 78% /opt
    /dev/cloop2 3963 2361 1398 63% /img/www
    /dev/cloop3 3019 2486 380 87% /img/bin
    /dev/cloop4 3019 375 2491 13% /lib/security
    /dev/cloop5 3963 1056 2703 28% /usr/share/zoneinfo
    /dev/vg0/lv0 1601108024 298386276 1220078192 20% /raid0/data
    /dev/vg0/syslv 1015704 32912 930364 3% /raid0/sys
    172.16.66.93:/web/raid/Video 151474496 2957920 148516576 2% /mnt/test
    root@127.0.0.1:/mnt#


    Yvon.

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    Ah! I was missing the "/web/raid" section of the path. Didn't see any reference to it in the documentation. Might be worth including some NFS detail in the next revision of the N299 manual?
    Many thanks for the rapid reply,
    Cormac

  4. #4
    Odc
    Odc is offline
    Sonic Boom! Odc's Avatar
    Join Date
    Aug 2005
    Location
    Hertfordshire
    Posts
    1,537
    Thanks
    26
    Thanked
    18 times in 17 posts
    • Odc's system
      • Motherboard:
      • Gigabyte Z77-D3H
      • CPU:
      • Core i5 3570k
      • Memory:
      • 8GB Corsair XMS3
      • Storage:
      • 500GB Corsair MX100, 500Gb Samsung
      • Graphics card(s):
      • SLI Zotac GTX 560 Ti 448
      • PSU:
      • 750W Enermax
      • Case:
      • CoolerMaster Centurion 5
      • Operating System:
      • Windows 7 Professional x64
      • Monitor(s):
      • Dell SP2309W
      • Internet:
      • BT Infinity 2

    Re: N299 and NFS

    I'm also having trouble getting the N299 to work with NFS. If for example, I add 192.168.0.59 to the Host Name with a folder named Downloads, mapping \\192.168.0.59\Downloads does not work under Windows Vista. I simply get the error "Windows cannot access \\192.168.0.59\Downloads". The N299's IP address would also be 192.168.0.59.

    Any ideas or am I just doing something incredibly stupid?


    Hexus Trust = Odesi

  5. #5
    Thecus Staff Thecus - Yvon's Avatar
    Join Date
    Apr 2007
    Posts
    937
    Thanks
    0
    Thanked
    8 times in 8 posts

    Re: N299 and NFS

    Dear Sir,

    NFS for Linux using.
    For Windows please confirm this folder is PUBLIC=YES or with poerper ACL setting.

    Yvon.

  6. #6
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    I have the same problem: cant access the nfs shares.
    I have activated nfs-service and set for the Video-folder nfs="All Hosts"
    I still cant access the folder:

    heiko@Arbeitstier:~$ sudo mount 192.168.0.100:/web/raid/Video /mnt/
    mount.nfs: access denied by server while mounting 192.168.0.100:/web/raid/Video

  7. #7
    Thecus Staff Thecus - Yvon's Avatar
    Join Date
    Apr 2007
    Posts
    937
    Thanks
    0
    Thanked
    8 times in 8 posts

    Re: N299 and NFS

    Dear Sir,

    Please verify the with following items:
    1. Network->NFS->ENABLED

    NFS configuration on the folder:
    2. Host name->*
    3. Privilege->Writable
    4. Root access->Yes

  8. #8
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    Do I have to authenticate as the user I created on the N299?

  9. #9
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    I have exactly the settings you suggested - same result...

  10. #10
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    heiko@Arbeitstier:~$ ping 192.168.0.100
    PING 192.168.0.100 (192.168.0.100) 56(84) bytes of data.
    64 bytes from 192.168.0.100: icmp_seq=1 ttl=64 time=0.463 ms
    64 bytes from 192.168.0.100: icmp_seq=2 ttl=64 time=0.411 ms
    64 bytes from 192.168.0.100: icmp_seq=3 ttl=64 time=0.435 ms
    ^C
    --- 192.168.0.100 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 1998ms
    rtt min/avg/max/mdev = 0.411/0.436/0.463/0.027 ms
    heiko@Arbeitstier:~$ sudo mount 192.168.0.100:/web/raid/Video /mnt/ -t nfs
    mount.nfs: access denied by server while mounting 192.168.0.100:/web/raid/Video
    heiko@Arbeitstier:~$

  11. #11
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    ....

  12. #12
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    is anything wrong with this settings?



  13. #13
    Thecus Staff Thecus - Yvon's Avatar
    Join Date
    Apr 2007
    Posts
    937
    Thanks
    0
    Thanked
    8 times in 8 posts

    Re: N299 and NFS

    Dear Sir,

    If necessary please provide the connection for N299 and this NFS client for us to verify for you, and you could provide connection infromation from http://esupport.theucs.com for us.

  14. #14
    Registered+
    Join Date
    Mar 2008
    Posts
    51
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    Hi Drache73

    your mount command is not right

    try to use

    mount 192.168.0.100:/web/raid/Video /mnt/test

    you got an access denied cause of you need a subfolder under /mnt/ e.g test and cant
    mount directly in /mnt/

    regards Lars

  15. #15
    Registered User
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    of course I can mount directly under /mnt - and it works now.
    But...
    it only works, if the N299 is up and running before I boot my PC.
    That seems to me a bit weired! Is there a solution for that problem?

  16. #16
    Registered User
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N299 and NFS

    Quote Originally Posted by Thecus - Yvon View Post
    Dear Sir,

    Please check the NFS function is enabled: NETWORK->NFS->ENABLED

    and following screen log for your reference:

    From->172.16.66.93:/web/raid/Video
    To->/mnt/test

    root@127.0.0.1:/# cd mnt
    root@127.0.0.1:/mnt# ls
    RAID0/ sys/
    root@127.0.0.1:/mnt# mkdir test
    root@127.0.0.1:/mnt# ls
    RAID0/ sys/ test/
    root@127.0.0.1:/mnt# mount 172.16.66.93:/web/raid/Video /mnt/test
    root@127.0.0.1:/mnt# df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/ram0 54533 37963 16570 70% /
    /dev/hda5 9523 1046 7985 12% /app
    tmpfs 131072 348 130724 0% /tmpfs
    /dev/hda3 30301 19795 8942 69% /cloopfs
    /dev/cloop0 9911 7702 1697 82% /lib/modules
    /dev/cloop1 49574 36440 10574 78% /opt
    /dev/cloop2 3963 2361 1398 63% /img/www
    /dev/cloop3 3019 2486 380 87% /img/bin
    /dev/cloop4 3019 375 2491 13% /lib/security
    /dev/cloop5 3963 1056 2703 28% /usr/share/zoneinfo
    /dev/vg0/lv0 1601108024 298386276 1220078192 20% /raid0/data
    /dev/vg0/syslv 1015704 32912 930364 3% /raid0/sys
    172.16.66.93:/web/raid/Video 151474496 2957920 148516576 2% /mnt/test
    root@127.0.0.1:/mnt#


    Yvon.
    I have done this in Ubuntu 11.1:
    sudo mount 192.168.0.48:/web/raid/Video /home/user/mnts/N299

    The result is:
    mount: wrong fs type, bad option, bad superblock on 192.168.0.48:/web/raid/Video,
    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

    The NFS permissions on the folder Video are set as stated in this thread: *, WRITABLE, YES
    And of course NFS is enabled.

    By the way is there a way to login via SSH to N299?

    Thanks for reply.
    Last edited by mardop; 19-07-2009 at 01:32 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •