[K12OSN] NFS fails to start

Jim Kinney jim.kinney at gmail.com
Wed May 1 20:09:11 UTC 2013


change:

# Turn off v4 protocol support
#RPCNFSDARGS="-N 4"


to:

# Turn off v4 protocol support
RPCNFSDARGS="-N 4"

to disable NFSv4



On Wed, May 1, 2013 at 3:27 PM, Kenneth Lundström <
kenneth.lundstrom at nudata.fi> wrote:

>  Hi,
>
> when I look at the /etc/sysconfig/nfs all rows are commented out.
>
> Any other way of finding out what version is in use?
>
>
> Kenneth
>
>   OK. Look in /etc/sysconfig/nfs and see what version of NFS is being
> used. If NFSv4 is on, your /etc/exports is wrong. Change settings to use
> NFSv3 in that location and restart nfs.
>
>
> On Wed, May 1, 2013 at 2:36 PM, Kenneth Lundström <
> kenneth.lundstrom at nudata.fi> wrote:
>
>>  Hi,
>>
>> /etc/exports:
>> /opt/ltsp *(ro,async,no_root_squash)
>>
>> getenforce: Disabled
>>
>>
>> Kenneth
>>
>>   please publish the /etc/exports file on the broken server as well as
>> the output of getenforce
>>
>>
>> On Wed, May 1, 2013 at 2:10 PM, Kenneth Lundström <
>> kenneth.lundstrom at nudata.fi> wrote:
>>
>>> Hello LTSP users,
>>>
>>> a couple of months before Christmas I installed a couple of LTSP
>>> servers. One was commissioned before Christmas and is working great. The
>>> second I delivered to another place a couple of weeks ago, finally. This
>>> site already have one LTSP from before and I was planing on replacing it.
>>> Using it as an fileserver for homes folders.
>>>
>>> I setup it up and clients find it and they work. Then I proceed to mount
>>> the home folder via NFS and get them mounted. I leave the place and next
>>> they I get an call that they can't login anymore. I try to find the error
>>> via SSH but can't. So I switch back to using the old server again.
>>>
>>> Now I come so far that I know that NFS doesn't start for some strange
>>> reason. If I do a /etc/init.d/nfs restart I get an error saying:
>>>
>>> exportfs: /opt/ltsp does not support NFS export
>>>
>>> I tried googling it but couldn't find anything that would work for me.
>>>
>>> Any ideas where to start searching. I think it has something to do with
>>> me setting up the homes folder mounting.
>>>
>>>
>>> Kenneth
>>>
>>>
>>> _______________________________________________
>>> K12OSN mailing list
>>> K12OSN at redhat.com
>>> https://www.redhat.com/mailman/listinfo/k12osn
>>> For more info see <http://www.k12os.org>
>>>
>>
>>
>>
>> --
>> --
>> James P. Kinney III
>> *
>> *Every time you stop a school, you will have to build a jail. What you
>> gain at one end you lose at the other. It's like feeding a dog on his own
>> tail. It won't fatten the dog.
>> - Speech 11/23/1900 Mark Twain
>> *
>> http://electjimkinney.org
>> http://heretothereideas.blogspot.com/
>> *
>>
>>
>> _______________________________________________
>> K12OSN mailing listK12OSN at redhat.comhttps://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org> <http://www.k12os.org>
>>
>>
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
>
>
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://electjimkinney.org
> http://heretothereideas.blogspot.com/
> *
>
>
> _______________________________________________
> K12OSN mailing listK12OSN at redhat.comhttps://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org> <http://www.k12os.org>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20130501/78c0aec6/attachment.htm>


More information about the K12OSN mailing list