| Author |
Message |
Charles Heizer *nix forums beginner
Joined: 24 Jun 2005
Posts: 18
|
Posted: Thu Jul 20, 2006 12:02 am Post subject:
NFS mounts and fstab
|
|
|
Hello,
I'm having a problem where my Solaris 9 system wont mount my nfs mounts
on startup. But if I log in and verify that they are not mounted and
run "mountall -F nfs" the mount just fine.
What is the best way to troubleshoot this?
Thanks,
- Charles |
|
| Back to top |
|
 |
Michael Weis *nix forums beginner
Joined: 25 Jul 2005
Posts: 15
|
Posted: Thu Jul 20, 2006 10:10 am Post subject:
Re: NFS mounts and fstab
|
|
|
Hi Charles,
| Quote: | I'm having a problem where my Solaris 9 system wont mount my nfs
mounts on startup. But if I log in and verify that they are not
mounted and run "mountall -F nfs" the mount just fine.
|
is the NFS Server online when Client tries to mount? Last week I saw a
system who tries to mount from itsself at boot time. This cannot work, as
the NFS server is started in Runlevel 3 but the Client earlier.
And: do you know the mountoptions for NFS? Look at
#man mount_nfs
Just two ideas.
HTH,
Michael Weis |
|
| Back to top |
|
 |
Robert Gruener *nix forums beginner
Joined: 07 May 2005
Posts: 31
|
Posted: Thu Jul 20, 2006 12:13 pm Post subject:
Re: NFS mounts and fstab
|
|
|
heizer1@llnl.gov wrote:
| Quote: | What is the best way to troubleshoot this?
|
Checking the mount options
Is there a "yes" at "mount at boot" ?
man vfstab
--
Gruss
Robert |
|
| Back to top |
|
 |
Oscar del Rio *nix forums Guru
Joined: 24 Feb 2005
Posts: 385
|
Posted: Thu Jul 20, 2006 2:58 pm Post subject:
Re: NFS mounts and fstab
|
|
|
heizer1@llnl.gov wrote:
| Quote: | What is the best way to troubleshoot this?
|
you might want to use the automounter instead of vfstab for nfs mounts |
|
| Back to top |
|
 |
Lord Ice *nix forums beginner
Joined: 19 Jul 2006
Posts: 6
|
Posted: Thu Jul 20, 2006 7:27 pm Post subject:
Re: NFS mounts and fstab
|
|
|
On Thu, 20 Jul 2006 12:10:03 +0200, Michael Weis wrote:
| Quote: | Hi Charles,
I'm having a problem where my Solaris 9 system wont mount my nfs
mounts on startup. But if I log in and verify that they are not
mounted and run "mountall -F nfs" the mount just fine.
is the NFS Server online when Client tries to mount? Last week I saw a
system who tries to mount from itsself at boot time. This cannot work, as
the NFS server is started in Runlevel 3 but the Client earlier.
And: do you know the mountoptions for NFS? Look at
#man mount_nfs
Just two ideas.
HTH,
Michael Weis
|
Try man automount
What this does is create autofs mount points and associates an automount
map with each mount point & starts the daemon.
Then it monitors the filesystem and when a machine tries to use an autofs
mount point, it's mounted.
If it hasn't been used (by default I think it's 10 minutes), it get
unmounted.
The file /etc/auto_master contains the locations of all autofs mount
points.
The cool thing is that you can add maps into NIS or LDAP systems and can
have direct and indirect mounts.
A simple example /etc/auto_direct:
/apps/matlab -ro matlabserver:/export/matlab7
/opt/local/ -ro,nosuid server1,server2:/export/local
Here we are mounting (client side) /apps/matlab/ read-only from
matlabserver /export/matlab7. The second mounts /opt/local (client-end)
from any of server1 or server2.
It is very cool. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|