Error mount NFS -- nfs4_get_rootfh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fedora 16 on both server and client.

/etc/exports

/nfs4exports        192.168.0.0/24
(ro,sync,insecure,root_squash,no_subtree_check,fsid=0)
/nfs4exports/tmp   192.168.0.0/24
(rw,nohide,sync,insecure,root_squash,no_subtree_check)

ll -d  /nfs4exports /nfs4exports/*
drwxrwxrwt   5 root root 4.0K Dec 31 15:34 /nfs4export
ll -d  /nfs4exports /nfs4exports/*
drwxrwxrwt. 30 root root 4.0K Dec 31 16:06 /nfs4exports/tmp

client --
sysctl -w sunrpc.nfs_debug=1023
root@pvr[60]->mount -t nfs4 mtranch:/tmp /tmpm
mount.nfs4: access denied by server while mounting mtranch:/tmp
root@pvr[61]->dmesg|tail
[ 4840.385627] encode_compound: tag=
[ 4840.386755] nfs4_get_rootfh: getroot error = 13
[ 4840.386757] <-- nfs4_get_rootfh() = -13
[ 4840.386759] --> nfs_free_server()
[ 4840.387247] --> nfs_put_client({1})
[ 4840.387249] --> nfs_free_client(4)
[ 4840.387327] <-- nfs_free_client()
[ 4840.387337] <-- nfs_free_server()
[ 4840.387338] <-- nfs4_create_server() = error -13
[ 4840.387341] <-- nfs4_mount() = -13 [error]

The error is generated by /* getroot.c: get the root dentry for an NFS 
mount ...
	/* Start by getting the root filehandle from the server */
	ret = server->nfs_client->rpc_ops->getroot(server, mntfh, 
&fsinfo);
	if (ret < 0) {
		dprintk("nfs4_get_rootfh: getroot error = %d\n", -ret);
		goto out;
	}

So, what the .... is the root filehandle in this context and how do I 
define it? 
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux