Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to the whole NFS thing but I managed to get NFS working and was able to mount and access some directories using NFS. I ran into a situation that I don't know how to get around:
I exported the directory /share through NFS, and I am able to mount it from other machine, I went to the NFS Server machine and mounted a vfat hard disk on /share/mybook
when I do ls /share from other machines, i can see the directory listed but when i cd to it and list it, i get nothing even that the hard disk has some files ( i am able to see them on NFS server using ls /share/book)
please let me know how can I list and have access to vfat mounted directory on the NFS server from remote machines?
Was the vfat partition mounted after the nfs server started? If you put an entry in /etc/fstab, you should be able to share it.
Also, watch the options when you mount the vfat filesystem. Fat32 doesn't contain Linux inodes so you need to determine the ownership and permissions of the entire drive en mass. All of the files will have the same permissions. All of the directories will have the same permissions.
Read the man page for the mount command. The uid, and gid options affect who the owner and group of the filesystem is. The fmask and dmask options determine what the rights are.
If this isn't a removable device, and you aren't dual booting, don't use a vfat filesystem. If it is an external drive, but you don't move it to a Windows machine, it would make sense to reformat it using a native linux filesystem such as ext3 or xfs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.