Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Новый участник


Сообщения: 32
Благодарности: 0

Профиль | Отправить PM | Цитировать


Пробуем...
Код: Выделить весь код
[root@server etc]# cat /etc/exports
/mnt/disk/shares/temp           192.168.1.3 (rw,sync)
[root@server etc]# /etc/init.d/portmap status
portmap is running
[root@server etc]# /etc/init.d/nfs restart
Stopping NFS mount service:                                             [ DONE ]
Stopping NFS daemon:                                                    [ DONE ]
Unexporting NFS file systems:                                           [ DONE ]
Exporting NFS file systems:                                             [ DONE ]
Starting NFS daemon:                                                    [ DONE ]
Starting NFS mount service:                                             [ DONE ]
[root@server etc]# /usr/sbin/exportfs
/mnt/disk/shares/temp
                192.168.1.3
/mnt/disk/shares/temp
                <world>
Что значит запись world в данном случае?
Теперь на клиентской машине...
Код: Выделить весь код
[root@old corpse]# /sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 4C:00:10:A2:84:2F
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:565 errors:0 dropped:0 overruns:0 frame:0
          TX packets:436 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:63877 (62.3 Kb)  TX bytes:56280 (54.9 Kb)
          Interrupt:10 Base address:0x4000

[root@old corpse]# ping server
ping: unknown host server
[root@old corpse]# ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6) 56(84) bytes of data.
64 bytes from 192.168.1.6: icmp_seq=1 ttl=64 time=0.219 ms
64 bytes from 192.168.1.6: icmp_seq=2 ttl=64 time=0.198 ms

--- 192.168.1.6 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 0.198/0.208/0.219/0.017 ms

[root@old corpse]# /etc/init.d/portmap status
portmap is running

[root@old corpse]# mount -t nfs 192.168.1.6:/mnt/disk/shares/temp /mnt/disk/
mount: RPC: Remote system error - Connection refused
Как видите, portmap запущен, mountd я просто не нашёл, и описанное выше с одной строчкой в /etc/exports тоже не работает.

Отправлено: 22:05, 16-08-2007 | #6