Red Hat Bugzilla – Bug 154015
NFSv4 loopback mount hangs the system
Last modified: 2007-11-30 17:11:03 EST
Description of problem:
Attempt NFSv4 loopback mount never completes.
Version-Release number of selected component (if applicable):
Attempt NFSv4 loopback mount.
Steps to Reproduce:
- Setup /etc/extports to export a filesystem in a way that NFSv4 understands.
- increase the number of NFSD threads to 32
echo "32" >/etc/sysconfig/nfs
- start nfs service
- mount the filesystem through loopback as type nfs4
mount -t nfs4 -o nocto,rsize=32768,wsize=32768 localhost:/ /mnt/testfs_loopback
This works fine on Gentoo.
Just to be clear, what is the kernel version your using?
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.
It seems to be working now...
# showmount -e
Export list for xxx.xxx.xxx.xxx
# mount -t nfs4 -o nocto,rsize=32768.wsize=32768 localhost:/ /mnt/
localhost:/ on /mnt type nfs4 (rw,nocto,rsize=32768.wsize=32768,addr=127.0.0.1)