From owner-freebsd-questions@FreeBSD.ORG Sun Jun 15 06:15:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E1EC37B401 for ; Sun, 15 Jun 2003 06:15:43 -0700 (PDT) Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E8943FA3 for ; Sun, 15 Jun 2003 06:15:42 -0700 (PDT) (envelope-from ohartman@klima.physik.uni-mainz.de) Received: from mail.physik.uni-mainz.de (mail.physik.uni-mainz.de [134.93.180.161])h5FDFeRu049950 for ; Sun, 15 Jun 2003 15:15:41 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Sun, 15 Jun 2003 15:15:40 +0200 (CEST) From: "Hartmann, O." X-X-Sender: ohartman@mail.physik.uni-mainz.de To: freebsd-questions@freebsd.org Message-ID: <20030615150420.N98600@mail.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: diskless: FBSD 5.1 fails, 5.0 and 4.8 do it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 13:15:43 -0000 Hello. Our setup for a cluster and a bunch of diskless terminals utilizes a DHCP and NFS server to do the job. Each client boots via PXE (Intel NICs) and then mounts its root filesystem via NFS. This setup works now for a really long time but it doesn't with rcNG!! Using the new style setup with RCNG exclusively the cient boots its kernel and then fails working on the rc-scripts. I figured out that the client does not recognize whether it is diskless or not. Doing so with the old style rc.diskless scripts works perfect. I became aware of the problem when changing the setup from old style rc scripts towards rc_ng. After mounting root FS, the client operates on /rootpath/etc/rc script and should then recognize it is diskless and therefore switch to rc.d/diskless and rc.d/initdiskless. These two special scripts should then merge conf/base/etc. conf/default/etc and conf/IP/etc together. This worked in 4.8 and 5.0 and it still works when using the old 4.8/5.0 rc.xxx script stuff together with the new 5.1 binaries and kernel. But nothing works with rc-ng only. No memory disk gets created, no merging is done, no diskless tasks are performed. The process remains in the read only root filesystem and fails. I am sure the RCNG script does not recognize a diskless operation while with the same kernel the old style rc-system does. has anyone the same problem? Can anyone help? What's different with the new RCNG system to get it working? Thanks in advance, Oliver -- MfG O. Hartmann ohartman@mail.physik.uni-mainz.de ------------------------------------------------------------------ Systemadministration des Institutes fuer Physik der Atmosphaere (IPA) ------------------------------------------------------------------ Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 (Buero) FAX: +496131/3923532