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) | |
15:58 | <ABIXadamjurkiewi> alkisg: I know it is sunday, so please don't answer today...
| |
16:00 | 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) | |
16:00 | <ABIXadamjurkiewi> When I reboot such client, all nfs exports mounts ok
| |
16:01 | I am wondering, if there is some place in ltsp scripts when I could set some timeout for nfs mount...
| |
16:24 | <alkisg> ABIX adam.jurkiewicz: is that the rootfs or the home mount?
| |
16:25 | The rootfs is mounted by initramfs-tools, while home is mounted by fstab
| |
16:25 | LTSP isn't involved in either of them
| |
16:26 | <ABIXadamjurkiewi> it is oridinary exported in ltsp.conf
| |
16:26 | vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20) | |
16:26 | <ABIXadamjurkiewi> `FSTAB_UCZNIOWIE="server:/srv/uczniowie /srv/uczniowie nfs defaults,nolock 0 0"`
| |
16:27 | <alkisg> That's in fstab. It's mounted by the system, ltsp just adds the line there.
| |
16:28 | Check journalctl for possible errors
| |
16:29 | Also, do you have the nfs-common package installed?
| |
16:30 | <ABIXadamjurkiewi> nfs-common installed:
| |
16:30 | ```
| |
16:30 | root@sp3-mielec:~# dpkg -l | grep nfs
| |
16:30 | ii libnfs13:amd64 4.0.0-1 amd64 NFS client library (shared library)
| |
16:30 | ii libnfsidmap2:amd64 0.25-5.1ubuntu1 amd64 NFS idmapping library
| |
16:30 | ii nfs-common 1:1.3.4-2.5ubuntu3.4 amd64 NFS support files common to client and server
| |
16:30 | ii nfs-kernel-server 1:1.3.4-2.5ubuntu3.4 amd64 support for NFS kernel server
| |
16:30 | ```
| |
16:31 | I will check journalctl
| |
16:33 | <alkisg> (on the client)
| |
16:34 | Btw, are you creating the /srv/uczniowie directory from e.g. POST_INIT_MKDIR...?
| |
16:44 | <ABIXadamjurkiewi> no, just mkdir
| |
16:44 | I know journactl on the client, that is why I said : I will
| |
16:45 | On the client /srv/uczniowie is just being created by the scripts, nut by me
| |
16:52 | <alkisg> How do you run mkdir? The /srv is excluded from the generated image
| |
16:52 | Which scripts? Maybe these scripts run too late
| |
17:04 | <ABIXadamjurkiewi> Sorry, I thought you asking how I did the dir on server...
| |
17:04 | Of course, on client I do not do anything... all is doing automaticly onwhen client starts
| |
17:06 | I have changed ltsp.conf entry to:
| |
17:06 | `FSTAB_UCZNIOWIE="server:/srv/uczniowie /srv/uczniowie nfs timeo=1200,retrans=10,retry=5,nolock 0
| |
17:06 | 0"`
| |
17:06 | I will see what will happens... the server is located in school 400 km from me, so there is a teacher, and reports me...
| |
17:06 | I think I will have some report maybe in next 3 days
| |
17:07 | OK, now I must go back to my grandson
| |
17:07 | <alkisg> You need a mkdir then
| |
17:07 | On a POST_INIT_MKDIR directive
| |
17:07 | <ABIXadamjurkiewi> But in 95% I do not need to.. it is doing automaticly
| |
17:08 | Just in 5% of machines, random - sometimes...
| |
17:26 | <alkisg> 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.
| |
17:47 | <ABIXadamjurkiewi> I also think about race condition in NFS mount; exactly I think that way:
| |
17:47 | * in class there is 20 PC'a starting in one time
| |
17:47 | * all tries to mount FSTAB entries
| |
17:47 | * 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) | |
17:57 | <alkisg> When it happens see if the dir exists or not, and check journalctl
| |
17:58 | I don't think an nfs mount would fail just because of increased network traffic
| |
18:03 | <ABIXadamjurkiewi> 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) | |