Re: Giving up an NFS fs that wasn't available initially?

From: Ehud Karni (ehud_at_nonexisting.hamakor.org.il)
Date: Tue 25 May 2004 - 14:43:48 IDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 25 May 2004 00:55:13 +0300, Shaul Karl <shaulk_at_actcom.net.il> wrote:
>
> Shouldn't an NFS client retry to mount a fs that wasn't available when
> the client boot? In other words, if the NFS server was not available
> when the client boots, shouldn't the client retry to mount the fs
> according to the retry parameter?
> My expectation and understanding of the man page is that it should
> retry. Yet this is not what happened here. Is that behavior expected? Can
> it be that some other parameter involved? The client attempt to mount
> the remote fs bg,soft,intr.

That's not my experience. I can see the `mount' command running in the
background if the nfs server was down on boot.

do you have the `bg' parameter in your /etc/fstab entry ?

example from my /etc/fstab:
linux:/ /linux nfs rsize=16384,wsize=16384,noac,soft,intr,bg 0 0

As for `soft' Vs. `hard' parameter (see Oron mail) - When you use the
`hard' option and the server goes down (after it was mounted) - your
load may go to (almost) infinite value, and there is no way to umount
it, OTOH, when it comes up again, any waiting I/O completes successfully
as if no interruption occurred. Use this option CAREFULLY. I use it only
on mounts of a critical file server.

Ehud.

- --
 Ehud Karni Tel: +972-3-7966-561 /"\
 Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
 Insurance agencies (USA) voice mail and X Against HTML Mail
 http://www.mvs.co.il FAX: 1-815-5509341 / \
 GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQFAszFzLFvTvpjqOY0RAu1tAJ9NSPytuI5bGdEDyFa1+bKhvD6wFACeMg9a
ee4bcz/ie/ZVmdedv9cxnuQ=
=8kbg
-----END PGP SIGNATURE-----

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il



This archive was generated by hypermail 2.1.7 : Tue 25 May 2004 - 14:52:45 IDT