FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

LinkBack Thread Tools
Old 11-24-2007, 09:18 PM
antonello facchetti
Default edubuntu + nfs

Karl Goetz wrote:
> On Tue, 2007-10-02 at 20:58 +0200, Antonello Facchetti wrote:
>> I set up a school lab with 15 pcs and edubuntu 7.04.
>> A PC exports /home via nfs to the others.
>> I've got a problem when a class get into the lab and all the computers
>> boot practically at the same time (typical situation): some computers
>> do not get the /home dir so users can't log on.
>> The only solution is to boot the computers sequentially, one by one,
>> waiting about 30 seconds between each one.
>> I tried to mount manually in a console the /homes and it takes seconds
>> (about 5-10) to have a result.
>> Is there any misconfiguration I my have done? (really, I just edited the
>> exports file)
>> What should I check to speed up the process?
> you might need to increase the number of nfs threads running (if you
> can), and or increase the timeout for connects.
> kk
>> Antonello
After a long time busy with something else I returned to this issue and
I found out something more.

The situation:
1 edubuntu 7.4 server acting as
- file server for 10 edubuntu 7.4 pcs
- ltsp server for 6 thin clients
ltsp is ok, nfs server has the problems described above

First I tried tweaking the /etc/fstab
last versions were: /home nfs
rw,hard,intr,nfsvers=3,tcp,timeo=600,rsize=32768,w size=32768 0 0
or /home nfs
rw,hard,intr,nfsvers=3,tcp,timeo=600,rsize=1024,ws ize=1024 0 0
I tried changing rsize and wsize but with no success.

I wanted to increase the instances of nfsd but I really didn't find out

So I tried to cope with the problem in a completely different way:
I had an old spare computer (pII) with an old red-hat 7.3 and about 10Gb
HD (enough for the /home dir) working as a samba server.
In it:
- copied the whole /home directory from the edubuntu server,
- added nfs functionality, increasing nfsd instances up to 32
On the edubuntu clients:
- removed the lines from /etc/fstab
- added a "mount -t nfs /home" in /etc/init.d/rc.local
and now everything's ok!

I am happy for the success, but I'd really like to understand the reason

btw - this works with the rh7.3 pII old server, but doesn't work this
the edubuntu 7.04 server: even with the "rc.local" tweak clients can't
mount /home properly.


edubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Thread Tools

All times are GMT. The time now is 04:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org