Bug 154015 - NFSv4 loopback mount hangs the system
NFSv4 loopback mount hangs the system
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: nfs-utils (Show other bugs)
4
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Steve Dickson
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-06 11:51 EDT by Jared Greenwald
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-27 19:43:30 EDT
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 Jared Greenwald 2005-04-06 11:51:34 EDT
Description of problem:
Attempt NFSv4 loopback mount never completes.

Version-Release number of selected component (if applicable):
nfs-utils-1.0.7-1

How reproducible:
Attempt NFSv4 loopback mount.

Steps to Reproduce:
- Setup /etc/extports to export a filesystem in a way that NFSv4 understands.
/mnt/testfs     *(rw,fsid=0,insecure,no_subtree_check,sync)
- increase the number of NFSD threads to 32
echo "32" >/etc/sysconfig/nfs
- start nfs service
/etc/init.d/nfs start
- mount the filesystem through loopback as type nfs4
mount -t nfs4 -o nocto,rsize=32768,wsize=32768 localhost:/ /mnt/testfs_loopback
-HANG
  
Actual results:
HANG

Expected results:
loopback mount

Additional info:
This works fine on Gentoo.
Comment 1 Steve Dickson 2005-04-07 15:06:33 EDT
Just to be clear, what is the kernel version your using?
Comment 2 Jared Greenwald 2005-04-08 09:43:32 EDT
I had been running kernel-smp-2.6.11-1.1177_FC4 with nfs-utils-1.0.7-1.  I have
since upgraded to kernel-smp-2.6.11-1.1226_FC4 and nfs-utils-1.0.7-5.
Comment 3 Jared Greenwald 2005-04-08 09:46:59 EDT
It seems to be working now...

# showmount -e
Export list for xxx.xxx.xxx.xxx
/var/tmp *
# mount -t nfs4 -o nocto,rsize=32768.wsize=32768 localhost:/ /mnt/
# mount
...
localhost:/ on /mnt type nfs4 (rw,nocto,rsize=32768.wsize=32768,addr=127.0.0.1)

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