From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 02:06:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB1216A4CE for ; Sun, 17 Oct 2004 02:06:41 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F4343D39 for ; Sun, 17 Oct 2004 02:06:41 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101711:06:31:402687.7481.2686360496 for ; Sun, 17 Oct 2004 11:06:31 +0900 (KST) Message-ID: <4171D3AE.8010601@yahoo.com> Date: Sun, 17 Oct 2004 11:06:38 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041002 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-4.46) (SRN:SPAMROBOT) ----------------- Subject: 5.3-Beta7 diskless boot: it boots but has empty /var (on /dev/md1) !? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 02:06:41 -0000 Hi, I am gradually making progress with configuring a 5.3-Beta7 PC as a server for a diskless boot up. I followed instructions in diskless(8) manpage. My diskless system boots and I can login. So most of the work seems to be done. However, on the diskless PC, /var is on a memory disk, but that directory is completely empty: disklessPC# ls -a /var . .. .snap disklessPC# mount 192.168.123.254:/ on / (nfs, read-only) devfs on /dev (devfs, local) /dev/md0 on /etc (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/md1 on /var (ufs, local, soft-updates) 192.168.123.254:/usr on /usr (nfs, read-only) 192.168.123.254:/home on /home (nfs) /dev/md2 on /tmp (ufs, local, soft-updates) This has serious consequences on the diskless PC. For example, sshd cannot start because /var/empty is not there. There is no information in /var/run, /var/log etc. Is something missing in the /etc/rc.d/initdiskless script, or have I forgotten something? Thanks, Rob.