|03:01||vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)|
|10:30||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
alkisg: I know it is sunday, so please don't answer today...
I havae situation that on random stations in network sometimes does not map nfs mount exported on server. It is appears when client starts, so i guess can be some timeot
|16:00||massimo_g[m] has left IRC (massimo_g[m]!~massimogm@2001:470:69fc:105::1:fc0b, Quit: You have been kicked for being idle)|
|16:00||fottsia[m] has left IRC (fottsia[m]!~fottsiama@2001:470:69fc:105::48bb, Quit: You have been kicked for being idle)|
When I reboot such client, all nfs exports mounts ok
I am wondering, if there is some place in ltsp scripts when I could set some timeout for nfs mount...
ABIX adam.jurkiewicz: is that the rootfs or the home mount?
The rootfs is mounted by initramfs-tools, while home is mounted by fstab
LTSP isn't involved in either of them
it is oridinary exported in ltsp.conf
|16:26||vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)|
`FSTAB_UCZNIOWIE="server:/srv/uczniowie /srv/uczniowie nfs defaults,nolock 0 0"`
That's in fstab. It's mounted by the system, ltsp just adds the line there.
Check journalctl for possible errors
Also, do you have the nfs-common package installed?
root@sp3-mielec:~# dpkg -l | grep nfs
ii libnfs13:amd64 4.0.0-1 amd64 NFS client library (shared library)
ii libnfsidmap2:amd64 0.25-5.1ubuntu1 amd64 NFS idmapping library
ii nfs-common 1:1.3.4-2.5ubuntu3.4 amd64 NFS support files common to client and server
ii nfs-kernel-server 1:1.3.4-2.5ubuntu3.4 amd64 support for NFS kernel server
I will check journalctl
(on the client)
Btw, are you creating the /srv/uczniowie directory from e.g. POST_INIT_MKDIR...?
no, just mkdir
I know journactl on the client, that is why I said : I will
On the client /srv/uczniowie is just being created by the scripts, nut by me
How do you run mkdir? The /srv is excluded from the generated image
Which scripts? Maybe these scripts run too late
Sorry, I thought you asking how I did the dir on server...
Of course, on client I do not do anything... all is doing automaticly onwhen client starts
I have changed ltsp.conf entry to:
`FSTAB_UCZNIOWIE="server:/srv/uczniowie /srv/uczniowie nfs timeo=1200,retrans=10,retry=5,nolock 0
I will see what will happens... the server is located in school 400 km from me, so there is a teacher, and reports me...
I think I will have some report maybe in next 3 days
OK, now I must go back to my grandson
You need a mkdir then
On a POST_INIT_MKDIR directive
But in 95% I do not need to.. it is doing automaticly
Just in 5% of machines, random - sometimes...
Maybe the thing that does that automatically and we don't know what it is, fails 5% of the times due to race conditions. Try to mkdir.
I also think about race condition in NFS mount; exactly I think that way:
* in class there is 20 PC'a starting in one time
* all tries to mount FSTAB entries
* 5% fails with NFS mount sometimes... (I think it can be becuse of network traffic to server network card)
|17:55||ogra has left IRC (ogra!~ogra_@ubuntu/member/ogra, Ping timeout: 240 seconds)|
When it happens see if the dir exists or not, and check journalctl
I don't think an nfs mount would fail just because of increased network traffic
will check journalctl
|18:12||ogra has joined IRC (ogra!~ogra_@2a01:4f8:c0c:2271::1)|
|18:14||ogra has left IRC (ogra!~ogra_@2a01:4f8:c0c:2271::1, Client Quit)|
|18:14||ogra_ has joined IRC (ogra_!~ogra_@2a01:4f8:c0c:2271::1)|
|18:15||ogra_ is now known as ogra|
|20:17||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|
|20:31||Cueball has joined IRC (Cueball!~quassel@2001:8b0:ffb3:0:ac6a:aaff:fe7e:9c3)|