From owner-freebsd-fs@FreeBSD.ORG Sat Feb 14 12:53:17 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19324B1B for ; Sat, 14 Feb 2015 12:53:17 +0000 (UTC) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C3BAD46 for ; Sat, 14 Feb 2015 12:53:16 +0000 (UTC) Received: by labhs14 with SMTP id hs14so20615898lab.1 for ; Sat, 14 Feb 2015 04:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=DU4H4JVLOw1pNhpi/teGugDS6IjSRolSc4tAIWfzcSg=; b=Ny3sZ8PD4IePwa7Wdd1wDRi6vWONPBoot56vc19NQndazDjrGDS1DsEK8UDrh6fFRz EB0RYCk99vsaNgK/ThY36IvSPFeofSo246YvqyNRBsDpN0zcY1LAUUK1rErtyuKwxe/6 d8h3OHkqhN56x38OM+zbE/iDisLEfXKLVHL8Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=DU4H4JVLOw1pNhpi/teGugDS6IjSRolSc4tAIWfzcSg=; b=f3GyqkhIaLKtukJibMQxrzmF5dgDdVB/6JIKQTYWpM6XQnB00rFR889aS1+rpArpJS v9+eUkWv3H2BoJ8VVciuFclSuqRlLPOov4SYo09qxIimHvVWbMs0WmA+y/8J34CGHAFu tYD4dulHbxOy8q5xG4DLM5gm4xSrz7p9xYm2YOrFzoA+Rl0EoQdNXxUWGOQ9MvjkLruu sN4SObfvBxnlfJ22TuFMHSs2FkwxFpB6WBPS+6Uiv02Zlu6YmnFz7chAb+JBr41PeUMo JzSxIS8bDFqDMY8402ARlFKjnpnIUrFOixWEXGCkHgDNO/ByTUOMbLEckvNWuitlFPlF srZQ== X-Gm-Message-State: ALoCoQlr1EU0NARrk7jRhSwpiSbA8dvVXQzu7Op4VI+4xUBdH+dk2z9ebpcceJ/xmLqxsPKVHtKj X-Received: by 10.112.92.204 with SMTP id co12mr12534614lbb.43.1423918393920; Sat, 14 Feb 2015 04:53:13 -0800 (PST) Received: from rsbsd.rsb ([31.200.16.102]) by mx.google.com with ESMTPSA id r3sm1890411lal.16.2015.02.14.04.53.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Feb 2015 04:53:12 -0800 (PST) Date: Sat, 14 Feb 2015 14:53:09 +0200 From: Beeblebrox To: freebsd-fs@freebsd.org Subject: Re: Several NFS errors on diskless clients Message-ID: <20150214145309.38238df2@rsbsd.rsb> In-Reply-To: <1957238464.3335859.1423879252335.JavaMail.root@uoguelph.ca> References: <20150213142516.569ecc44@rsbsd.rsb> <1957238464.3335859.1423879252335.JavaMail.root@uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 12:53:17 -0000 Hi, Rick. > Just in case you didn't already know, if you are going to use NFSv4 > over AUTH_SYS, the clients and server need consistent user and group > databases. Same names and same numbers. I was aware of that, yet apparently missed a crucial step. There was a mis-= match between the /etc of host vs jail and I was missing several users/grou= ps. Corrected. > Since the "user-or-group" part seems to be working, then maybe the > part isn't the same? (It doesn't really matter what it > is, so long as it is the same for the server and client.) That, I was not aware of. I modified diskless client rc.conf to have "nfsus= erd_flags -domain same.name", and start nfsuserd with same.name from host. I was fortunate to see a solution to my problem #3 on the mail list BTW, se= rvices under NFS not starting, in client rc.conf: early_late_divider=3D"mou= ntcritremote". Services now start. The bulk of the oddities I could not figure out have been cleared by the ab= ove mentioned corrections. The only remaining problem is the "pager read er= ror". IDK how serious that is but the same error occurs if I try to start G= DM on the client, so it seems I need to get to the bottom of that as well: Client boots normally, nfsuserd running on both host + client, dbus already= started.=20 pcap file with "tcpdump -s 1500" for invoking on client "service hald onest= art" being PM'ed. Thanks for the help and Regards.