Re: NFS/Kernel Problem: getfh failed: Operation not permitted

From: linux-os (Dick Johnson)
Date: Thu Mar 30 2006 - 10:55:23 EST



On Thu, 30 Mar 2006, Jakob Oestergaard wrote:

> On Thu, Mar 30, 2006 at 10:13:38AM -0500, Justin Piszcz wrote:
>> On Thu, 30 Mar 2006, Trond Myklebust wrote:
>>
> ...
>> In the /etc/exports file, I have an entry that looks like this:
>> /path specific-host-001(ro,root_squash,no_sync)
>> /path specific-host-002((ro,root_squash,no_sync)
>> /path *(ro,root_squash,no_sync)
>
> I don't know how this works today, but historically Linux has been
> completely unable to deal with any kind of names in /etc/exports.
> Netgroups, DNS names, ... And the results have been the strangest mix
> of things sort-of-mostly-but-not-quite working.
>
> I'd put in IP addresses, netmasks or '*', and see if that solves the
> problem.
>
> Again, I don't know if this is related to what you're seeing, but I'd
> say it's worth a shot :)
>
> --
>
> / jakob
>


This is my /etc/exports and it works fine with linux-2.6.15.4.
All the host names are local, inside the firewall, and need to
be looked-up over a W$<crap> name-server.

#
/rmtboot/LinuxRoot *(ro,async)
/root/Scanner *(ro,no_root_squash,sync)
/tmp *(rw,no_root_squash,sync)
/usr/src quark(rw,no_root_squash,sync)
/usr/lib quark(rw,no_root_squash,sync)
/home/hpbd *(rw,no_root_squash,sync)
/exports *(rw,no_root_squash,sync)
/home/project/boneserver *(rw,no_root_squash,sync)
/root groveland(rw,no_root_squash,sync)
/root quark(rw,no_root_squash,sync)
/root/DAS *(ro,no_root_squash,sync)
/dos/drive_C *(ro,sync)
# End of exports.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5589.42 BogoMips).
Warning : 98.36% of all statistics are fiction, book release in April.
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@xxxxxxxxxxxx - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/