Page 1 of 4 123 ... LastLast
Results 1 to 15 of 54

Thread: Problems with sharing USB disc over NFS

  1. #1
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195

    mount -t nfs supported ?

    Hi all,

    Is nfs filesystem supported for mounting in 1.9.2.7-3 ?
    I'm trying to mount a foreign partition on my wl500g and get a "mount: 192.168.0.5:/share no such file or directory"

    Is there somethin wrong or will I have to recompile with kernel tweaked configuration ?

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    Not at the moment, but this would be possible in the next firmware.

  3. #3
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195

    Compiling kernel with nfs support

    Well,

    I'm trying harder to get nfs supported in 1.9.2.7-3 Oleg's firmware.
    Oleg said it will be supported in the next release, but I would like to try on my own. If nobody has time time to spend teaching me, that's not a problem, I will wait

    If you have time, here is my problem :
    /tmp/broadcom/src/wl500g-1.9.2.7-3c/ > make kernel
    /tmp/broadcom/src/wl500g-1.9.2.7-3c/ > make
    /tmp/broadcom/src/linux/linux > make menuconfig (choose module support for NFS and support for NFS v3)
    /tmp/broadcaom/src/gateway > make
    /tmp/broadcaom/src/gateway > make install

    I the get a flashable trx with module nfs.o included

    When I try, after flashing, to load nfs.o via 'insmod nfs', I got a lot of errors about unresolved symbols and the nfs.o doesn't load. Unresolved symbols are on rpc stuff. I checked linux/linux/.config and saw that SUNRPC, LOCKD and LOCKD_V4 kernel parameters are set.

    Does anyone know what I missed ? Any tips ?

    JF

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    Check your PM...

  5. #5
    Join Date
    Jan 2005
    Location
    Basel, Switzerland
    Posts
    10
    Is this now possible with the v1.9.2.7 CR4 firmware?
    mount seems to work but says "... failed: No such device".

    Markus

  6. #6
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    Quote Originally Posted by bubendorf
    mount seems to work but says "... failed: No such device".
    Yep, same thing at home. Mounting wlhdd exported partition on wl500g says "no such device".

    I have a line in /tmp/syslog.log of wlhdd (nfsd server) which says "authenticated request from xx.Xx.xx.xx for /"

    Have use all possible option with mount -tnfs -oblablah (like rsize, noroot_squash, etc...) with no effect
    wlhdd and wl500g are in their respective /etc/hosts

  7. #7
    Join Date
    Jan 2005
    Location
    Basel, Switzerland
    Posts
    10
    Searching the internet I found
    "No such device" - NFS is not configured into the client's kernel.

    I seems the kernel still does not have NFS support.
    Will this change in the near future?

    Markus

  8. #8
    Join Date
    Jan 2005
    Location
    Basel, Switzerland
    Posts
    10
    OK. I found the error. I forgot the insmods:
    insmod sunrpc
    insmod lockd
    insmod nfsd
    insmod nfs

    Now mount does not complain any more.
    But it hangs. After I typed mount -tnfs 10.0.0.3:/tmp /mnt nothing happens. Not even Ctrl-C works any more.

    Any ideas?

    Markus

  9. #9
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    start /usr/sbin/portmap, also you do not need to insmod nfsd

  10. #10
    Join Date
    Jan 2005
    Location
    Basel, Switzerland
    Posts
    10
    It works.
    Many thanks for your answer and your great firmware.

    Markus

  11. #11

    Unhappy wl500gx refuses to connect nfs shares

    Hi there. As I'm not yet equipped with wl-hdd, I try some experimenting on wl500gx. However, having problems with disk space (and it's non-persistency in the case of reboot), so I tried to mount my nfs shares into /tmp/harddisk on wl500gx, but wasn't succesful yet.

    commands/logs/configuration:

    /etc/exports:

    /home/jan/nfs/asus 192.168.10(rw,no_root_squash,no_auth_nlm,insecure_ locks,async,insecure)

    - started with rw, no_root_squash options. Others were added while trying to get it working


    commands on asus:

    [admin@asus /tmp]$ mount 192.168.1.5:/home/jan/nfs/asus /tmp/harddisk

    mount: Mounting 192.168.1.5:/home/jan/nfs/asus on /tmp/harddisk failed: No such device


    /var/log/syslog (at 192.168.1.5):

    Apr 10 18:25:26 cloudcolor rpc.mountd: authenticated mount request from 192.168.1.10:658 for /home/jan/nfs/asus (/home/jan/nfs/asus)
    Apr 10 18:25:54 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.
    Apr 10 18:27:08 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.



    What's wrong?



    Another question is - do you think I can force asus to act as an diskless station - I mean - create root filesystem on that nfs share and chroot to it?

  12. #12

    Unhappy wl500gx refuses to mount nfs shares

    Hi there. As I'm not yet equipped with wl-hdd, I try some experimenting on wl500gx. However, having problems with disk space (and it's non-persistency in the case of reboot), so I tried to mount my nfs shares into /tmp/harddisk on wl500gx, but wasn't succesful yet.

    commands/logs/configuration:

    /etc/exports:

    /home/jan/nfs/asus 192.168.10(rw,no_root_squash,no_auth_nlm,insecure_ locks,async,insecure)

    - started with rw, no_root_squash options. Others were added while trying to get it working


    commands on asus:

    [admin@asus /tmp]$ mount 192.168.1.5:/home/jan/nfs/asus /tmp/harddisk

    mount: Mounting 192.168.1.5:/home/jan/nfs/asus on /tmp/harddisk failed: No such device


    /var/log/syslog (at 192.168.1.5):

    Apr 10 18:25:26 cloudcolor rpc.mountd: authenticated mount request from 192.168.1.10:658 for /home/jan/nfs/asus (/home/jan/nfs/asus)
    Apr 10 18:25:54 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.
    Apr 10 18:27:08 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.



    What's wrong?



    Another question is - do you think I can force asus to act as an diskless station - I mean - create root filesystem on that nfs share and chroot to it?

  13. #13

    Talking modules

    Problem resolved. Kernel modules sunrpc, lockd, nfs were not loaded

  14. #14
    A qualified guess would be that the NFS file system is not compiled in the kernel, but that the utilities know about it, allowing the mount call to succeede but the registration i nthe kernel failed.

  15. #15
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    Try 1.9.2.7-5, it will probably fix your problems.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 15:28
  2. Unstable boot from USB
    By Tamadite in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2008, 15:19
  3. WL500g 2 USB Drucker und ein LPT
    By Trebron in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-01-2006, 23:48
  4. Wl500g > 2 USB and 1 LPT Printer
    By Trebron in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2006, 22:17
  5. Please help... USB HDD doesn't work
    By jirina42 in forum WL-500g Q&A
    Replies: 6
    Last Post: 05-01-2006, 19:04

Tags for this Thread

Posting Permissions

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