From owner-svn-doc-all@freebsd.org Mon Mar 5 15:50:48 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C641F39B20; Mon, 5 Mar 2018 15:50:48 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B1197F5AB; Mon, 5 Mar 2018 15:50:48 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05FE025CB9; Mon, 5 Mar 2018 15:50:48 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w25Folgl039889; Mon, 5 Mar 2018 15:50:47 GMT (envelope-from rodrigo@FreeBSD.org) Received: (from rodrigo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w25FolFh039888; Mon, 5 Mar 2018 15:50:47 GMT (envelope-from rodrigo@FreeBSD.org) Message-Id: <201803051550.w25FolFh039888@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigo set sender to rodrigo@FreeBSD.org using -f From: Rodrigo Osorio Date: Mon, 5 Mar 2018 15:50:47 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51461 - head/en_US.ISO8859-1/books/handbook/advanced-networking X-SVN-Group: doc-head X-SVN-Commit-Author: rodrigo X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/handbook/advanced-networking X-SVN-Commit-Revision: 51461 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 15:50:48 -0000 Author: rodrigo (ports committer) Date: Mon Mar 5 15:50:47 2018 New Revision: 51461 URL: https://svnweb.freebsd.org/changeset/doc/51461 Log: update/correct the Handbook Diskless operations chapter - Add the -maproot=root to the NFS export configuration - Mention base archive from the ftp server as an alternative way to install the base system - Fix the usage - Add details about how to use md_size files to increase the default mfs size for /var and /etc PR: 213175 Submitted by: Natacha Porte Reviewed by: sevan bcr ian Approved by: ian sevan Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14336 Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Sun Mar 4 18:34:15 2018 (r51460) +++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Mon Mar 5 15:50:47 2018 (r51461) @@ -3898,7 +3898,7 @@ ifconfig_lagg0NFS by adding the following to /etc/exports: - /b -ro -alldirs + /b -ro -alldirs -maproot=root @@ -3937,25 +3937,19 @@ ifconfig_lagg0 - Rebuild the &os; kernel and userland (refer to for more detailed - instructions): - - &prompt.root; cd /usr/src -&prompt.root; make buildworld -&prompt.root; make buildkernel + Install the base system into + ${NFSROOTDIR}, either by + decompressing the official archives or by rebuilding + the &os; kernel and userland (refer to + for more detailed + instructions, but do not forget to add + + when running the + make installkernel and + make installworld commands. - Install &os; into the directory mounted over - NFS: - - &prompt.root; make installworld DESTDIR=${NFSROOTDIR} -&prompt.root; make installkernel DESTDIR=${NFSROOTDIR} -&prompt.root; make distribution DESTDIR=${NFSROOTDIR} - - - Test that the TFTP server works and can download the boot loader which will be obtained via PXE: @@ -4026,7 +4020,16 @@ Received 264951 bytes in 0.1 seconds /etc and /var will be created and mounted and the contents of the cpio.gz files will be copied into - them. + them. By default, these file systems have a maximum capacity + of 5 megabytes. If your archives do not fit, which is + usually the case for /var when binary + packages have been installed, request a larger size by putting + the number of 512 byte sectors needed (e.g., 5 megabytes + is 10240 sectors) in + ${NFSROOTDIR}/conf/base/etc/md_size and + ${NFSROOTDIR}/conf/base/var/md_size + files for /etc and + /var file systems respectively.