.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "LTSP\-NFS" "8" "October 2019" "LTSP 19.10-1" "LTSP Manual" .SH "NAME" \fBltsp\-nfs\fR \- configure NFS exports for LTSP .SH "SYNOPSIS" \fBltsp\fR [\fIltsp\-options\fR] \fBnfs\fR [\fB\-h\fR \fInfs\-home\fR] [\fBt\fR \fInfs\-tftp\fR] .SH "DESCRIPTION" Install /etc/exports\.d/ltsp\-nfs\.conf in order to export /srv/ltsp ($BASE_DIR), /srv/tftp/ltsp ($TFTP_DIR) and optionally /home ($HOME_DIR)\. .SH "OPTIONS" See the \fBltsp(8)\fR man page for \fIltsp\-options\fR\. .TP \fB\-h\fR, \fB\-\-nfs\-home=\fR\fI0|1\fR Export /home over NFS3\. Defaults to 0\. Note that NFS3 is insecure for home, so by default SSHFS is used\. To specify a different directory, set $HOME_DIR in /etc/ltsp/ltsp\.conf\. .TP \fB\-t\fR, \fB\-\-nfs\-tftp=\fR\fI0|1\fR Export /srv/tftp/ltsp over NFS3\. Defaults to 1\. To specify a different directory, set $TFTP_DIR in /etc/ltsp/ltsp\.conf\. .SH "EXAMPLES" To export only some user homes over NFS3 (insecure) while the rest still use SSHFS, use symlinks as described below\. Note that the NFS server doesn\'t follow symlinks outside of an export\. Start by putting this line in /etc/ltsp/ltsp\.conf under the [clients] section: .IP "" 4 .nf FSTAB_NFS="server:/home/nfs /home nfs defaults,nolock 0 0" .fi .IP "" 0 .P Then run the following commands: .IP "" 4 .nf ltsp initrd # This is needed whenever ltsp\.conf is modified mkdir /home/nfs for u in guest01 guest02; do mv "/home/$u" /home/nfs/ ln \-s "nfs/$u" "/home/$u" done ltsp \-\-home\-dir=/home/nfs nfs \-\-export\-home=1 .fi .IP "" 0 .SH "COPYRIGHT" Copyright 2019 the LTSP team, see AUTHORS .SH "SEE ALSO" \fBltsp\fR(8), \fBltsp\.conf\fR(5), \fBltsp\-dnsmasq\fR(8), \fBltsp\-image\fR(8), \fBltsp\-info\fR(8), \fBltsp\-initrd\fR(8), \fBltsp\-ipxe\fR(8), \fBltsp\-kernel\fR(8), \fBltsp\-nfs\fR(8)