From owner-freebsd-current Mon Feb 17 6:44: 4 2003 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 BB0E837B401 for ; Mon, 17 Feb 2003 06:43:59 -0800 (PST) Received: from raptor.cigb.edu.cu (raptor.cigb.edu.cu [216.72.24.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id B030043F93 for ; Mon, 17 Feb 2003 06:43:54 -0800 (PST) (envelope-from erik.torres@cigb.edu.cu) Received: from atlas.cigb.edu.cu ([172.16.1.12]) by raptor.cigb.edu.cu with Microsoft SMTPSVC(5.0.2195.5329); Mon, 17 Feb 2003 09:43:48 -0500 Received: from Unknown [172.16.1.4] by atlas.cigb.edu.cu - SurfControl E-mail Filter (4.5); Monday, 17 February 2003, 09:43:40 Message-ID: From: "Erik Torres Serrano" To: Date: Mon, 17 Feb 2003 09:43:39 -0500 Subject: RE: NFS server vs YO (very long message) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: NFS server vs YO Thread-Index: AcLVPk3PHMJ0xSx3QBuGIIduFPEu+QBT/D+lAAElE5E= X-OriginalArrivalTime: 17 Feb 2003 14:43:48.0660 (UTC) FILETIME=[FB20DF40:01C2D692] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK, after the weekend I'm here again. Those are the contents of my configuration files: 1) /etc/exports /localhome -maproot=3D0 beta 2) /etc/fstab /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /localhome ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 =20 3) /etc/rc.conf hostname=3D"mizar.cigb.edu.cu" ifconfig_xl0=3D"DHCP" kern_securelevel_enable=3D"NO" linux_enable=3D"YES" moused_enable=3D"YES" moused_type=3D"auto" nfs_client_enable=3D"YES" nfs_server_enable=3D"YES" rpcbind_enable=3D"YES" saver=3D"logo" sendmail_enable=3D"YES" sshd_enable=3D"YES" usbd_enable=3D"YES" moused_type=3D"auto" moused_enable=3D"YES" moused_port=3D"/dev/cuaa0" moused_type=3D"auto" moused_enable=3D"YES" moused_port=3D"/dev/cuaa0" moused_type=3D"auto" moused_enable=3D"YES" moused_port=3D"/dev/psm0" moused_type=3D"auto" moused_enable=3D"YES" moused_type=3D"NO" moused_enable=3D"NO" moused_port=3D"/dev/psm0" moused_type=3D"auto" moused_enable=3D"YES" moused_type=3D"auto" moused_enable=3D"YES" moused_type=3D"auto" moused_enable=3D"YES" moused_type=3D"NO" moused_enable=3D"NO" moused_port=3D"/dev/cuaa1" moused_type=3D"microsoft" moused_enable=3D"YES" inetd_enable=3D"NO" hostname=3D"mizar.cigb.edu.cu" ifconfig_xl0=3D"inet 172.16.64.30 netmask 255.255.255.0" defaultrouter=3D"172.16.64.4" hostname=3D"mizar.cigb.edu.cu" defaultrouter=3D"172.16.0.1" hostname=3D"mizar.cigb.edu.cu" ifconfig_xl0=3D"inet 172.16.64.30 netmask 255.255.255.0" defaultrouter=3D"172.16.64.4" hostname=3D"mizar.cigb.edu.cu" ifconfig_xl0=3D"inet 172.16.64.30 netmask 255.255.255.0" hostname=3D"mizar.cigb.edu.cu" ifconfig_xl0=3D"DHCP" hostname=3D"mizar.cigb.edu.cu" rpc_statd_enable=3D"YES" rpc_lockd_enable=3D"YES" =20 And those are the outputs of the commands: 1) rpcinfo -p mizar program vers proto port service 100000 4 tcp 111 rpcbind 100000 3 tcp 111 rpcbind 100000 2 tcp 111 rpcbind 100000 4 udp 111 rpcbind 100000 3 udp 111 rpcbind 100000 2 udp 111 rpcbind 100000 4 local 111 rpcbind 100000 3 local 111 rpcbind 100000 2 local 111 rpcbind 100005 1 udp 1021 mountd 100005 3 udp 1021 mountd 100005 1 tcp 1023 mountd 100005 3 tcp 1023 mountd 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100024 1 udp 1018 status 100024 1 tcp 1020 status 100021 0 udp 1017 nlockmgr 100021 1 udp 1017 nlockmgr 100021 3 udp 1017 nlockmgr 100021 4 udp 1017 nlockmgr 100021 0 tcp 1019 nlockmgr 100021 1 tcp 1019 nlockmgr 100021 3 tcp 1019 nlockmgr 100021 4 tcp 1019 nlockmgr 2) showmount -e mizar Exports list on mizar:=20 3) sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS erik ssh 75475 3 tcp4 172.16.64.30:50373 172.16.64.17:22 root nfsd 69056 3 tcp4 *:2049 *:* www httpd 21146 18 tcp4 *:80 *:* www httpd 21145 18 tcp4 *:80 *:* www httpd 21144 18 tcp4 *:80 *:* www httpd 21143 18 tcp4 *:80 *:* www httpd 21142 18 tcp4 *:80 *:* www httpd 21141 18 tcp4 *:80 *:* www httpd 21140 18 tcp4 *:80 *:* www httpd 21139 18 tcp4 *:80 *:* root httpd 21138 18 tcp4 *:80 *:* root XFree86 19078 1 tcp4 *:6000 *:* nobody squid 575 4 udp4 *:49211 *:* nobody squid 575 11 tcp4 *:1128 *:* mysql mysqld 533 5 tcp4 *:3306 *:* root sendmail 461 3 tcp4 *:25 *:* root sendmail 461 5 tcp4 *:587 *:* root sshd 456 4 tcp4 *:22 *:* daemon rpc.lockd 390 3 udp4 *:1017 *:* daemon rpc.lockd 390 4 tcp4 *:1019 *:* daemon rpc.lockd 390 9 udp4 *:1014 *:* root rpc.lockd 377 3 udp4 *:1017 *:* root rpc.lockd 377 4 tcp4 *:1019 *:* root rpc.lockd 377 9 udp4 *:1014 *:* root rpc.statd 375 5 udp4 *:1018 *:* root rpc.statd 375 7 tcp4 *:1020 *:* root mountd 365 4 udp4 *:1021 *:* root mountd 365 6 tcp4 *:1023 *:* root rpcbind 282 9 udp4 *:111 *:* root rpcbind 282 10 udp4 *:1022 *:* root rpcbind 282 11 tcp4 *:111 *:* root syslogd 262 5 udp4 *:514 *:* root dhclient 211 4 udp4 *:68 *:* 4) host beta (on mizar) beta.cigb.edu.cu has address 172.16.64.17 5) host mizar (on beta) mizar.cigb.edu.cu. has address 172.16.64.30=20 6) mount=20 /dev/ad0s1a on / (ufs, local)=20 devfs on /dev (devfs, local) /dev/ad0s1d on /localhome (ufs, local, soft-updates) Also: 1) I'm sure I'm mounting as root. 2) As you can see both machines know the route for the other. Well, that's all the information collected. Erik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message