Discussion:
NFS fails to start
Kenneth Lundström
2013-05-01 18:10:11 UTC
Permalink
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
Jim Kinney
2013-05-01 18:22:46 UTC
Permalink
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 <
Post by Kenneth Lundström
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
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
https://www.redhat.com/**mailman/listinfo/k12osn<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/
*
Kenneth Lundström
2013-05-01 18:36:47 UTC
Permalink
Hi,

/etc/exports:
/opt/ltsp *(ro,async,no_root_squash)

getenforce: Disabled


Kenneth
Post by Jim Kinney
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
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
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
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2013-05-01 18:51:36 UTC
Permalink
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 <
Post by Kenneth Lundström
Hi,
/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 <
Post by Kenneth Lundström
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
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
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
Kenneth Lundström
2013-05-01 19:27:10 UTC
Permalink
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
Post by Jim Kinney
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
Hi,
/opt/ltsp *(ro,async,no_root_squash)
getenforce: Disabled
Kenneth
Post by Jim Kinney
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
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
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
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2013-05-01 20:09:11 UTC
Permalink
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 <
Post by Kenneth Lundström
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 <
Post by Kenneth Lundström
Hi,
/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 <
Post by Kenneth Lundström
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
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
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
Kenneth Lundström
2013-05-01 20:29:31 UTC
Permalink
Hi,

changed and no change :=) I even rebooted the server but no luck. The
strange thing is that NFS is not set to be automatically started. So I
guess something I have installed on the server has turned of NFS and
somehow makes NFS not to work.

I even tried to compare with the other working server but no luck.


Kenneth
Post by Jim Kinney
# Turn off v4 protocol support
#RPCNFSDARGS="-N 4"
# Turn off v4 protocol support
RPCNFSDARGS="-N 4"
to disable NFSv4
On Wed, May 1, 2013 at 3:27 PM, Kenneth Lundström
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
Post by Jim Kinney
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
Hi,
/opt/ltsp *(ro,async,no_root_squash)
getenforce: Disabled
Kenneth
Post by Jim Kinney
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
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
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
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2013-05-01 20:39:10 UTC
Permalink
Hmm. what version OS are you running? CentOS/ScientificLinux/RHEL 5 or 6?

'chkconfig nfs on' will run nfs at bootup.


On Wed, May 1, 2013 at 4:29 PM, Kenneth Lundström <
Post by Kenneth Lundström
Hi,
changed and no change :=) I even rebooted the server but no luck. The
strange thing is that NFS is not set to be automatically started. So I
guess something I have installed on the server has turned of NFS and
somehow makes NFS not to work.
I even tried to compare with the other working server but no luck.
Kenneth
# Turn off v4 protocol support
#RPCNFSDARGS="-N 4"
# Turn off v4 protocol support
RPCNFSDARGS="-N 4"
to disable NFSv4
On Wed, May 1, 2013 at 3:27 PM, Kenneth Lundström <
Post by Kenneth Lundström
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 <
Post by Kenneth Lundström
Hi,
/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 <
Post by Kenneth Lundström
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
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
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
Kenneth Lundström
2013-05-01 20:48:34 UTC
Permalink
Hmmm, I'm running CentOS 6.4 on the server. I thought I was using 6.3
but maybe one thing I did at some stage was a yum upgrade. The other
server is running 6.3. Could this maybe be the problem?

Client boot on Scientific.


Kenneth
Post by Jim Kinney
Hmm. what version OS are you running? CentOS/ScientificLinux/RHEL 5 or 6?
'chkconfig nfs on' will run nfs at bootup.
On Wed, May 1, 2013 at 4:29 PM, Kenneth Lundström
Hi,
changed and no change :=) I even rebooted the server but no luck.
The strange thing is that NFS is not set to be automatically
started. So I guess something I have installed on the server has
turned of NFS and somehow makes NFS not to work.
I even tried to compare with the other working server but no luck.
Kenneth
Post by Jim Kinney
# Turn off v4 protocol support
#RPCNFSDARGS="-N 4"
# Turn off v4 protocol support
RPCNFSDARGS="-N 4"
to disable NFSv4
On Wed, May 1, 2013 at 3:27 PM, Kenneth Lundström
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
Post by Jim Kinney
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
Hi,
/opt/ltsp *(ro,async,no_root_squash)
getenforce: Disabled
Kenneth
Post by Jim Kinney
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
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
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
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see<http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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 list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2013-05-01 21:30:18 UTC
Permalink
OK. time to pull a final test run before I pull out my hair.

Open two terminal sessions on the server

on terminal one run:
setenforce 0
tail -f /var/log/messages /var/log/secure

on terminal 2 run:
echo "BEGIN TEST HERE" >> /var/log/messages
service nfs stop
service nfs start
exportfs
nfsstat

Once you run the echo on terminal2 you should see the tail update. post
what you see back here after the echo, please as well and anything from the
later commands (especially the nfsstat).




On Wed, May 1, 2013 at 4:48 PM, Kenneth Lundström <
Post by Kenneth Lundström
Hmmm, I'm running CentOS 6.4 on the server. I thought I was using 6.3
but maybe one thing I did at some stage was a yum upgrade. The other server
is running 6.3. Could this maybe be the problem?
Client boot on Scientific.
Kenneth
Hmm. what version OS are you running? CentOS/ScientificLinux/RHEL 5 or 6?
'chkconfig nfs on' will run nfs at bootup.
On Wed, May 1, 2013 at 4:29 PM, Kenneth Lundström <
Post by Kenneth Lundström
Hi,
changed and no change :=) I even rebooted the server but no luck. The
strange thing is that NFS is not set to be automatically started. So I
guess something I have installed on the server has turned of NFS and
somehow makes NFS not to work.
I even tried to compare with the other working server but no luck.
Kenneth
# Turn off v4 protocol support
#RPCNFSDARGS="-N 4"
# Turn off v4 protocol support
RPCNFSDARGS="-N 4"
to disable NFSv4
On Wed, May 1, 2013 at 3:27 PM, Kenneth Lundström <
Post by Kenneth Lundström
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 <
Post by Kenneth Lundström
Hi,
/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 <
Post by Kenneth Lundström
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
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
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
_______________________________________________
For more info see <http://www.k12os.org> <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
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/
*
Kenneth Lundström
2013-05-01 21:50:42 UTC
Permalink
I have pulled all my hair already.

==> /var/log/messages <==
BEGIN TEST HERE
May 2 00:42:14 ltsp kernel: nfsd: last server has exited, flushing
export cache
May 2 00:42:14 ltsp rpc.mountd[1584]: Caught signal 15, un-registering
and exiting.
May 2 00:42:58 ltsp rpc.mountd[1756]: Version 1.2.3 starting
May 2 00:42:59 ltsp kernel: NFSD: Using /var/lib/nfs/v4recovery as the
NFSv4 state recovery directory
May 2 00:42:59 ltsp kernel: NFSD: starting 90-second grace period

[***@ltsp ~]# echo "BEGIN TEST HERE" >> /var/log/messages

[***@ltsp ~]# service nfs stop
Shutting down NFS daemon: [ OK ]
Shutting down NFS mountd: [ OK ]
Shutting down NFS services: [ OK ]

[***@ltsp ~]# service nfs start
Starting NFS services: exportfs: /opt/ltsp does not support NFS export
[ OK ]
Starting NFS mountd: [ OK ]
Stopping RPC idmapd: [ OK ]
Starting RPC idmapd: [ OK ]
Starting NFS daemon: [ OK ]

[***@ltsp ~]# exportfs
/opt/ltsp <world>

[***@ltsp ~]# nfsstat
Server rpc stats:
calls badcalls badauth badclnt xdrcall
0 0 0 0 0


Kenneth
Post by Jim Kinney
OK. time to pull a final test run before I pull out my hair.
Open two terminal sessions on the server
setenforce 0
tail -f /var/log/messages /var/log/secure
echo "BEGIN TEST HERE" >> /var/log/messages
service nfs stop
service nfs start
exportfs
nfsstat
Once you run the echo on terminal2 you should see the tail update.
post what you see back here after the echo, please as well and
anything from the later commands (especially the nfsstat).
Jim Kinney
2013-05-01 22:31:57 UTC
Permalink
Is /opt/ltsp a symlink?. ls -la /opt
Post by Kenneth Lundström
I have pulled all my hair already.
==> /var/log/messages <==
BEGIN TEST HERE
May 2 00:42:14 ltsp kernel: nfsd: last server has exited, flushing export
cache
May 2 00:42:14 ltsp rpc.mountd[1584]: Caught signal 15, un-registering
and exiting.
May 2 00:42:58 ltsp rpc.mountd[1756]: Version 1.2.3 starting
May 2 00:42:59 ltsp kernel: NFSD: Using /var/lib/nfs/v4recovery as the
NFSv4 state recovery directory
May 2 00:42:59 ltsp kernel: NFSD: starting 90-second grace period
Shutting down NFS daemon: [ OK ]
Shutting down NFS mountd: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: exportfs: /opt/ltsp does not support NFS export
[ OK ]
Starting NFS mountd: [ OK ]
Stopping RPC idmapd: [ OK ]
Starting RPC idmapd: [ OK ]
Starting NFS daemon: [ OK ]
/opt/ltsp <world>
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Kenneth
Post by Jim Kinney
OK. time to pull a final test run before I pull out my hair.
Open two terminal sessions on the server
setenforce 0
tail -f /var/log/messages /var/log/secure
echo "BEGIN TEST HERE" >> /var/log/messages
service nfs stop
service nfs start
exportfs
nfsstat
Once you run the echo on terminal2 you should see the tail update. post
what you see back here after the echo, please as well and anything from the
later commands (especially the nfsstat).
______________________________**_________________
K12OSN mailing list
https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
For more info see <http://www.k12os.org>
Kenneth Lundström
2013-05-01 22:47:30 UTC
Permalink
No,

[***@ltsp ~]# ls -la /opt
total 12
drwxr-xr-x. 3 root root 4096 Feb 21 2013 .
dr-xr-xr-x. 23 root root 4096 May 2 01:07 ..
drwxr-xr-x. 5 root root 4096 Mar 17 1913 ltsp

KEnneth
Post by Jim Kinney
Is /opt/ltsp a symlink?. ls -la /opt
On May 1, 2013 5:53 PM, "Kenneth Lundström"
I have pulled all my hair already.
==> /var/log/messages <==
BEGIN TEST HERE
May 2 00:42:14 ltsp kernel: nfsd: last server has exited,
flushing export cache
May 2 00:42:14 ltsp rpc.mountd[1584]: Caught signal 15,
un-registering and exiting.
May 2 00:42:58 ltsp rpc.mountd[1756]: Version 1.2.3 starting
May 2 00:42:59 ltsp kernel: NFSD: Using /var/lib/nfs/v4recovery
as the NFSv4 state recovery directory
May 2 00:42:59 ltsp kernel: NFSD: starting 90-second grace period
Shutting down NFS daemon: [ OK ]
Shutting down NFS mountd: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: exportfs: /opt/ltsp does not support NFS export
[ OK ]
Starting NFS mountd: [ OK ]
Stopping RPC idmapd: [ OK ]
Starting RPC idmapd: [ OK ]
Starting NFS daemon: [ OK ]
/opt/ltsp <world>
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Kenneth
OK. time to pull a final test run before I pull out my hair.
Open two terminal sessions on the server
setenforce 0
tail -f /var/log/messages /var/log/secure
echo "BEGIN TEST HERE" >> /var/log/messages
service nfs stop
service nfs start
exportfs
nfsstat
Once you run the echo on terminal2 you should see the tail
update. post what you see back here after the echo, please as
well and anything from the later commands (especially the
nfsstat).
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Burke Almquist
2013-05-01 23:29:34 UTC
Permalink
I think you might be looking in the wrong place. An ltsp server exports NFS to the thin clients so they can boot their OS. If you want to export /home from your old server, you will need to set it up and make sure the new server is mounting it. To me it looks like you aren't even exporting /home. If you want to authenticate from the old server as well (so you won't have to add all your users to the new system again, you need to have it using NIS or LDAP or samba, and set the new server to authenticate users from there, assuming they aren't local (to the server) users (like root).
Post by Kenneth Lundström
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.
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
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Kenneth Lundström
2013-05-01 23:47:49 UTC
Permalink
Hi,

the problem is not the /home folders, that works fine. The /etc/exports
I have shown is on the new server, the clients can't mount the /opt/ltsp
and can't boot at all, anymore.


Kenneth
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think you might be looking in the wrong place. An ltsp server exports NFS to the thin clients so they can boot their OS. If you want to export /home from your old server, you will need to set it up and make sure the new server is mounting it. To me it looks like you aren't even exporting /home. If you want to authenticate from the old server as well (so you won't have to add all your users to the new system again, you need to have it using NIS or LDAP or samba, and set the new server to authenticate users from there, assuming they aren't local (to the server) users (like root).
Post by Kenneth Lundström
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.
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
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAlGBpV4ACgkQxWV7OPa/g5F4HQCfQkLPEg6qfF/jdDMDeW0d5nIu
mmYAn3GO5doKLNuuMWqgIUMbkkbEQnuw
=jV6F
-----END PGP SIGNATURE-----
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2013-05-02 01:25:52 UTC
Permalink
check contents of /etc/auto.misc for /opt/ltsp. Comment it out if found

In fact do a:

grep -R ltsp /etc/*

and see where ltsp is referenced.

Also do a

lsmod | grep nfs

and make sure the you get something like:
nfsd 274672 13
auth_rpcgss 48594 1 nfsd
nfs_acl 12741 1 nfsd
lockd 93540 1 nfsd
sunrpc 256499 29 nfsd,auth_rpcgss,lockd,nfs_acl


If no nfsd, then BINGO! Just run modprobe nfsd and service nfsd restart




On Wed, May 1, 2013 at 7:47 PM, Kenneth Lundström <
Hi,
the problem is not the /home folders, that works fine. The /etc/exports I
have shown is on the new server, the clients can't mount the /opt/ltsp and
can't boot at all, anymore.
Kenneth
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think you might be looking in the wrong place. An ltsp server exports
NFS to the thin clients so they can boot their OS. If you want to export
/home from your old server, you will need to set it up and make sure the
new server is mounting it. To me it looks like you aren't even exporting
/home. If you want to authenticate from the old server as well (so you
won't have to add all your users to the new system again, you need to have
it using NIS or LDAP or samba, and set the new server to authenticate users
from there, assuming they aren't local (to the server) users (like root).
Hello LTSP users,
Post by Kenneth Lundström
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
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
https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
For more info see <http://www.k12os.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAlGBpV4ACgkQxWV7OP**a/g5F4HQCfQkLPEg6qfF/**jdDMDeW0d5nIu
mmYAn3GO5doKLNuuMWqgIUMbkkbEQn**uw
=jV6F
-----END PGP SIGNATURE-----
______________________________**_________________
K12OSN mailing list
https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
For more info see <http://www.k12os.org>
______________________________**_________________
K12OSN mailing list
https://www.redhat.com/**mailman/listinfo/k12osn<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/
*
Kenneth Lundström
2013-05-02 04:39:32 UTC
Permalink
Hi,

I also tried to mount /opt/ltsp shared on the new server on the old
server, just to test the share, so doing
mount -t nfs 192.168.0.1:/opt/ltsp /mnt/test/

I get these four rows of text in the new servers /var/log/messages:
May 2 07:37:00 ltsp rpc.mountd[2186]: authenticated mount request from
192.168.0.11:978 for /opt/ltsp (/opt/ltsp)
May 2 07:37:00 ltsp rpc.mountd[2186]: qword_eol: fflush failed: errno
22 (Invalid argument)
May 2 07:37:00 ltsp rpc.mountd[2186]: qword_eol: fflush failed: errno 2
(No such file or directory)
May 2 07:37:00 ltsp rpc.mountd[2186]: Cannot export /opt/ltsp, possibly
unsupported filesystem or fsid= required
Post by Jim Kinney
check contents of /etc/auto.misc for /opt/ltsp. Comment it out if found
don't have any files called /etc/auto.misc
Post by Jim Kinney
lsmod | grep nfs
nfsd 304962 11
lockd 73534 1 nfsd
nfs_acl 2647 1 nfsd
auth_rpcgss 44917 1 nfsd
exportfs 4236 1 nfsd
sunrpc 261299 17 nfsd,lockd,nfs_acl,auth_rpcgss

Looks to me OK?
Post by Jim Kinney
grep -R ltsp /etc/*
Binary file /etc/aliases.db matches
/etc/cron.daily/ltsp-swapfile-delete:[ -f /etc/ltsp/ltsp.conf ] && .
/etc/ltsp/ltsp.conf
/etc/cron.daily/ltsp-swapfile-delete:[ "$LTSP_SWAP_DIR" ] ||
LTSP_SWAP_DIR=/var/lib/ltsp/swapfiles/
/etc/exports:/opt/ltsp *(ro,async,no_root_squash)
/etc/exports~:/opt/ltsp *(ro,async,no_root_squash)
/etc/fstab:/dev/mapper/vg_ltsp-lv_root / ext4 defaults 1 1
/etc/fstab:/dev/mapper/vg_ltsp-lv_home /home ext4 defaults 1 2
/etc/fstab:/dev/mapper/vg_ltsp-lv_swap swap swap defaults 0 0
/etc/grub.conf:# kernel /vmlinuz-version ro
root=/dev/mapper/vg_ltsp-lv_root
/etc/grub.conf: kernel /vmlinuz-2.6.32-358.2.1.el6.x86_64 ro
root=/dev/mapper/vg_ltsp-lv_root rd_NO_LUKS LANG=en_US.UTF-8
rd_LVM_LV=vg_ltsp/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16
crashkernel=auto KEYBOA
RDTYPE=pc KEYTABLE=fi rd_LVM_LV=vg_ltsp/lv_swap rd_NO_DM rhgb quiet
/etc/grub.conf: kernel /vmlinuz-2.6.32-279.22.1.el6.x86_64 ro
root=/dev/mapper/vg_ltsp-lv_root rd_NO_LUKS LANG=en_US.UTF-8
rd_LVM_LV=vg_ltsp/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16
crashkernel=auto KEYBO
ARDTYPE=pc KEYTABLE=fi rd_LVM_LV=vg_ltsp/lv_swap rd_NO_DM rhgb quiet
/etc/grub.conf: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro
root=/dev/mapper/vg_ltsp-lv_root rd_NO_LUKS LANG=en_US.UTF-8
rd_LVM_LV=vg_ltsp/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16
crashkernel=auto KEYBOARDTY
PE=pc KEYTABLE=fi rd_LVM_LV=vg_ltsp/lv_swap rd_NO_DM rhgb quiet
/etc/init.d/ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/init.d/ltsp-dhcpd:# config: /etc/ltsp/dhcpd.conf
/etc/init.d/ltsp-dhcpd:lockfile=/var/lock/subsys/ltsp-dhcpd
/etc/init.d/ltsp-dhcpd:pidfile=/var/run/ltsp-dhcpd.pid
/etc/init.d/ltsp-dhcpd:[ -f /etc/sysconfig/ltsp-dhcpd ] && .
/etc/sysconfig/ltsp-dhcpd
/etc/init.d/ltsp-dhcpd: echo "/etc/ltsp/dhcpd.conf"
/etc/init.d/ltsp-dhcpd: echo -n "Starting ltsp-$prog:"
/etc/init.d/ltsp-dhcpd: if [ -e
/etc/ltsp/DELETE-ME-WHEN-DONE-need-to-copy-sshkeys ]; then
/etc/init.d/ltsp-dhcpd: /usr/sbin/ltsp-update-sshkeys
/etc/init.d/ltsp-dhcpd: rm -f
/etc/ltsp/DELETE-ME-WHEN-DONE-need-to-copy-sshkeys
/etc/init.d/ltsp-dhcpd: echo -n "Shutting down ltsp-$prog:"
/etc/ltsp/kickstart/Fedora/14/ltsp-i386.ks:# we are going to install
into a chroot, such as /opt/ltsp/i386
/etc/ltsp/kickstart/Fedora/14/ltsp-x86_64.ks:# we are going to install
into a chroot, such as /opt/ltsp/x86_64
/etc/ltsp/kickstart/Fedora/el6/ltsp-i386.ks:# we are going to install
into a chroot, such as /opt/ltsp/i386
/etc/ltsp/kickstart/Fedora/el6/ltsp-x86_64.ks:# we are going to install
into a chroot, such as /opt/ltsp/x86_64
/etc/ltsp/kickstart/Fedora/11/ltsp-i386.ks:# we are going to install
into a chroot, such as /opt/ltsp/i386
/etc/ltsp/kickstart/Fedora/common/common.ks:ltsp-client
/etc/ltsp/kickstart/Fedora/common/common.ks:ltspfsd
/etc/ltsp/kickstart/Fedora/common/common.ks:
/usr/sbin/ltsp-rewrap-latest-kernel
/etc/ltsp/ltsp-build-client.conf:# By default ltsp-build-client will
install a chroot matching your OS into /opt/ltsp/i386.
/etc/ltsp/ltsp-build-client.conf:# See
/usr/share/ltsp/plugins/ltsp-build-client for more possible options.
/etc/ltsp/dhcpd.conf:option domain-name "ltsp";
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/elf.ltsp";
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/wraplinux-nbi.ltsp";
/etc/ltsp/dhcpd.conf: # NOTE: kernels are specified in
/tftpboot/ltsp/i386/pxelinux.cfg/
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/pxelinux.0";
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/wraplinux-nbi.ltsp";
/etc/ltsp/dhcpd.conf: option root-path
"172.31.100.254:/opt/ltsp/ppc";
/etc/ltsp/dhcpd.conf: option root-path
"172.31.100.254:/opt/ltsp/i386";
/etc/ltsp/dhcpd.conf:# filename "/ltsp/vmlinuz.ltsp";
/etc/ltsp/dhcpd.conf:# filename "/ltsp/vmlinuz.ltsp";
/etc/ltsp/dhcpd.conf:# # kernels are specified in
/tftpboot/ltsp/i386/pxelinux.cfg/
/etc/ltsp/dhcpd.conf:# filename "/ltsp/i386/pxelinux.0";
/etc/ltsp/dhcpd.conf:# option root-path
"172.31.100.254:/opt/ltsp/ppc";
/etc/ltsp/dracut/sysconfig-mkinitrd:rootdev="192.168.0.254:/opt/ltsp/i386"
/etc/ltsp/dracut/sysconfig-dracut-skip-first-time:# This file is deleted
by chroot-creator kickstart prior to ltsp-rewrap-latest-kernel
/etc/ltsp/dracut/sysconfig-network:HOSTNAME=ltspclient
/etc/ltsp/dracut/ltsp-postinst.d:[ ! -e /etc/ltsp_chroot ] && exit 0
/etc/ltsp/dracut/ltsp-postinst.d: ln -sf elf-$1.img /boot/elf.ltsp
/etc/ltsp/dracut/ltsp-postinst.d: ln -sf wraplinux-nbi-$1.img
/boot/wraplinux-nbi.ltsp
/etc/ltsp/dracut/ltsp-postinst.d:# Symlink vmlinuz.ltsp and initrd.ltsp
and set permissions for tftp server
/etc/ltsp/dracut/ltsp-postinst.d:ln -sf vmlinuz-$1 /boot/vmlinuz.ltsp
/etc/ltsp/dracut/ltsp-postinst.d:ln -sf $INITRD /boot/initrd.ltsp
/etc/ltsp/nbdswapd.conf:SWAPDIR=/var/lib/ltsp/swapfiles
/etc/lvm/archive/vg_ltsp_00000-998910363.vg:creation_host =
"ltsp.MYSERVER.com" # Linux ltsp.MYSERVER.com 2.6.32-279.el6.x86_64 #1
SMP Fri Jun 22 12:19:21 UTC 2012 x86_64
/etc/lvm/archive/vg_ltsp_00000-998910363.vg:vg_ltsp {
/etc/lvm/archive/vg_ltsp_00000-998910363.vg: creation_host =
"ltsp.MYSERVER.com"
/etc/lvm/archive/vg_ltsp_00000-998910363.vg: creation_host =
"ltsp.MYSERVER.com"
/etc/lvm/archive/vg_ltsp_00000-998910363.vg: creation_host =
"ltsp.MYSERVER.com"
/etc/lvm/backup/vg_ltsp:creation_host = "ltsp.MYSERVER.com" # Linux
ltsp.MYSERVER.com 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC
2012 x86_64
/etc/lvm/backup/vg_ltsp:vg_ltsp {
/etc/lvm/backup/vg_ltsp: creation_host =
"ltsp.MYSERVER.com"
/etc/lvm/backup/vg_ltsp: creation_host =
"ltsp.MYSERVER.com"
/etc/lvm/backup/vg_ltsp: creation_host =
"ltsp.MYSERVER.com"
/etc/mtab:/dev/mapper/vg_ltsp-lv_root / ext4 rw 0 0
/etc/mtab:/dev/mapper/vg_ltsp-lv_home /home ext4 rw 0 0
/etc/printcap:***@172.31.100.254|Mustavalkoinen_uusi:rm=ltsp.MYSERVER.com:rp=***@172.31.100.254:
/etc/printcap:CLP-510|Samsung CLP-510:rm=ltsp.MYSERVER.com:rp=CLP-510:
/etc/printcap:CLP-***@172.31.100.254|Samsung
CLP-510:rm=ltsp.MYSERVER.com:rp=CLP-***@172.31.100.254:
/etc/printcap:CLP-***@192.168.0.11|Samsung
CLP-510:rm=ltsp.MYSERVER.com:rp=CLP-***@192.168.0.11:
/etc/printcap:Colorlaser|Colorlaser:rm=ltsp.MYSERVER.com:rp=Colorlaser:
/etc/printcap:***@172.31.100.254|Colorlaser:rm=ltsp.MYSERVER.com:rp=***@172.31.100.254:
/etc/printcap:***@192.168.0.11|Colorlaser:rm=ltsp.MYSERVER.com:rp=***@192.168.0.11:
/etc/printcap:Mustavalkoinen_uusi|Mustavalkoinen_uusi:rm=ltsp.MYSERVER.com:rp=Mustavalkoinen_uusi:
/etc/printcap:***@192.168.0.11|Mustavalkoinen_uusi:rm=ltsp.MYSERVER.com:rp=***@192.168.0.11:
/etc/printcap:NewColorLaser|NewColorLaser:rm=ltsp.MYSERVER.com:rp=NewColorLaser:
/etc/printcap:***@172.31.100.254|NewColorLaser:rm=ltsp.MYSERVER.com:rp=***@172.31.100.254:
/etc/printcap:***@192.168.0.11|NewColorLaser:rm=ltsp.MYSERVER.com:rp=***@192.168.0.11:
/etc/rc0.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc0.d/K35ltsp-dhcpd:# config: /etc/ltsp/dhcpd.conf
/etc/rc0.d/K35ltsp-dhcpd:lockfile=/var/lock/subsys/ltsp-dhcpd
/etc/rc0.d/K35ltsp-dhcpd:pidfile=/var/run/ltsp-dhcpd.pid
/etc/rc0.d/K35ltsp-dhcpd:[ -f /etc/sysconfig/ltsp-dhcpd ] && .
/etc/sysconfig/ltsp-dhcpd
/etc/rc0.d/K35ltsp-dhcpd: echo "/etc/ltsp/dhcpd.conf"
/etc/rc0.d/K35ltsp-dhcpd: echo -n "Starting ltsp-$prog:"
/etc/rc0.d/K35ltsp-dhcpd: if [ -e
/etc/ltsp/DELETE-ME-WHEN-DONE-need-to-copy-sshkeys ]; then
/etc/rc0.d/K35ltsp-dhcpd: /usr/sbin/ltsp-update-sshkeys
/etc/rc0.d/K35ltsp-dhcpd: rm -f
/etc/ltsp/DELETE-ME-WHEN-DONE-need-to-copy-sshkeys
/etc/rc0.d/K35ltsp-dhcpd: echo -n "Shutting down ltsp-$prog:"

Then we get the same over and over again. I left most of the repeating
lines away.

/etc/rc1.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc2.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc3.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc4.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc5.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc6.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc1.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc3.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc6.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc4.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc2.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc5.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/init.d/ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd:# config: /etc/ltsp/dhcpd.conf
/etc/rc.d/rc0.d/K35ltsp-dhcpd:lockfile=/var/lock/subsys/ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd:pidfile=/var/run/ltsp-dhcpd.pid
/etc/rc.d/rc0.d/K35ltsp-dhcpd:[ -f /etc/sysconfig/ltsp-dhcpd ] && .
/etc/sysconfig/ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd: echo "/etc/ltsp/dhcpd.conf"
/etc/rc.d/rc0.d/K35ltsp-dhcpd: echo -n "Starting ltsp-$prog:"
/etc/rc.d/rc0.d/K35ltsp-dhcpd: if [ -e
/etc/ltsp/DELETE-ME-WHEN-DONE-need-to-copy-sshkeys ]; then
/etc/rc.d/rc0.d/K35ltsp-dhcpd: /usr/sbin/ltsp-update-sshkeys
/etc/rc.d/rc0.d/K35ltsp-dhcpd: rm -f
/etc/ltsp/DELETE-ME-WHEN-DONE-need-to-copy-sshkeys
/etc/rc.d/rc0.d/K35ltsp-dhcpd: echo -n "Shutting down ltsp-$prog:"

/etc/sysconfig/network-scripts/ifcfg-ltspbr0:# Put this into
/etc/sysconfig/network-scripts/ifcfg-ltspbr0
/etc/sysconfig/network-scripts/ifcfg-ltspbr0:# Warning: Deleting
ifcfg-ltspbr0 alone to disable ltspbr0 will cause you
/etc/sysconfig/network-scripts/ifcfg-ltspbr0:# ltsp-server package.
/etc/sysconfig/network-scripts/ifcfg-ltspbr0:# Comment out these two
lines to disable ltspbr0.
/etc/sysconfig/network-scripts/ifcfg-ltspbr0:DEVICE=ltspbr0
/etc/sysconfig/network-scripts/ifcfg-eth0:BRIDGE="ltspbr0"
Binary file
/etc/sysconfig/network-scripts/k12linux-release-5.2.17-1.el6.x86_64 matches
/etc/sysconfig/network-scripts/ifcfg-ltspbr0~:# Put this into
/etc/sysconfig/network-scripts/ifcfg-ltspbr0
/etc/sysconfig/network-scripts/ifcfg-ltspbr0~:# Warning: Deleting
ifcfg-ltspbr0 alone to disable ltspbr0 will cause you
/etc/sysconfig/network-scripts/ifcfg-ltspbr0~:# ltsp-server package.
/etc/sysconfig/network-scripts/ifcfg-ltspbr0~:# Comment out these two
lines to disable ltspbr0.
/etc/sysconfig/network-scripts/ifcfg-ltspbr0~:DEVICE=ltspbr0
/etc/sysconfig/network-scripts/ifcfg-ltspbr0.rpmsave:# Put this into
/etc/sysconfig/network-scripts/ifcfg-ltspbr0
/etc/sysconfig/network-scripts/ifcfg-ltspbr0.rpmsave:# Warning: Deleting
ifcfg-ltspbr0 alone to disable ltspbr0 will cause you
/etc/sysconfig/network-scripts/ifcfg-ltspbr0.rpmsave:# ltsp-server package.
/etc/sysconfig/network-scripts/ifcfg-ltspbr0.rpmsave:# Comment out these
two lines to disable ltspbr0.
/etc/sysconfig/network-scripts/ifcfg-ltspbr0.rpmsave:DEVICE=ltspbr0
/etc/sysconfig/network-scripts/ifcfg-eth0~:BRIDGE="ltspbr0"
/etc/sysconfig/network:HOSTNAME=ltsp.MYSERVER.com
/etc/xinetd.d/nbdrootd: server_args = /opt/ltsp/images/i386.img
/etc/xinetd.d/nbdrootd.rpmsave: server_args = /opt/ltsp/images/i386.img

Looking at these lines I can't see any problems.


Kenneth
Post by Jim Kinney
and see where ltsp is referenced.
Also do a
nfsd 274672 13
auth_rpcgss 48594 1 nfsd
nfs_acl 12741 1 nfsd
lockd 93540 1 nfsd
sunrpc 256499 29 nfsd,auth_rpcgss,lockd,nfs_acl
If no nfsd, then BINGO! Just run modprobe nfsd and service nfsd restart
Jim Kinney
2013-05-02 05:20:47 UTC
Permalink
Totally strange.

I saw a blurb on a Ubuntu page where there was a kernel bug related to ext4
filesystem shared out by NFS. However, even though it showed the same
error, it was still mountable from a remote machine.

I have a vanilla CentOS 6.4 with kernel 2.6.32-358 I tested the NFS server
on with no issues.

/etc/exports:
/home *(rw,no_root_squash,async)

disables NFSv4 in /etc/sysconfig/nfs

turned off iptables for the test

actually have selinux in enforcing mode

mounted remotely with no issues or errors on starting nfs service.

At this point, I think there's a problem with the hard drive. The top level
inode collections are screwed up and NFS can't "do it's thing" because it
can't read the filesystem metadata.

I would run 'badblocks' on the drive and reinstall (lousy answer and bad
sysadmin solution but short of running strace on everything it may be the
fastest way to working) with a fresh drive format.


On Thu, May 2, 2013 at 12:39 AM, Kenneth Lundström <
Post by Kenneth Lundström
Hi,
I also tried to mount /opt/ltsp shared on the new server on the old
server, just to test the share, so doing
mount -t nfs 192.168.0.1:/opt/ltsp /mnt/test/
May 2 07:37:00 ltsp rpc.mountd[2186]: authenticated mount request from
192.168.0.11:978 for /opt/ltsp (/opt/ltsp)
May 2 07:37:00 ltsp rpc.mountd[2186]: qword_eol: fflush failed: errno 22
(Invalid argument)
May 2 07:37:00 ltsp rpc.mountd[2186]: qword_eol: fflush failed: errno 2
(No such file or directory)
May 2 07:37:00 ltsp rpc.mountd[2186]: Cannot export /opt/ltsp, possibly
unsupported filesystem or fsid= required
Post by Jim Kinney
check contents of /etc/auto.misc for /opt/ltsp. Comment it out if found
don't have any files called /etc/auto.misc
Post by Jim Kinney
lsmod | grep nfs
nfsd 304962 11
lockd 73534 1 nfsd
nfs_acl 2647 1 nfsd
auth_rpcgss 44917 1 nfsd
exportfs 4236 1 nfsd
sunrpc 261299 17 nfsd,lockd,nfs_acl,auth_rpcgss
Looks to me OK?
Post by Jim Kinney
grep -R ltsp /etc/*
Binary file /etc/aliases.db matches
/etc/cron.daily/ltsp-swapfile-**delete:[ -f /etc/ltsp/ltsp.conf ] && .
/etc/ltsp/ltsp.conf
/etc/cron.daily/ltsp-swapfile-**delete:[ "$LTSP_SWAP_DIR" ] ||
LTSP_SWAP_DIR=/var/lib/ltsp/**swapfiles/
/etc/exports:/opt/ltsp *(ro,async,no_root_squash)
/etc/exports~:/opt/ltsp *(ro,async,no_root_squash)
/etc/fstab:/dev/mapper/vg_**ltsp-lv_root / ext4 defaults 1 1
/etc/fstab:/dev/mapper/vg_**ltsp-lv_home /home ext4 defaults 1 2
/etc/fstab:/dev/mapper/vg_**ltsp-lv_swap swap swap defaults 0 0
/etc/grub.conf:# kernel /vmlinuz-version ro
root=/dev/mapper/vg_ltsp-lv_**root
/etc/grub.conf: kernel /vmlinuz-2.6.32-358.2.1.el6.**x86_64 ro
root=/dev/mapper/vg_ltsp-lv_**root rd_NO_LUKS LANG=en_US.UTF-8
rd_LVM_LV=vg_ltsp/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16
crashkernel=auto KEYBOA
RDTYPE=pc KEYTABLE=fi rd_LVM_LV=vg_ltsp/lv_swap rd_NO_DM rhgb quiet
/etc/grub.conf: kernel /vmlinuz-2.6.32-279.22.1.el6.**x86_64 ro
root=/dev/mapper/vg_ltsp-lv_**root rd_NO_LUKS LANG=en_US.UTF-8
rd_LVM_LV=vg_ltsp/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16
crashkernel=auto KEYBO
ARDTYPE=pc KEYTABLE=fi rd_LVM_LV=vg_ltsp/lv_swap rd_NO_DM rhgb quiet
/etc/grub.conf: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro
root=/dev/mapper/vg_ltsp-lv_**root rd_NO_LUKS LANG=en_US.UTF-8
rd_LVM_LV=vg_ltsp/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16
crashkernel=auto KEYBOARDTY
PE=pc KEYTABLE=fi rd_LVM_LV=vg_ltsp/lv_swap rd_NO_DM rhgb quiet
/etc/init.d/ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/init.d/ltsp-dhcpd:# config: /etc/ltsp/dhcpd.conf
/etc/init.d/ltsp-dhcpd:**lockfile=/var/lock/subsys/**ltsp-dhcpd
/etc/init.d/ltsp-dhcpd:**pidfile=/var/run/ltsp-dhcpd.**pid
/etc/init.d/ltsp-dhcpd:[ -f /etc/sysconfig/ltsp-dhcpd ] && .
/etc/sysconfig/ltsp-dhcpd
/etc/init.d/ltsp-dhcpd: echo "/etc/ltsp/dhcpd.conf"
/etc/init.d/ltsp-dhcpd: echo -n "Starting ltsp-$prog:"
/etc/init.d/ltsp-dhcpd: if [ -e /etc/ltsp/DELETE-ME-WHEN-DONE-**need-to-copy-sshkeys
]; then
/etc/init.d/ltsp-dhcpd: /usr/sbin/ltsp-update-sshkeys
/etc/init.d/ltsp-dhcpd: rm -f /etc/ltsp/DELETE-ME-WHEN-DONE-**
need-to-copy-sshkeys
/etc/init.d/ltsp-dhcpd: echo -n "Shutting down ltsp-$prog:"
/etc/ltsp/kickstart/Fedora/14/**ltsp-i386.ks:# we are going to install
into a chroot, such as /opt/ltsp/i386
/etc/ltsp/kickstart/Fedora/14/**ltsp-x86_64.ks:# we are going to install
into a chroot, such as /opt/ltsp/x86_64
/etc/ltsp/kickstart/Fedora/**el6/ltsp-i386.ks:# we are going to install
into a chroot, such as /opt/ltsp/i386
/etc/ltsp/kickstart/Fedora/**el6/ltsp-x86_64.ks:# we are going to install
into a chroot, such as /opt/ltsp/x86_64
/etc/ltsp/kickstart/Fedora/11/**ltsp-i386.ks:# we are going to install
into a chroot, such as /opt/ltsp/i386
/etc/ltsp/kickstart/Fedora/**common/common.ks:ltsp-client
/etc/ltsp/kickstart/Fedora/**common/common.ks:ltspfsd
/usr/sbin/ltsp-rewrap-latest-**kernel
/etc/ltsp/ltsp-build-client.**conf:# By default ltsp-build-client will
install a chroot matching your OS into /opt/ltsp/i386.
/etc/ltsp/ltsp-build-client.**conf:# See /usr/share/ltsp/plugins/ltsp-**build-client
for more possible options.
/etc/ltsp/dhcpd.conf:option domain-name "ltsp";
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/elf.ltsp";
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/wraplinux-nbi.**ltsp";
/etc/ltsp/dhcpd.conf: # NOTE: kernels are specified in
/tftpboot/ltsp/i386/pxelinux.**cfg/
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/pxelinux.0";
/etc/ltsp/dhcpd.conf: filename "/ltsp/i386/wraplinux-nbi.**ltsp";
/opt/ltsp/ppc"**;
/etc/ltsp/dhcpd.conf: option root-path "172.31.100.254:/opt/ltsp/**
i386";
/etc/ltsp/dhcpd.conf:# filename "/ltsp/vmlinuz.ltsp";
/etc/ltsp/dhcpd.conf:# filename "/ltsp/vmlinuz.ltsp";
/etc/ltsp/dhcpd.conf:# # kernels are specified in
/tftpboot/ltsp/i386/pxelinux.**cfg/
/etc/ltsp/dhcpd.conf:# filename "/ltsp/i386/pxelinux.0";
/opt/ltsp/ppc"**;
/etc/ltsp/dracut/sysconfig-**mkinitrd:rootdev="192.168.0.**
254:/opt/ltsp/i386"
/etc/ltsp/dracut/sysconfig-**dracut-skip-first-time:# This file is
deleted by chroot-creator kickstart prior to ltsp-rewrap-latest-kernel
/etc/ltsp/dracut/sysconfig-**network:HOSTNAME=ltspclient
/etc/ltsp/dracut/ltsp-**postinst.d:[ ! -e /etc/ltsp_chroot ] && exit 0
/etc/ltsp/dracut/ltsp-**postinst.d: ln -sf elf-$1.img /boot/elf.ltsp
/etc/ltsp/dracut/ltsp-**postinst.d: ln -sf wraplinux-nbi-$1.img
/boot/wraplinux-nbi.ltsp
/etc/ltsp/dracut/ltsp-**postinst.d:# Symlink vmlinuz.ltsp and initrd.ltsp
and set permissions for tftp server
/etc/ltsp/dracut/ltsp-**postinst.d:ln -sf vmlinuz-$1 /boot/vmlinuz.ltsp
/etc/ltsp/dracut/ltsp-**postinst.d:ln -sf $INITRD /boot/initrd.ltsp
/etc/ltsp/nbdswapd.conf:**SWAPDIR=/var/lib/ltsp/**swapfiles
/etc/lvm/archive/vg_ltsp_**00000-998910363.vg:creation_**host = "
ltsp.MYSERVER.com" # Linux ltsp.MYSERVER.com 2.6.32-279.el6.x86_64 #1 SMP
Fri Jun 22 12:19:21 UTC 2012 x86_64
/etc/lvm/archive/vg_ltsp_**00000-998910363.vg:vg_ltsp {
creation_host = "ltsp.MYSERVER.com"
creation_host = "ltsp.MYSERVER.com"
creation_host = "ltsp.MYSERVER.com"
/etc/lvm/backup/vg_ltsp:**creation_host = "ltsp.MYSERVER.com" # Linux
ltsp.MYSERVER.com 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC
2012 x86_64
/etc/lvm/backup/vg_ltsp:vg_**ltsp {
/etc/lvm/backup/vg_ltsp: creation_host = "
ltsp.MYSERVER.com"
/etc/lvm/backup/vg_ltsp: creation_host = "
ltsp.MYSERVER.com"
/etc/lvm/backup/vg_ltsp: creation_host = "
ltsp.MYSERVER.com"
/etc/mtab:/dev/mapper/vg_ltsp-**lv_root / ext4 rw 0 0
/etc/mtab:/dev/mapper/vg_ltsp-**lv_home /home ext4 rw 0 0
|**Mustavalkoinen_uusi:rm=ltsp.**MYSERVER.com:rp=Mustavalkoinen**
/etc/printcap:Colorlaser|**Colorlaser:rm=ltsp.MYSERVER.**
/etc/printcap:Mustavalkoinen_**uusi|Mustavalkoinen_uusi:rm=**
|**Mustavalkoinen_uusi:rm=ltsp.**MYSERVER.com:rp=Mustavalkoinen**
/etc/printcap:NewColorLaser|**NewColorLaser:rm=ltsp.**
/etc/rc0.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc0.d/K35ltsp-dhcpd:# config: /etc/ltsp/dhcpd.conf
/etc/rc0.d/K35ltsp-dhcpd:**lockfile=/var/lock/subsys/**ltsp-dhcpd
/etc/rc0.d/K35ltsp-dhcpd:**pidfile=/var/run/ltsp-dhcpd.**pid
/etc/rc0.d/K35ltsp-dhcpd:[ -f /etc/sysconfig/ltsp-dhcpd ] && .
/etc/sysconfig/ltsp-dhcpd
/etc/rc0.d/K35ltsp-dhcpd: echo "/etc/ltsp/dhcpd.conf"
/etc/rc0.d/K35ltsp-dhcpd: echo -n "Starting ltsp-$prog:"
/etc/rc0.d/K35ltsp-dhcpd: if [ -e /etc/ltsp/DELETE-ME-WHEN-DONE-**need-to-copy-sshkeys
]; then
/etc/rc0.d/K35ltsp-dhcpd: /usr/sbin/ltsp-update-sshkeys
/etc/rc0.d/K35ltsp-dhcpd: rm -f /etc/ltsp/DELETE-ME-WHEN-DONE-**
need-to-copy-sshkeys
/etc/rc0.d/K35ltsp-dhcpd: echo -n "Shutting down ltsp-$prog:"
Then we get the same over and over again. I left most of the repeating
lines away.
/etc/rc1.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc2.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc3.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc4.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc5.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc6.d/K35ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc1.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/rc3.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/rc6.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/rc4.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/rc2.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/rc5.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/init.d/ltsp-dhcpd:# Provides: ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd:**# Provides: ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd:**# config: /etc/ltsp/dhcpd.conf
/etc/rc.d/rc0.d/K35ltsp-dhcpd:**lockfile=/var/lock/subsys/**ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd:**pidfile=/var/run/ltsp-dhcpd.**pid
/etc/rc.d/rc0.d/K35ltsp-dhcpd:**[ -f /etc/sysconfig/ltsp-dhcpd ] && .
/etc/sysconfig/ltsp-dhcpd
/etc/rc.d/rc0.d/K35ltsp-dhcpd: echo "/etc/ltsp/dhcpd.conf"
/etc/rc.d/rc0.d/K35ltsp-dhcpd: echo -n "Starting ltsp-$prog:"
/etc/rc.d/rc0.d/K35ltsp-dhcpd: if [ -e /etc/ltsp/DELETE-ME-WHEN-DONE-**need-to-copy-sshkeys
]; then
/etc/rc.d/rc0.d/K35ltsp-dhcpd: /usr/sbin/ltsp-update-sshkeys
/etc/rc.d/rc0.d/K35ltsp-dhcpd: rm -f /etc/ltsp/DELETE-ME-WHEN-DONE-
**need-to-copy-sshkeys
/etc/rc.d/rc0.d/K35ltsp-dhcpd: echo -n "Shutting down ltsp-$prog:"
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0:# Put this into
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0:# Warning: Deleting
ifcfg-ltspbr0 alone to disable ltspbr0 will cause you
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0:# ltsp-server package.
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0:# Comment out these two
lines to disable ltspbr0.
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0:DEVICE=**ltspbr0
/etc/sysconfig/network-**scripts/ifcfg-eth0:BRIDGE="**ltspbr0"
Binary file /etc/sysconfig/network-**scripts/k12linux-release-5.2.**17-1.el6.x86_64
matches
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0~:# Put this into
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0~:# Warning: Deleting
ifcfg-ltspbr0 alone to disable ltspbr0 will cause you
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0~:# ltsp-server package.
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0~:# Comment out these two
lines to disable ltspbr0.
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0~:DEVICE=**ltspbr0
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0.rpmsave:**# Put this into
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0
Deleting ifcfg-ltspbr0 alone to disable ltspbr0 will cause you
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0.rpmsave:**# ltsp-server
package.
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0.rpmsave:**# Comment out
these two lines to disable ltspbr0.
/etc/sysconfig/network-**scripts/ifcfg-ltspbr0.rpmsave:**DEVICE=ltspbr0
/etc/sysconfig/network-**scripts/ifcfg-eth0~:BRIDGE="**ltspbr0"
/etc/sysconfig/network:**HOSTNAME=ltsp.MYSERVER.com
/etc/xinetd.d/nbdrootd: server_args = /opt/ltsp/images/i386.img
/etc/xinetd.d/nbdrootd.**rpmsave: server_args =
/opt/ltsp/images/i386.img
Looking at these lines I can't see any problems.
Kenneth
Post by Jim Kinney
and see where ltsp is referenced.
Also do a
nfsd 274672 13
auth_rpcgss 48594 1 nfsd
nfs_acl 12741 1 nfsd
lockd 93540 1 nfsd
sunrpc 256499 29 nfsd,auth_rpcgss,lockd,nfs_acl
If no nfsd, then BINGO! Just run modprobe nfsd and service nfsd restart
______________________________**_________________
K12OSN mailing list
https://www.redhat.com/**mailman/listinfo/k12osn<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/
*
Kenneth Lundström
2013-05-02 05:37:38 UTC
Permalink
Hi,

sounds like an Windows fix, please reinstall :=) But that is just what I
decided needs to be done, I emailed the client and will head out to
client tomorrow morning.

One strange thing I noticed by mistake is the dates on folders.

[***@ltsp tmp]# ll /opt/
total 4
drwxr-xr-x. 5 root root 4096 Mar 17 1913 ltsp

LTSP was hardly thought of 1913. I tried to look in different logs but
can't see any file errors. But I see some folders being dated to 1913.
Should matter for NFS, but if filesystem is that messed up no wonder NFS
doesn't work.


Kenneth
Post by Jim Kinney
Totally strange.
I saw a blurb on a Ubuntu page where there was a kernel bug related to
ext4 filesystem shared out by NFS. However, even though it showed the
same error, it was still mountable from a remote machine.
I have a vanilla CentOS 6.4 with kernel 2.6.32-358 I tested the NFS
server on with no issues.
/home *(rw,no_root_squash,async)
disables NFSv4 in /etc/sysconfig/nfs
turned off iptables for the test
actually have selinux in enforcing mode
mounted remotely with no issues or errors on starting nfs service.
At this point, I think there's a problem with the hard drive. The top
level inode collections are screwed up and NFS can't "do it's thing"
because it can't read the filesystem metadata.
I would run 'badblocks' on the drive and reinstall (lousy answer and
bad sysadmin solution but short of running strace on everything it may
be the fastest way to working) with a fresh drive format.
Jim Kinney
2013-05-02 13:00:13 UTC
Permalink
That date error is very suspicious.
Yeah, windowsish solution indeed :-(
Run memtest before the install as a flaky dimm can cause these errors as
well.
Post by Kenneth Lundström
Hi,
sounds like an Windows fix, please reinstall :=) But that is just what I
decided needs to be done, I emailed the client and will head out to client
tomorrow morning.
One strange thing I noticed by mistake is the dates on folders.
total 4
drwxr-xr-x. 5 root root 4096 Mar 17 1913 ltsp
LTSP was hardly thought of 1913. I tried to look in different logs but
can't see any file errors. But I see some folders being dated to 1913.
Should matter for NFS, but if filesystem is that messed up no wonder NFS
doesn't work.
Kenneth
Totally strange.
Post by Jim Kinney
I saw a blurb on a Ubuntu page where there was a kernel bug related to
ext4 filesystem shared out by NFS. However, even though it showed the same
error, it was still mountable from a remote machine.
I have a vanilla CentOS 6.4 with kernel 2.6.32-358 I tested the NFS
server on with no issues.
/home *(rw,no_root_squash,async)
disables NFSv4 in /etc/sysconfig/nfs
turned off iptables for the test
actually have selinux in enforcing mode
mounted remotely with no issues or errors on starting nfs service.
At this point, I think there's a problem with the hard drive. The top
level inode collections are screwed up and NFS can't "do it's thing"
because it can't read the filesystem metadata.
I would run 'badblocks' on the drive and reinstall (lousy answer and bad
sysadmin solution but short of running strace on everything it may be the
fastest way to working) with a fresh drive format.
______________________________**_________________
K12OSN mailing list
https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
For more info see <http://www.k12os.org>
Kenneth Lundström
2013-05-16 20:00:18 UTC
Permalink
Hello,

finally got a chance to reinstall the whole server, I have no done it
twice, last thing was to use ext3 instead of ext4 (just a wild guess).
But I still the same error.

I guess I need to change the whole server. But this has worked, I just
can't understand what the problem is.


Kenneth
Post by Jim Kinney
That date error is very suspicious.
Yeah, windowsish solution indeed :-(
Run memtest before the install as a flaky dimm can cause these errors
as well.
On May 2, 2013 1:40 AM, "Kenneth Lundström"
Hi,
sounds like an Windows fix, please reinstall :=) But that is just
what I decided needs to be done, I emailed the client and will
head out to client tomorrow morning.
One strange thing I noticed by mistake is the dates on folders.
total 4
drwxr-xr-x. 5 root root 4096 Mar 17 1913 ltsp
LTSP was hardly thought of 1913. I tried to look in different logs
but can't see any file errors. But I see some folders being dated
to 1913. Should matter for NFS, but if filesystem is that messed
up no wonder NFS doesn't work.
Kenneth
Totally strange.
I saw a blurb on a Ubuntu page where there was a kernel bug
related to ext4 filesystem shared out by NFS. However, even
though it showed the same error, it was still mountable from a
remote machine.
I have a vanilla CentOS 6.4 with kernel 2.6.32-358 I tested
the NFS server on with no issues.
/home *(rw,no_root_squash,async)
disables NFSv4 in /etc/sysconfig/nfs
turned off iptables for the test
actually have selinux in enforcing mode
mounted remotely with no issues or errors on starting nfs service.
At this point, I think there's a problem with the hard drive.
The top level inode collections are screwed up and NFS can't
"do it's thing" because it can't read the filesystem metadata.
I would run 'badblocks' on the drive and reinstall (lousy
answer and bad sysadmin solution but short of running strace
on everything it may be the fastest way to working) with a
fresh drive format.
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Loading...