Linux-Noob Forums
nfs sharing a usb drive? - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Samba and NFS (https://www.linux-noob.com/forums/forum-23.html)
+---- Thread: nfs sharing a usb drive? (/thread-2265.html)



nfs sharing a usb drive? - dspln - 2006-01-08


ComputerA has a usb drive /dev/sdc1 - either fat32 or ntfs.

 

I mount it as

/dev/sdc1 on /ext/c1 type ntfs (rw,nosuid,nodev,umask=000)

 

all user on ComputerA can access it.

 

My /etc/exports has:

/ext 192.168.0.0/24(async,no_subtree_check,rw)

 

ComputerB has mounted:

ComputerA:/ext on /ext type nfs (rw,nosuid,nodev,addr=192.168.0.7)

 

no one on B can see files in /ext/c1 - it is like nfs isn't aware that a drive is mounted on 'c1'.

 

How do I provide nfs access to these usb/firewire drives?

 

The man page for exports mentions the nohide option, which makes it work for one client - but this did not work for me.

I guess I'll try a share for each drive

 

I figured nfs would abstract the file system types out of it. Maybe samba is a better choice?