[SOLVED] NFS export multiple mounted file systems under a single root
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
When I mount the server:/data export from a linux client and ls /mntpnt/data2 I get "Stale NFS file handle" error. When I map via SFU on a windows client, I get a duplicate of the /data (disk1 disk2 disk3) forever and ever when drilling down into any folder.
According to man exports, the combo of nohide and crossmnt should make these data available for general consumption.
I've tried exports with no options, just nohide, just crossmnt, both nohide and crossmnt, with no_subtree_check, with async, and with sync.
UID:GID's (though for ro it shouldn't make any difference) match on client and server.
I've Googled about quite a bit for any explanation, and the best I could find was regarding exporting a remote (to the NFS server) file system, which is irrelevant in this case as the file systems are local to the server.
Thanks in advance,
As it turns out, for anyone who may care to do this, the solution was to be really redundant in my /etc/exports like so: