From owner-FreeBSD-users-jp@jp.FreeBSD.org Mon Jan 29 10:56:51 2007
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id l0T1upq06290;
	Mon, 29 Jan 2007 10:56:51 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id l0T1uou06285
	for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 29 Jan 2007 10:56:50 +0900 (JST)
	(envelope-from hellorudies@gmail.com)
Received: by py-out-1112.google.com with SMTP id h31so1109183pyc
        for <FreeBSD-users-jp@jp.freebsd.org>; Sun, 28 Jan 2007 17:56:48 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=JfpKXSOvIZ4LkY4myRXRKRc4MQOlATXRI6+8d5spjpmJxKQb+n6alSXCRfEB45P6FhFGNxyuBY/0BnPiU6y8xW4qvBT4V07XArjq0VFAW++iW8MgG4KSetNRDSE9TEbSP17zFijFmFdfBshIa9lfFZRGmtmZRJodJTbtDYKl/Us=
Received: by 10.35.75.1 with SMTP id c1mr11817906pyl.1170035808654;
        Sun, 28 Jan 2007 17:56:48 -0800 (PST)
Received: by 10.35.89.2 with HTTP; Sun, 28 Jan 2007 17:56:48 -0800 (PST)
Message-ID: <63b737f90701281756h71c4a963v612588e489feedbb@mail.gmail.com>
From: "=?ISO-2022-JP?B?GyRCP3k7M0Q+PHkbKEI=?=" <hellorudies@gmail.com>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <20070128205421.7505c918.yanagisawa@csg.is.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <63b737f90701280044q579f341je542e94b22af25a0@mail.gmail.com>
	 <20070128.182012.238264228.takachan@running-dog.net>
	 <63b737f90701280240h4a551d2dg6376264d7ec506ba@mail.gmail.com>
	 <20070128205421.7505c918.yanagisawa@csg.is.titech.ac.jp>
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Mon, 29 Jan 2007 10:56:48 +0900
X-Sequence: FreeBSD-users-jp 90327
Subject: [FreeBSD-users-jp 90327] Re: NFS =?ISO-2022-JP?B?GyRCJE4bKEI=?=
 =?ISO-2022-JP?B?GyRCJV4lJiVzJUgkSyREJCQkRhsoQg==?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: hellorudies@gmail.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B$4CzG+$J$4;XE&K\Ev$K$"$j$,$H$&$4$6$$$^$9!#(B
$B>/$7$:$D860x$,8+$($F$-$?$h$&$J5$$,$7$^$9!#(B

>/etc/rc.conf $B$O$I$&$$$&$U$&$K$+$$$F$$$^$9$+$M!)(Bstatd$B$H$+(Blockd$B$r(B
>$B5/F0$9$k$h$&$K$7$F$$$^$9$+!)(B
>---
>nfs_server_enable="YES"
>mountd_enable="YES"
>rpcbind_enable="YES"
>rpc_statd_enable="YES"
>rpc_lockd_enable="YES"
>---
$B$N$4;XE&$NDL$j(B*statd$B$H(Blockd$B$r(Brc.conf$B$KDI2C8e(BFreeBSD$B$r:F5/F0(B
-bash@FREEBSD$>rpcinfo -p
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    844  mountd
    100005    3   udp    844  mountd
    100005    1   tcp    844  mountd
    100005    3   tcp    844  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100024    1   udp    843  status
    100024    1   tcp    816  status
    100021    0   udp    624  nlockmgr
    100021    1   udp    624  nlockmgr
    100021    3   udp    624  nlockmgr
    100021    4   udp    624  nlockmgr
    100021    0   tcp    673  nlockmgr
    100021    1   tcp    673  nlockmgr
    100021    3   tcp    673  nlockmgr
    100021    4   tcp    673  nlockmgr

$B$H$J$j$^$7$?!#$3$3$G(BFreeBSD$B$KJY6/$N$?$a(BIPFilter$B$rE,MQ$7$F$$$k;v$r;W$$=P$7(B
$B$H$j$"$($:>e$K=P$F$$$k(Bport$B$rA4$F3+$1$F$d$j$^$7$?!#$^$?(B
-bash@FREEBSD$>sockstat -4

<$BCfN,(B>
daemon   rpc.lockd  784   3  udp4   *:624                 *:*
daemon   rpc.lockd  784   4  tcp4   *:673                 *:*
daemon   rpc.lockd  784   9  udp4   *:964                 *:*
root     rpc.lockd  775   3  udp4   *:624                 *:*
root     rpc.lockd  775   4  tcp4   *:673                 *:*
root     rpc.lockd  775   9  udp4   *:964                 *:*
root     rpc.statd  770   5  udp4   *:843                 *:*
root     rpc.statd  770   7  tcp4   *:816                 *:*
<$BCfN,(B>
$B$H=P$F$$$^$7$?$N$G$3$l$i$bF1MM$K3+$1$^$7$?!#(B
$B:#$N$H$3$m(BNFS$B$K4X78$,$"$j$=$&$J(Bport$B$O(B
-bash@FREEBSD$>sudo ipfstat -i

pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = nfsd keep
state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = nfsd group 200
pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = sunrpc
keep state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = sunrpc group 200
pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port =
rpc2portmap keep state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port =
rpc2portmap group 200
pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = mountd
keep state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = mountd group 200
pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = lockd
keep state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = lockd group 200
pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = 816 keep
state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = 843 group 200
pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = 673 keep
state group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = 624 group 200
pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = 964 group 200
$B$H$J$C$F$$$^$9!#<+J,$ND4$Y$?8B$j$OA4$F3+$1$F$"$j$^$9!#(B
$B$H$3$3$^$GBP1~$7$?7k2L!"(BMAC$B$G(BNFS$B$r%^%&%s%H$7$?%G%#%l%/%H%j$X$N(B
$B%U%!%$%k$N%3%T!<$O2DG=$K$J$j$^$7$?!#$^$?(Bvi$B$G%U%!%$%k$rJT=8$9$k;~$b(B
$B0JA0$ONc$($PA^F~%3%^%s%I$N(B'i'$B$d(B'o'$B$r2!$9$@$1$GH?1~$7$J$/$J$j$=$N$^$^(B
MAC$B$N%G%9%/%H%C%W$K@\B32r=|$N%]%C%W%"%C%W$,=P$F$$$?$N$G$9$,!":#$O(B
'i'$B$d(B'o'$B$r2!$7$FJ8;z$r=q$/=j$^$G$O@5>o$J$N$G$9$,$d$O$jJ]B8$7$h$&$H$9$k$H(B

E72: Close error on swap file

$B$H$$$&%a%C%;!<%8$,(BMAC$B$N(Bterminal$B!"I8=`%(%i!<$KEG$-=P$5$l!"$=$N$^$^(B
$B@\B32r=|$K$J$C$F$7$^$$$^$9!#$d$O$j(Brpc.lockd$B$"$?$j$@$H$O;W$&$N$G$9$,(B
$B8e9M$($i$l$kMW0x$O2?$,$"$k$G$7$g$&$+!)(B

$B?y;3(B
