I need some help in using direct mounts on a linux system.
I have a two NFS servers, one of them which is a NIS master too.
Following maps are exported by the nis master
Now on the client linux systems
cd /software1 and cd /software2 is blank initially, when I change directory
withing the folder it mounts from the nfs server. All fine here.
What I need is /software1 and /software2 to list all the subfolders before I
actually CD into them. In other words, they should be available as if they
are on the local system. An ls should show them.
For this I used the auto.master file on the linux client as
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc /etc/auto.misc --timeout=60
/home /etc/auto.home --timeout=3600
And the /etc/auto.direct file on the linux client is
/software1 -ro,soft 192.168.100.10:/export
/software2 -ro,soft 192.168.100.11:/export
But when I try to do a ls under /software1 or /software2, it does not show
anything, neither does cd <foldername> take me to the desired folder.
I guess there is something wrong in the way I have tried to use auto.direct.
Can someone shed more light on this.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!