[CentOS] SOLVED (was Re: Unable to mount Centos 5.6 Server via nfs4 - Operation Not Permitted - MADNESS!

RILINDO FOSTER rilindo at me.com
Sat Jun 4 13:37:04 UTC 2011


On Jun 4, 2011, at 7:52 AM, Louis Lagendijk wrote:

> On Fri, 2011-06-03 at 23:49 -0400, RILINDO FOSTER wrote:
>> Okay, it took a few minutes, but I figure it out.  Seems that Scientific Linux eems to regress a bit in this area. 
>> 
>> With Centos, you need to bind like so:
>> 
>> /home/share		/exports/share		none	bind	0 0
>> /home/vhosts		/exports/vhosts		none	bind	0 0
>> 
>> And then specify the options (including fsid0):
>> 
>> in /etc/exports
>> 
>> /exports	*(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash)
>> /exports/vhosts	*(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash)
>> /exports/share	*(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash)
>> [root at centos home]# 
> This is not right AFAIK, fsid should be specified ONLY on the export
> root. Search for fsid in "man expports"
> Louis
> 

Ah, okay. I was going based on this:

http://www.brennan.id.au/19-Network_File_System.html#nfs4

but I didn't pay close attention to where fsid is only specified once fixed.

Thanks for that correction!

 - Rilindo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110604/a2a5f5ed/attachment.html>


More information about the CentOS mailing list