Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 09:43:39 -0500
From:      "Erik Torres Serrano" <erik.torres@cigb.edu.cu>
To:        <freebsd-current@FreeBSD.ORG>
Subject:   RE: NFS server vs YO (very long message)
Message-ID:  <E78E51BB7B45C749B11C8B5BA64107E104635C12@mercurio.cigb.edu.cu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E78E51BB7B45C749B11C8B5BA64107E104635C12>