From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <44809988.2040707@tpway.com> Date: Fri, 02 Jun 2006 23:03:20 +0300 From: "Nick S. Grechukh" MIME-Version: 1.0 To: ALT Linux Community Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: [Comm] nfs trouble :/ X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 20:03:35 -0000 Archived-At: List-Archive: List-Post: приветствую вознамерился я таки разобраться с NFS, да не выходит каменный цветок [root@bidash ~]# rpm -qf /etc/init.d/nfs nfs-server-userland-2.2beta51-alt1 [root@bidash ~]# cat > /etc/exports << EOF /media gns(ro) EOF [root@bidash ~]# service portmap start Starting portmap service: [ DONE ] [root@bidash ~]# service nfs start Starting NFS daemon: [ DONE ] Starting NFS mount service: [ DONE ] [root@bidash ~]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100003 2 udp 2049 nfs 100003 2 tcp 2049 nfs 100005 1 udp 815 mountd 100005 2 udp 815 mountd 100005 1 tcp 818 mountd 100005 2 tcp 818 mountd [root@bidash ~]# netstat -lpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN 9526/rpc.nfsd tcp 0 0 0.0.0.0:707 0.0.0.0:* LISTEN 8585/rpc.ugidd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 9512/portmap tcp 0 0 0.0.0.0:818 0.0.0.0:* LISTEN 9542/rpc.mountd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6467/sshd tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 4216/cupsd tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 9169/0 tcp 0 0 0.0.0.0:52666 0.0.0.0:* LISTEN 8290/rpc.statd udp 0 0 0.0.0.0:2049 0.0.0.0:* 9526/rpc.nfsd udp 0 0 0.0.0.0:32771 0.0.0.0:* 8290/rpc.statd udp 0 0 0.0.0.0:815 0.0.0.0:* 9542/rpc.mountd udp 0 0 0.0.0.0:705 0.0.0.0:* 8585/rpc.ugidd udp 0 0 0.0.0.0:834 0.0.0.0:* 8290/rpc.statd udp 0 0 0.0.0.0:111 0.0.0.0:* 9512/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 4216/cupsd udp 0 0 10.99.1.1:123 0.0.0.0:* 4163/ntpd udp 0 0 192.168.242.175:123 0.0.0.0:* 4163/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 4163/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 4163/ntpd вроде все как надо? на клиенте: [root@mordor ~]# mount -t nfs bidash.office.tpway.com:/media /mnt/nfs_cd/ mount to NFS server 'bidash.office.tpway.com' failed: server is down. ладно. [root@bidash ~]# apt-get install nfs-server Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: nfs-server-userland The following NEW packages will be installed: nfs-server bla-bla-bla [root@bidash ~]# service nfs start Exporting NFS file systems: [ DONE ] Starting NFS daemon: [FAILED] [root@bidash ~]# tail /var/log/messages un 2 22:58:58 bidash kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jun 2 22:58:58 bidash kernel: NFSD: starting 90-second grace period Jun 2 22:59:14 bidash kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jun 2 22:59:14 bidash kernel: NFSD: starting 90-second grace period [root@bidash ~]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper и соответственно, [root@mordor ~]# mount -vv -t nfs bidash:/media/mnt/nfs_cd/ mount to NFS server 'bidash.office.tpway.com' failed. RPC Error: 15 ( Program not registered )