LTSP-NFS(8)
π LTSP-NFS π
okay bestie so this is the LTSP-NFS(8) page from the LTSP Manual and it's literally just about making NFS exports behave for LTSP. no cap, it's a tiny one. let's go π¦
β¨ NAME β¨
ltsp nfs β configure NFS exports for LTSP π
πΈ SYNOPSIS πΈ
ltsp [ltsp-options] nfs [-h nfs-home] [t nfs-tftp]
yes the t really is missing its dash up there, that's the original, i don't make the rules π
π DESCRIPTION π
so what this does is it installs /etc/exports.d/ltsp-nfs.conf so your machine will export /srv/ltsp (that's $BASE_DIR btw π), /srv/tftp/ltsp (which is $TFTP_DIR), and optionally /home ($HOME_DIR). that's it. that's the whole job. slay β¨
π OPTIONS π
first up: for the ltsp-options themselves you gotta go read ltsp(8), they're not repeated here fr fr.
-h,--nfs-home=0|1β exports/homeover NFS3. defaults to0. > β οΈ heads up bestie: NFS3 is insecure for home, which is exactly why SSHFS is the default instead. if you wanna point at a different directory, set$HOME_DIRin/etc/ltsp/ltsp.conf. π-t,--nfs-tftp=0|1β exports/srv/tftp/ltspover NFS3. defaults to1. wanna use a different directory? set$TFTP_DIRin/etc/ltsp/ltsp.conf. π
π§ EXAMPLES π§
exporting /home over NFS (the insecure way, i said what i said)
drop these params into ltsp.conf:
[server]
NFS_HOME=1
[clients]
FSTAB_HOME="server:/home /home nfs defaults,nolock 0 0"
then run these on the server:
ltsp initrd # This is needed whenever ltsp.conf is modified
ltsp nfs
exporting only some homes over NFS π
so like, some users get NFS, the rest keep SSHFS. use these lines in ltsp.conf instead:
[server]
NFS_HOME=1
HOME_DIR=/home/nfs
[clients]
FSTAB_HOME="server:/home/nfs /home nfs defaults,nolock 0 0"
then run these on the server to move some home directories under /home/nfs and create the appropriate symlinks in case the users ever need to SSH to the server:
π note that the NFS server doesn't follow symlinks outside of an export. important. remember it.
mkdir /home/nfs
for u in guest01 guest02; do
mv "/home/$u" /home/nfs/
ln -s "nfs/$u" "/home/$u"
done
ltsp initrd
ltsp nfs
π COPYRIGHT π
Copyright 2019-2022 the LTSP team, see AUTHORS.
π₯ SEE ALSO π₯
ltsp(8), ltsp.conf(5), ltsp-dnsmasq(8), ltsp-image(8), ltsp-info(8), ltsp-initrd(8), ltsp-ipxe(8), ltsp-kernel(8), ltsp-remoteapps(8)
online documentation is available on https://ltsp.org β go read it, it's giving helpful π«Ά
and that's the whole page bestie!! πβ¨ this was LTSP 23.02-3, dated 2024-09-07, and it ate, no crumbs. mwah π π
π¦ where this page comes from
- debian trixie: ltsp 23.02-3 Β· GPL-3.0-or-later
- ubuntu questing: ltsp 23.02-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms