From owner-freebsd-questions@FreeBSD.ORG Wed Nov 17 14:50:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 437BA1065672 for ; Wed, 17 Nov 2010 14:50:31 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id F0E728FC15 for ; Wed, 17 Nov 2010 14:50:30 +0000 (UTC) Received: by vws4 with SMTP id 4so935969vws.13 for ; Wed, 17 Nov 2010 06:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=7pIMEWCS8EIA8YT2v6D4zo9lKmXy8xmLKax78X+sNGc=; b=BZykJw0Bgn5HEWM4+rFb4wF3GIH1guXs728a3O76fbvGrVN0WxHkdjJ3RgykKacylI FNr9kOoQBuZxjCLjRCRbY4XUqtWG6jpZS3qQb6TcNrLWL7Wx4jCuymEvTrAZ+HomEi2F 9jlEp01SZa8ys/vUxHFeOyP3jkryk5B2HyrW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DIso1XTC+AYjUu/616FQRoU2jrl9YOYUDI50ShsldAYGasD66uCIPheGNe/FI/g40n 9G4j31d8KxIglIpIxiRHi0wkd38kRZ8FpFbj6x8CFPoovjF65vjhCIVryFtyPsOucG09 jgTz3ELTl384uMvE+wPiP/yx6zxIrfWux6CM0= MIME-Version: 1.0 Received: by 10.229.240.144 with SMTP id la16mr7662393qcb.50.1290005429916; Wed, 17 Nov 2010 06:50:29 -0800 (PST) Received: by 10.229.227.83 with HTTP; Wed, 17 Nov 2010 06:50:29 -0800 (PST) Date: Wed, 17 Nov 2010 15:50:29 +0100 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NFS setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 14:50:31 -0000 I try to set up NFS between two freebsd-8.1 systems. Both were - at installation time - set up to act as NFS server and NFS client so both have in their /etc/rc.conf nfs_client_enable="YES" nfs_server_enable="YES" rpcbind_enable="YES" all the services are running (checked on both systems): # ps -jaxw | grep nfs root 882 1 882 882 0 Is ?? 0:00.04 nfsd: master (nfsd) root 884 882 882 882 0 S ?? 0:00.00 nfsd: server (nfsd) # ps -jaxw | grep mountd root 880 1 880 880 0 Is ?? 0:00.00 /usr/sbin/mountd -r # ps -jaxw | grep rpcbind root 747 1 747 747 0 Ss ?? 0:00.01 /usr/sbin/rpcbind the NFS server (server.subdomain.topdomain) has server# cat /etc/exports /home -alldirs -ro client.subdomain.topdomain server# showmount -e Exports list on localhost: /home client.subdomain.topdomain server# cat /etc/hosts XXX.YYY.ZZZ.CCC client.subdomain.topdomain the NFS client (client.subdomain.topdomain) has client# cat /etc/hosts XXX.YYY.ZZZ.SSS server.subdomain.topdomain and has a mount-point /mnt with nothing mounted on it yet (empty dir) client# mount server.subdomain.topdomain:/home /mnt (or client# mount XXX.YYY.ZZZ.SSS:/home /mnt) hangs, and after trying for about a minute, responds [tcp] server.subdomain.topdomain:/home: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed out what is missing to make this work?