What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

NFS issues: no such file or directory

Arevall

New Around Here
I'm trying to share a USB-mounted harddrive to the network with NFS. I'm using latest tomato release by shibby (tomato-K26USB-1.28.RT-N5x-MIPSR2-109-AIO-64K)

I get the share to show up in the network, but when I try to connect the client receives "access denied by server".

It's probably some blunder I've done, but I can't seem to figure it out.

Settings:
Harddrive is mounted as /tmp/mnt/Elements

/etc/exports:
/tmp/mnt/Elements/export 192.168.1.43/24(rw,sync,no_subtree_check,insecure)

showmounts returns
/tmp/mnt/Elements/export/ 192.168.1.43/24

Server log:
May 29 21:38:33 unknown daemon.notice mountd[1719]: authenticated mount request from 192.168.1.43:924 for /tmp/mnt/Elements/export (/tmp/mnt/Elements/export)
May 29 21:38:33 unknown daemon.warn mountd[1719]: getfh failed: No such file or directory

The directory definitely exists, so I'm a bit confused. Any help from a more experienced user would be almost wildly appricated! :)

Edit: I'm using ntfs, don't know if this could be problematic? No issues sharing the files with samba or accessing them from the router.
 
Last edited:
Just read this:
"the problem with ntfs-3g is that it is not posix compliant so you need to use the "no_root_squash" option"

So I tried this, but It didnt help
 
Last edited:
Ok, it might be the ntsf that is problematic, maybe something with the ownership?

I mounted a second usb device to my router, with EXT3.

I could successfully mount a empty directory.

Then I used: mount --bind /mnt/Elements/Root/Serier /mnt/Secondusb/Serier

I still can't access the folder on my usb hdd though. Any ideas?
 
NTFS isn't fully supported by NFS, you have to use a Linux native FS.
 
NTFS isn't fully supported by NFS, you have to use a Linux native FS.

Thanks Merlin. I suspected it for quite some time but some sources said it should work.

Since my USB-stick mounted I've already begun copying the ntfs partition to a ext3 partition.

I appreciate your reply.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top