From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 09:28:07 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38766106566B for ; Mon, 2 Apr 2012 09:28:07 +0000 (UTC) (envelope-from rsb@berentweb.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1F38FC15 for ; Mon, 2 Apr 2012 09:28:06 +0000 (UTC) Received: by lagv3 with SMTP id v3so4244810lag.13 for ; Mon, 02 Apr 2012 02:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=Bjn10xEBsoQNyXCpafFSxqzG6tlDwC8T2TC4GOsDx1Y=; b=GTjRlhwfbAvlpu87mopOdCjZNZOH9PkdmulzsDmPOKbDKSW8ZkzSQ8zJ9QwIbR1YSv xO8yYSBq6w8mbY3avayb3vhBkGZhMm45LDOcLrf4tSxIFy93YldQna8UhBrl7nQtaPSP bjCu0506WTLyD/jLlI1W1qiwK7v6ahjntOFFI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type:x-gm-message-state; bh=Bjn10xEBsoQNyXCpafFSxqzG6tlDwC8T2TC4GOsDx1Y=; b=TLiFBToXLVZ95DwH1y9VJHRJn8t3qYcGrsMSFYv/Nf0UihX89IgOsaPb1Pqxy7TYE+ GWNPRc0dC1Ek7ynkbkg5VATwLgeqqJ/elmYsthT19r3ttFNIuxO8y0b5Sc3h/FxPhP4P 0/zRaOJtnEE0mtUcvi+f5dvabbpg+UKLEt+UIBNhPxilCRN1TZ5UM56HrdmOELfhal5x i3DpIPDL4izE7KugC3Iq7u5pPrkfO7RCh3rVtxwSXYVW6OxjwkkDbi/AdVSOWSzqYjNz NqzSkF7IOYvHf9I9vTb9l9qeZx4phegi5SUabxZVQRt98fwxveyYwfvViLNs408MfvXM 5G6A== MIME-Version: 1.0 Received: by 10.152.133.144 with SMTP id pc16mr8827982lab.0.1333358885504; Mon, 02 Apr 2012 02:28:05 -0700 (PDT) Sender: rsb@berentweb.com Received: by 10.112.77.15 with HTTP; Mon, 2 Apr 2012 02:28:05 -0700 (PDT) X-Originating-IP: [85.110.29.196] Date: Mon, 2 Apr 2012 12:28:05 +0300 X-Google-Sender-Auth: z3WaBJ_ygojjH1EGlp1pMK96_8Y Message-ID: From: Beeblebrox To: freebsd-fs@freebsd.org X-Gm-Message-State: ALoCoQnrDf/AzX8I8aSqswS/IyXZFxVli4IRrSRTFtB7vtzeTGVHJbDNk/oGwagYjroPjB6oRSn6 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Diskless client mount NFS-root error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2012 09:28:07 -0000 Client boots fine and gets to mounting root from NFS, but then stops with: "Mounting root filesystem rw failed, startup aborted" and drops to single-user mode. *loader.conf* for the client is below, Some optioons caused more trouble than solutions, so were commented out. 1. boot.nfsroot.server="192.168.2.1" 2. boot.nfsroot.path="/data/amd64" 3 .vfs.root.mountfrom="nfs:192.168.2.1:/data/amd64" 4. #vfs.root.mountfrom="nfs" 5. #boot.nfsroot.options="nolockd" 6 .#vfs.root.mountfrom.options="ro" Now the fun part is, with a dirty-little hack I was able to get diskless to work and NOT break boot: I commented out [stop_boot true] in diskless/etc/rc.d/root. Although at the time this was satisfactory, I would noow like to solve this the "propper way" if possible. */etc/exports*: /data/amd64 -ro -maproot=0 -network 192.168.2.0/24 Thanks for your input