In /etc/auto.master, we have: /shares/nfs /etc/auto.shares.nfs -browse /home/auto /etc/auto.home
And in /etc/auto.shares.nfs, we have: unixarch -squash_root,nodev,intr rchunixvf01.mayo.edu:/vol/rchunixvf01_vol001_m/unixutils/linux-x86_64-redha t-6 unixnoarch -squash_root,nodev,intr rchunixvf01.mayo.edu:/vol/rchunixvf01_vol001_m/unixutils/noarch tivoli -ro,soft,intr syspzl01.mayo.edu:/appdata/tivoli (Sorry in advance for the wrapped lines) After the system is up, users can reference /shares/nfs/unixarch and /shares/nfs/unixnoarch and will see the files that are on the various netapp servers. If the user absolutely positively has to have the disk at some other location, we create a symbolic line where they want it, pointing into one of the /shares/nfs paths. You can choose your own base path; ours is just historical here. After changing the files, be sure to run “service autofs restart” to pick up the changes. -- Robert P. Nix | Sr IT Systems Engineer | Data Center Infrastructure Services Mayo Clinic| 200 First Street SW | Rochester, MN 55905 507-284-0844 | [email protected] On 11/3/15, 8:24 AM, "Linux on 390 Port on behalf of Michael Weiner" <[email protected] on behalf of [email protected]> wrote: >Robert, > >Thank you. Do you mind giving me an example on how to do this? > >I appreciate it. > >On Tue, Nov 3, 2015 at 9:21 AM, Nix, Robert P. <[email protected]> >wrote: > >> You¹re attempting to mount an NFS or CIFS share before your network is >>up. >> >> I¹d suggest making any NFS or CIFS disks auto mounted on first use, via >> autofs. That way, they don¹t get mounted until after the system is up >>and >> someone requests access to them. We do this with both NFS and CIFS >>shares, >> and have no problems with them. >> -- >> Robert P. Nix | Sr IT Systems Engineer | Data Center Infrastructure >> Services >> Mayo Clinic| 200 First Street SW | Rochester, MN 55905 >> >> 507-284-0844 | [email protected] >> >> >> >> >> >> On 11/2/15, 4:56 PM, "Linux on 390 Port on behalf of Michael Weiner" >> <[email protected] on behalf of [email protected]> wrote: >> >> >Hello all >> > >> >I am experiencing a 20 minute hang on the errors below >> > >> >Importing Net File System (NFS). >> > >> >I removed the entry for this server that I thought was hanging and I am >> >still having an ISSUE from fstab. Is there a setting to change a >>timeout? >> > >> >I also am getting >> > >> >mount server reported tcp not available, falling back to udp and >>finally >> > >> >Importing Net File System (NFS) CIFS VFS: Error connecting to IPv4 >> >socket. Aborting operation >> > >> >CIFS VFS: cifs_mount failed w/return code = >> >-110 >> >Nov 2 14:51:18 servername kernel: CIFS VFS: Error connecting to IPv4 >> >socket. Aborting operation. >> > >> >Any thoughts or suggestions? >> > >> >Thank you. >> > >> >---------------------------------------------------------------------- >> >For LINUX-390 subscribe / signoff / archive access instructions, >> >send email to [email protected] with the message: INFO LINUX-390 >>or >> >visit >> >http://www.marist.edu/htbin/wlvindex?LINUX-390 >> >---------------------------------------------------------------------- >> >For more information on Linux on System z, visit >> >http://wiki.linuxvm.org/ >> >> ---------------------------------------------------------------------- >> For LINUX-390 subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO LINUX-390 or >> visit >> http://www.marist.edu/htbin/wlvindex?LINUX-390 >> ---------------------------------------------------------------------- >> For more information on Linux on System z, visit >> http://wiki.linuxvm.org/ >> > > > >-- >Michael Weiner >Systems Admin >Infinity Systems Software, Inc. >One Penn Plaza Suite 2010 >New York, NY 10119 >o: (646) 405-9300 >c: (845) 641-0517 > >---------------------------------------------------------------------- >For LINUX-390 subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO LINUX-390 or >visit >http://www.marist.edu/htbin/wlvindex?LINUX-390 >---------------------------------------------------------------------- >For more information on Linux on System z, visit >http://wiki.linuxvm.org/
