Re: ltsp-to-ram? (was: Re: Deprecating NBD in favor of squashfs-over-NFS)
Bob Wicksall <[email protected]> Fri, 17 May 2019 10:20:07 -0400 (EDT)
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <[email protected]> |
I use the LTSP_NBD_TO_RAM option in environments with slow or problematic network connections. The client needs 3+ gigs of ram to make this work. You can edit /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/ltsp and add LTSP_NBD_TO_RAM=true loke the following to test: append ro initrd=initrd.img-4.18.0-0.bpo.1-amd64 init=/sbin/init-ltsp LTSP_NBD_TO_RAM=true quiet root=/dev/nbd0 Add it to /etc/ltsp/update-kernels.conf to make it permanent. CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp LTSP_NBD_TO_RAM=true quiet" I'm doing this with the version of LTSP that ships with Debian 9. Bob Wicksall Computer and Network Services Manager Pioneer Library System 2557 State Rt. 21 Canandaigua, New York 14424 ----- Original Message ----- > From: "Dominik George" <[email protected]> > To: "ltsp-discuss" <[email protected]>, "Alkis Georgopoulos" <[email protected]> > Sent: Friday, May 17, 2019 4:22:57 AM > Subject: [Ltsp-discuss] ltsp-to-ram? (was: Re: Deprecating NBD in favor of squashfs-over-NFS) > Hi, > >>The best of both worlds is to export the squashfs image over NFS. >>So, the server will export /opt/ltsp/images via NFS, >>and the clients will connect to /opt/ltsp/images/amd64.img, >>and "loop-mount" it as their root file system. > > Interesting. > > Has anyone thought about copying the image to RAM, if there is plenty, like Grml > does in its grml-to-ram feature? > > Maybe one could also do that in the background and when it's done switch the > lower layer of the overlay fs to it? > > -nik > > > _____________________________________________________________________ > 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