schales@photon.tamu.edu (Douglas Lee Schales) (02/01/91)
Does anyone know how to start the automounter automatically under AIX 3.1 on the RS? SMIT doesn't appear to be able to do this. Just starts it for current boot. I tried sticking it at the end of /etc/rc.nfs, but it doesn't work. After the machine is up, shelling /etc/rc.nfs starts it. 'biod's exist before the second shell'ing of /etc/rc.nfs, so I know that /etc/rc.nfs is being exec'd during boot (also echo'd msg right before executing /usr/etc/automount). Any ideas? Doug. ----- Douglas Lee Schales schales@cs.tamu.edu Dept. of Computer Science Texas A&M University
john@johnmad.Berkeley.EDU (02/07/91)
>Does anyone know how to start the automounter automatically under AIX 3.1 >on the RS? SMIT doesn't appear to be able to do this. Just starts it >for current boot. I tried sticking it at the end of /etc/rc.nfs, but it >doesn't work. After the machine is up, shelling /etc/rc.nfs starts it. >'biod's exist before the second shell'ing of /etc/rc.nfs, so I know that >/etc/rc.nfs is being exec'd during boot (also echo'd msg right before >executing /usr/etc/automount). This should work. That is the way I jump start my automounter. I presume that when you do it at the command line it works correctly? Statements made here are my personal views and do not reflect policy or commitments of IBM Corporation. John Maddalozzo IBM Advanced Workstation Division aesnet: john@johnmad.austin.ibm.com 11400 Burnet Road, 994/3401 vnet: JOHNMAD at AUSVMQ Austin, TX, 78758-3493 phone: +1 [512] 823-4837 uucp: cs.utexas.edu:ibmaus!auschs!johnmad.austin.ibm.com!john
schales@photon.tamu.edu (Douglas Lee Schales) (02/10/91)
In article <3478@d75.UUCP> john@johnmad.Berkeley.EDU writes: I wrote: >Does anyone know how to start the automounter automatically under AIX 3.1 >on the RS? SMIT doesn't appear to be able to do this. Just starts it >for current boot. I tried sticking it at the end of /etc/rc.nfs, but it >doesn't work. After the machine is up, shelling /etc/rc.nfs starts it. >'biod's exist before the second shell'ing of /etc/rc.nfs, so I know that >/etc/rc.nfs is being exec'd during boot (also echo'd msg right before >executing /usr/etc/automount). This should work. That is the way I jump start my automounter. I presume that when you do it at the command line it works correctly? Yes, starting it from the command line "worked" (more in a sec). Someone said they started it at the end of rc.tcpip and it worked. This also "worked" though it doesn't make any sense. *BUT* the thing keeps crashing on me with a segmentation violation. This occurs whether I start it manually or automatically at boot time. It runs fine for some amount of time, then just crashes. Restarting it doesn't fix the problem. Machine has to be rebooted. It is mounting filesystems from Sun 330's and 390's running SunOS 4.1. It has stayed up for as little as 3 hours, up to 15 hours. Right now, I'm watching it trying to see if I can see at what point it crashes. Mount from a specific machine, unmounting an idle directory, etc. Command line: /usr/etc/automount /user /etc/userhome /n -hosts -rw,intr,rsize=1024,wsize=1024 /etc/userhome has the format: username mtoptions host:pathname Any ideas anyone? Doug. ----- Douglas Lee Schales schales@cs.tamu.edu Texas A&M University Dept. of Computer Science
wohler@sapwdf.UUCP (Bill Wohler) (02/26/91)
we've had good experience with the automounter so i'm posting my configuration as a sample. i am annoyed that the automounter won't mount nested requests. that is, if both /usr/foo and /usr/foo/baz are nfs filesystems, you can't get to /usr/foo/baz. does anyone have experience with amd on aix? does it get around these restrictions? the automounter is started in /etc/rc right after the regular mounts: # Perform all auto mounts echo " Performing all automatic mounts " mount all /usr/etc/automount /net /etc/mount.map /etc/mount.map contains, for example: usr.src -rw,hard,intr aix3:/usr/src /usr/src is a symbolic link to /net/usr.src. the person who was having trouble with -host flag might want to use this logic instead of having a huge automount file. --bw wohler@sap-ag.de