Bug 152599

Summary: NFS mount command should retry "fg" mount requests
Product: Red Hat Enterprise Linux 4 Reporter: Suzanne Hillman <shillman>
Component: util-linuxAssignee: Steve Dickson <steved>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: djuran, greg.marsden, kzak, menscher, olle, sopwith
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-06 20:04:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 154907    
Attachments:
Description Flags
minimal patch to make the mount command retry NFS mount requests none

Description Suzanne Hillman 2005-03-30 18:17:18 UTC
+++ This bug was initially created as a clone of Bug #138775 +++

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
NFS mounts can be performed in the foreground, or in the background.
Foreground mounts are tried once, and will fail immediately if there
is any problem.  Background mounts allow the mount command to fork
a process if the first mount attempt fails that will run in the
background until the mount request succeeds.

Sometimes it is desirable for foreground mounts to retry, as well.
For example, a busy NFS server may drop a mount request, in which
case the mount command on the client should retry a couple of
times before giving up completely.

Version-Release number of selected component (if applicable):
mount-2.11g-6

How reproducible:
Sometimes

Steps to Reproduce:
1. Try an NFS mount request with the "fg" option against a very busy 
NFS server
2.
3.
    

Actual Results:  If the server drops the request, the mount command 
will exit with an error.

Expected Results:  If the server drops the request, the mount command 
should retry the requests a couple of times before giving up.

Additional info:

Oracle has hit this problem, and would like it addressed in RHEL AS 
2.1 and in RHEL 3.0.

Comment 1 Suzanne Hillman 2005-03-30 18:17:19 UTC
Created attachment 112467 [details]
minimal patch to make the mount command retry NFS mount requests

Comment 5 Steve Dickson 2005-07-06 20:04:01 UTC
The RHEL4 mount command already does do retransmissions