Bug 154015

Summary: NFSv4 loopback mount hangs the system
Product: [Fedora] Fedora Reporter: Jared Greenwald <greenwaldjared>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-27 23:43:30 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:

Description Jared Greenwald 2005-04-06 15:51:34 UTC
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 19:06:33 UTC
Just to be clear, what is the kernel version your using?

Comment 2 Jared Greenwald 2005-04-08 13:43:32 UTC
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 13:46:59 UTC
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)