See the man pages on automount and autofs.  File systems can be setup to
mount only when accessed or needed. Automount systems typically don't mount
the file system until it is actually needed and then umount it after some
length of inactivity (10 minutes on Solaris).

Hope this helps.


 

-----Original Message-----
From: Ashley M. Kirchner
To: Red Hat Mailing List
Sent: 12/2/02 12:34 PM
Subject: Relying on NFS availability


    My users server does an NFS mounts of /var/mail from another system.
If
for some reason all servers happen to get restarted (power failure comes
to
mind), the mail spool server takes longer to boot up than the users one.
Consequently /var/mail never get mounted until I manually try to re-run
netfs.
Is there some way of checking whether an NFS mount is actually mounted
for some
time after a system boots up?  What I'm thinking of here is some script
that
can run for maybe an additional 15 minutes after the system restarts,
checking
whether all NFS mount points are actually available.  If everything is
mounted,
it kills itself, otherwise it continues to try for maybe up to 15
minutes then
exits.  I figure if after 15 minutes the other system isn't up yet,
things have
gone to fritz.

    Does something like this already exist?  Is there some other
solution if
this isn't the proper way of doing it?  Ideally I'd like to delay
sendmail's
startup as well otherwise incoming mail will get stored on the physical
(local)
/var/mail and when the NFS mount becomes available, I have to moves
those
files, do a remount, then cat those files back into the user's mailbox.
This
is annoying.

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to