Re: LTSP NFS

Maxime Accadia <[email protected]>
Newsgroups gmane.linux.terminal-server.general
Message-ID <2061218590.2241937.1549536929688.JavaMail.zimbra@univ-grenoble-alpes.fr>
Turns out I was missing a few things. First, NFS is not compatible with chrootless which I was using. 

To turn my NDB installation into an NFS installation, I needed : 

``` 
sudo apt install nfs-kernel-server 
sudo ltsp-config nfs 
sudo systemctl restart nfs-server 
sudo ltsp-build-client --purge-chroot --mount-package-cache # creates a chrooted environment in /opt/ltsp/amd64 
sudo ltsp-chroot -m apt install gnome-session # I use gnome as desktop environment 
``` 

And also had to modify /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/ltsp to default to ltsp-NFS (there is probably a more conventional way to do this). 

You don't need `ltsp-build-image` if you're not using NBD. This is a advantage for me as building the image can take quite some time with the 100+ packages I install. 




De: "MAXIME ACCADIA" <[email protected]> 
À: "ltsp-discuss" <[email protected]> 
Envoyé: Mercredi 6 Février 2019 14:27:15 
Objet: [Ltsp-discuss] LTSP NFS 

Hi, 

I wanted to try NFS instead of NBD on a working LTSP setup with Ubuntu 18.04. Is NFS still supported ? 

I did `apt install nfs-kernel-server && ltsp-config nfs` and changed boot to ltsp-NFS instead of ltsp-NBD. The client start booting but ends in a loop : 

``` 
Begin: Retrying nfs mount ... no search or nameservers found in /run/net-ens3.conf /run/net-ens3.conf /run/net6-*.conf 
mount call failed - server replied no such file or directory 
done. 
Begin: Retrying nfs mount ... 
``` 

I have the same error "no search or nameservers found in /run/net-ens3.conf /run/net-ens3.conf /run/net6-*.conf" while booting with NBD, but the client continue and boots normally. 

I would like to confirm I did everything correctly before filing a bug. 

Maxime 


P.S. I know NBD should perform better than NFS but in my case, I have an Virtual Storage Infrastructure with a 2GB bandwith supporting NFS / CIFS / iSCSI only. My LTSP server has 1GB bandwith only. 

$ ltsp-info 
server information: 
No LSB modules are available. 
Distributor ID: Ubuntu 
Description: Ubuntu 18.04.1 LTS 
Release: 18.04 
Codename: bionic 

server packages: 
ii ldm 2:2.18.06-1+t201810250641~u 
un ldm-server <aucune> 
un ldm-themes <aucune> 
ii ldm-ubuntu-theme 2:2.0.47 
un ldm-ubuntu-themes <aucune> 
ii ltsp-client 5.18.04+t201809080524~ubunt 
ii ltsp-client-core 5.18.04+t201809080524~ubunt 
un ltsp-docs <aucune> 
ii ltsp-server 5.18.04+t201809080524~ubunt 
un ltsp-utils <aucune> 
un ltspfs <aucune> 
ii ltspfsd 1.5-2+t201807160629~ubuntu1 
ii ltspfsd-core 1.5-2+t201807160629~ubuntu1 



_____________________________________________________________________ 
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: 
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss 
For additional LTSP help, try #ltsp channel on irc.freenode.net

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.