Bug 360551 - Unable to mount 2 nfs shares at the same time from the same server - revert to kernel 2.6.20 fixes it
Unable to mount 2 nfs shares at the same time from the same server - revert t...
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
6
i686 Linux
low Severity high
: ---
: ---
Assigned To: Jeff Layton
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 427887
  Show dependency treegraph
 
Reported: 2007-10-31 13:01 EDT by Rob Echlin
Modified: 2014-06-18 03:36 EDT (History)
2 users (show)

See Also:
Fixed In Version: 2.6.23-ish kernels
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-21 07:30:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rob Echlin 2007-10-31 13:01:12 EDT
Description of problem:
Unable to mount both of two mount points from one server.
Can mount either one.
Can unmount one, then mount the other, and then can't mount the first.


First noticed with autofs mounted shares, after doing an update.
Tested with settings in /etc/fstab and mounting manually.

Tested with the following STOPed: ypbind, yppasswd, autofs

Version-Release number of selected component (if applicable):
- Fedora Core (2.6.22.9-61.fc6)
- nfs-utils-1.0.10-14.fc6


How reproducible:
- Every time

Steps to Reproduce:
1. Two mount points from one server: /path/home, /path/tc
2. mount one (either one) - OK
3. mount other one - fails "busy or already mounted"
4. unmount the one that is mounted
5. now able to mount the other


  
Additional info:
Server is FC3, kernel 2.6.12-1.1381_FC3smp
RPM says:
system-config-nfs-1.2.8-1
nfs-utils-1.0.6-52

Workaround: 
1) Revert to older kernel on the client system:
- Fedora Core (2.6.20-1.2962.fc6)
2) enable "exclude=kernel kernel-devel" in yum.conf
- shoulda done that ages ago...
Comment 1 Chuck Ebbert 2007-10-31 13:11:07 EDT
Either use the "nosharecache" mount option or mount both shares with the same
mount options.
Comment 2 Rob Echlin 2007-10-31 14:16:08 EDT
This suggestion is relevant as one was mounted read-only and the other read-write.

However, I am unable to find this mount option in any of the man pages I looked at:
nfs (5), mount (5), fstab (5) and their info equivalents

I leave it to you guys to decide whether to move this bug to a documentation target.
Comment 3 Rob Echlin 2007-10-31 14:25:28 EDT
Found it in "man nfs" when I actually looked on the correct machine...
Comment 4 Jon Stanley 2008-01-07 20:51:31 EST
(This is a mass-update to all current FC6 kernel bugs in NEW state)

Hello,

I'm reviewing this bug list as part of the kernel bug triage project, an attempt
to isolate current bugs in the Fedora kernel.

http://fedoraproject.org/wiki/KernelBugTriage

I am CC'ing myself to this bug, however this version of Fedora is no longer
maintained.

Please attempt to reproduce this bug with a current version of Fedora (presently
Fedora 8). If the bug no longer exists, please close the bug or I'll do so in a
few days if there is no further information lodged.

Thanks for using Fedora!
Comment 5 Jeff Layton 2008-01-21 07:30:50 EST
I *think* that with newer kernels, we spawn a new superblock on the fly when
necessary. So mounting with "nosharecache" is no longer necessary. I'm going to
close this bug as CURRENTRELEASE. Please reopen it if you're still having this
issue.


Note You need to log in before you can comment on or make changes to this bug.