Mailinglist Archive: opensuse (1461 mails)

< Previous Next >
Re: [opensuse] Re: Mounting NFS Shares During Boot
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Wed, 13 May 2009 07:48:40 -0700
  • Message-id: <200905130748.40358.rschulz@xxxxxxxxx>
On Wednesday May 13 2009, Roger Oberholtzer wrote:
...

You do not have the bg and intr flags. I would have them in a mount
that happens during boot. As the lack of these has, in the past, make
system not complete booting, perhaps there is a check by the mount
command to see that any mounts without these are skipped so they do
not hang the boot process. It surely could not hurt to add them.

I'll try that.


Sorry if this has already been asked, but in /etc/rcd.d/nfs, there is
a bit of code like:

It's better to refer to the real directory name, /etc/init.d, not the
symlink that's there for (presumably) some kind backward or sideways
compatibility.


if test "$nfs" = yes ; then
mount -at nfs,nfs4 > /dev/null 2>&1
fi

Lines 211-222 of /etc/init.d/nfs:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==-
# Mount all auto NFS devices (-> nfs(5) and mount(8) )
# NFS-Server sometime not reachable during boot phase.
# It's sometime usefull to mount NFS devices in
# background with an ampersand (&) and a sleep time of
# two or more seconds, e.g:
#
# sleep 2 && mount -at nfs,nfs4 &
# sleep 2
#
if test "$nfs" = yes ; then
mount -at nfs,nfs4 > /dev/null 2>&1
fi
-==--==--==--==--==--==--==--==--==--==--==--==--==--==-


...

What is in /tmp/rrs_nfs.log ? Is the file even created?

What is it? Why would it be created? What would create it?


--
Roger Oberholtzer


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups