ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] nfs trouble :/
@ 2006-06-02 20:03 Nick S. Grechukh
  2006-06-03  5:39 ` Vasily Kolomeets
  0 siblings, 1 reply; 4+ messages in thread
From: Nick S. Grechukh @ 2006-06-02 20:03 UTC (permalink / raw)
  To: ALT Linux Community

приветствую

вознамерился я таки разобраться с 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 )




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] nfs trouble :/
  2006-06-02 20:03 [Comm] nfs trouble :/ Nick S. Grechukh
@ 2006-06-03  5:39 ` Vasily Kolomeets
  2006-06-03  7:27   ` Мажурин Игорь
  0 siblings, 1 reply; 4+ messages in thread
From: Vasily Kolomeets @ 2006-06-03  5:39 UTC (permalink / raw)
  To: community

Nick S. Grechukh wrote:

> приветствую
> 
> вознамерился я таки разобраться с NFS, да не выходит каменный цветок

Про nfslock и exportfs забыл. См. маны и
http://www.freesource.info/wiki/AltLinux/Dokumentacija/NFS

-- 
Where is all the knowledge we lost with information? 
                -- T. S. Eliot




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] nfs trouble :/
  2006-06-03  5:39 ` Vasily Kolomeets
@ 2006-06-03  7:27   ` Мажурин Игорь
  2006-06-03 21:38     ` Vitaly Lipatov
  0 siblings, 1 reply; 4+ messages in thread
From: Мажурин Игорь @ 2006-06-03  7:27 UTC (permalink / raw)
  To: ALT Linux Community

On Sat, 03 Jun 2006 11:39:17 +0600
Vasily Kolomeets <boojuman@gmail.com> wrote:

> Nick S. Grechukh wrote:
> 
> > приветствую
> > 
> > вознамерился я таки разобраться с NFS, да не выходит каменный цветок
> 
> Про nfslock и exportfs забыл. См. маны и
> http://www.freesource.info/wiki/AltLinux/Dokumentacija/NFS
> 
а у меня другая трабла.
Монтируется, но владелец ресурса drweb с правами 700 :-/
как лечить?


> -- 
> Where is all the knowledge we lost with information? 
>                 -- T. S. Eliot
> 
> 
> _______________________________________________
> Community mailing list
> Community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] nfs trouble :/
  2006-06-03  7:27   ` Мажурин Игорь
@ 2006-06-03 21:38     ` Vitaly Lipatov
  0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Lipatov @ 2006-06-03 21:38 UTC (permalink / raw)
  To: ALT Linux Community

On Saturday 03 June 2006 11:27, Мажурин Игорь wrote:
...
> а у меня другая трабла.
> Монтируется, но владелец ресурса drweb с правами 700 :-/
> как лечить?
Сделать чтобы UID'ы на разных машинах соответствовали или 
почитать man на тему переназначения UID (allmap и пр.)

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-03 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 20:03 [Comm] nfs trouble :/ Nick S. Grechukh
2006-06-03  5:39 ` Vasily Kolomeets
2006-06-03  7:27   ` Мажурин Игорь
2006-06-03 21:38     ` Vitaly Lipatov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git