* [Sysadmins] Настройка NFS
@ 2007-08-27 13:14 Denis Kirienko
2007-08-27 13:15 ` Avramenko Andrew
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Denis Kirienko @ 2007-08-27 13:14 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
Добрый день!
Что-то не пойму, как нынче полагается настраивать NFS, чтобы /home был у
всех одинаковый.
Раньше (в этоху ALM2.4/Compact3.0) делал так:
/etc/exports на сервере
/home 192.168.4.1/24(rw,async)
/etc/fstab на клиенте
server:/home /home nfs rsize=8192,wsize=8192,hard,nosuid,lock,intr 0 0
Теперь заменил сервер и клиента на ALT 4.0 и при аналогичных настройках
при монтировании /home получаю сообщение
mount: mount to NFS server 'server' failed: System Error: Connection
refused.
Что поменялось-то?
--
Денис
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:14 [Sysadmins] Настройка NFS Denis Kirienko
@ 2007-08-27 13:15 ` Avramenko Andrew
2007-08-27 13:38 ` Denis Kirienko
2007-08-27 13:31 ` Michael Shigorin
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Avramenko Andrew @ 2007-08-27 13:15 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Denis Kirienko пишет:
> Добрый день!
>
> Что-то не пойму, как нынче полагается настраивать NFS, чтобы /home был у
> всех одинаковый.
>
> Раньше (в этоху ALM2.4/Compact3.0) делал так:
>
> /etc/exports на сервере
> /home 192.168.4.1/24(rw,async)
>
> /etc/fstab на клиенте
> server:/home /home nfs rsize=8192,wsize=8192,hard,nosuid,lock,intr 0 0
>
> Теперь заменил сервер и клиента на ALT 4.0 и при аналогичных настройках
> при монтировании /home получаю сообщение
> mount: mount to NFS server 'server' failed: System Error: Connection
> refused.
>
> Что поменялось-то?
Вроде бы ничего не менялось.
Проверьте запущен ли NFS-сервер.
Проверьте нет ли фаервола.
Попробуйте смонтировать ФС локально.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:14 [Sysadmins] Настройка NFS Denis Kirienko
2007-08-27 13:15 ` Avramenko Andrew
@ 2007-08-27 13:31 ` Michael Shigorin
2007-08-27 13:39 ` Denis Kirienko
2007-08-27 13:34 ` Eugene Ostapets
2007-08-27 13:37 ` sendmeforever
3 siblings, 1 reply; 15+ messages in thread
From: Michael Shigorin @ 2007-08-27 13:31 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On Mon, Aug 27, 2007 at 05:14:28PM +0400, Denis Kirienko wrote:
> mount: mount to NFS server 'server' failed: System Error:
> Connection refused.
> Что поменялось-то?
NFSv4?
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:31 ` Michael Shigorin
@ 2007-08-27 13:39 ` Denis Kirienko
2007-08-27 14:49 ` Michael Shigorin
0 siblings, 1 reply; 15+ messages in thread
From: Denis Kirienko @ 2007-08-27 13:39 UTC (permalink / raw)
To: shigorin, ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
Michael Shigorin пишет:
> On Mon, Aug 27, 2007 at 05:14:28PM +0400, Denis Kirienko wrote:
>> mount: mount to NFS server 'server' failed: System Error:
>> Connection refused.
>> Что поменялось-то?
>
> NFSv4?
А что сделать-то, чтобы работало?
--
Денис
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:39 ` Denis Kirienko
@ 2007-08-27 14:49 ` Michael Shigorin
0 siblings, 0 replies; 15+ messages in thread
From: Michael Shigorin @ 2007-08-27 14:49 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On Mon, Aug 27, 2007 at 05:39:50PM +0400, Denis Kirienko wrote:
> >> mount: mount to NFS server 'server' failed: System Error:
> >> Connection refused.
> >> Что поменялось-то?
> > NFSv4?
> А что сделать-то, чтобы работало?
Толком не помню, но из разницы (могу ошибаться везде!) -- TCP по
умолчанию, плюс что-то по обвязке (надо запускать idmapd, lockd).
Если поднят файрвол -- может иметь смысл опустить на минутку
или сделать дырку для TCP с того хоста, куда забираете, дальше
выяснить netstat -pan, что именно нужно оставить открытым.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:14 [Sysadmins] Настройка NFS Denis Kirienko
2007-08-27 13:15 ` Avramenko Andrew
2007-08-27 13:31 ` Michael Shigorin
@ 2007-08-27 13:34 ` Eugene Ostapets
2007-08-27 13:56 ` Denis Kirienko
` (3 more replies)
2007-08-27 13:37 ` sendmeforever
3 siblings, 4 replies; 15+ messages in thread
From: Eugene Ostapets @ 2007-08-27 13:34 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
27.08.07, Denis Kirienko<dk altlinux.ru> написал(а):
> mount: mount to NFS server 'server' failed: System Error: Connection
> refused.
>
> Что поменялось-то?
Теперь portmap по-умолчанию слушает только localhost :)
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:34 ` Eugene Ostapets
@ 2007-08-27 13:56 ` Denis Kirienko
2007-08-27 14:50 ` Michael Shigorin
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Denis Kirienko @ 2007-08-27 13:56 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
Eugene Ostapets пишет:
> 27.08.07, Denis Kirienko<dk altlinux.ru> написал(а):
>
>> mount: mount to NFS server 'server' failed: System Error: Connection
>> refused.
>>
>> Что поменялось-то?
> Теперь portmap по-умолчанию слушает только localhost :)>
Да, спасибо, именно так оно и оказалось.
--
Денис
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:34 ` Eugene Ostapets
2007-08-27 13:56 ` Denis Kirienko
@ 2007-08-27 14:50 ` Michael Shigorin
2007-08-27 19:26 ` Eugene Prokopiev
2007-08-28 5:24 ` Artem Zolochevskiy
3 siblings, 0 replies; 15+ messages in thread
From: Michael Shigorin @ 2007-08-27 14:50 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On Mon, Aug 27, 2007 at 04:34:28PM +0300, Eugene Ostapets wrote:
> > mount: mount to NFS server 'server' failed: System Error:
> > Connection refused.
> > Что поменялось-то?
> Теперь portmap по-умолчанию слушает только localhost :)
Аблинточно!
$ sudo cat /etc/sysconfig/portmap
Password:
# Parameters for portmap daemon.
# See portmap(8) for more details.
# Specifies additional parameters for portmap.
#PORTMAP_ARGS="-l"
^-- "local" заремарено
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:34 ` Eugene Ostapets
2007-08-27 13:56 ` Denis Kirienko
2007-08-27 14:50 ` Michael Shigorin
@ 2007-08-27 19:26 ` Eugene Prokopiev
2007-08-27 21:00 ` Dmitry V. Levin
2007-08-28 5:24 ` Artem Zolochevskiy
3 siblings, 1 reply; 15+ messages in thread
From: Eugene Prokopiev @ 2007-08-27 19:26 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Eugene Ostapets пишет:
> 27.08.07, Denis Kirienko<dk altlinux.ru> написал(а):
>
>> mount: mount to NFS server 'server' failed: System Error: Connection
>> refused.
>>
>> Что поменялось-то?
> Теперь portmap по-умолчанию слушает только localhost :)
его вообще бы по умолчанию не стартовать (вынести mount не дает :( ), не
всем же нужен nfs ;)
--
С уважением,
Прокопьев Евгений
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 19:26 ` Eugene Prokopiev
@ 2007-08-27 21:00 ` Dmitry V. Levin
0 siblings, 0 replies; 15+ messages in thread
From: Dmitry V. Levin @ 2007-08-27 21:00 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
On Mon, Aug 27, 2007 at 11:26:35PM +0400, Eugene Prokopiev wrote:
> Eugene Ostapets пишет:
> > 27.08.07, Denis Kirienko<dk altlinux.ru> написал(а):
> >
> >> mount: mount to NFS server 'server' failed: System Error: Connection
> >> refused.
> >>
> >> Что поменялось-то?
> > Теперь portmap по-умолчанию слушает только localhost :)
>
> его вообще бы по умолчанию не стартовать (вынести mount не дает :( ), не
> всем же нужен nfs ;)
$ fgrep -w chkconfig /etc/init.d/portmap
# chkconfig: - 13 87
В 4.0/Server installer делает "chkconfig portmap on", но если вы
устанавливаете пакет portmap самостоятельно, то стартовать portmap по
умолчанию не будет.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:34 ` Eugene Ostapets
` (2 preceding siblings ...)
2007-08-27 19:26 ` Eugene Prokopiev
@ 2007-08-28 5:24 ` Artem Zolochevskiy
2007-08-28 7:19 ` Dmitry V. Levin
3 siblings, 1 reply; 15+ messages in thread
From: Artem Zolochevskiy @ 2007-08-28 5:24 UTC (permalink / raw)
To: sysadmins
Eugene Ostapets wrote:
> 27.08.07, Denis Kirienko<dk altlinux.ru> написал(а):
>
>> mount: mount to NFS server 'server' failed: System Error: Connection
>> refused.
>>
>> Что поменялось-то?
> Теперь portmap по-умолчанию слушает только localhost :)
>
кстати man portmap про ключик -l ничего не знает.
--
Artem Zolochevskiy
Kaliningrad, Russia
JID: az@jabber.org
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] Настройка NFS
2007-08-27 13:14 [Sysadmins] Настройка NFS Denis Kirienko
` (2 preceding siblings ...)
2007-08-27 13:34 ` Eugene Ostapets
@ 2007-08-27 13:37 ` sendmeforever
2007-08-27 13:54 ` Denis Kirienko
3 siblings, 1 reply; 15+ messages in thread
From: sendmeforever @ 2007-08-27 13:37 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Понедельник 27 августа 2007 Denis Kirienko написал(a):
> Добрый день!
>
> Что-то не пойму, как нынче полагается настраивать NFS, чтобы /home был у
> всех одинаковый.
>
> Раньше (в этоху ALM2.4/Compact3.0) делал так:
>
> /etc/exports на сервере
> /home 192.168.4.1/24(rw,async)
>
> /etc/fstab на клиенте
> server:/home /home nfs rsize=8192,wsize=8192,hard,nosuid,lock,intr 0 0
>
> Теперь заменил сервер и клиента на ALT 4.0 и при аналогичных настройках
> при монтировании /home получаю сообщение
> mount: mount to NFS server 'server' failed: System Error: Connection
> refused.
>
> Что поменялось-то?
>
> --
> Денис
в /etc/sysconfig/portmap
PORTMAP_ARGS="-l"
слушает он локалхост только :)
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2007-08-28 7:19 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27 13:14 [Sysadmins] Настройка NFS Denis Kirienko
2007-08-27 13:15 ` Avramenko Andrew
2007-08-27 13:38 ` Denis Kirienko
2007-08-27 13:31 ` Michael Shigorin
2007-08-27 13:39 ` Denis Kirienko
2007-08-27 14:49 ` Michael Shigorin
2007-08-27 13:34 ` Eugene Ostapets
2007-08-27 13:56 ` Denis Kirienko
2007-08-27 14:50 ` Michael Shigorin
2007-08-27 19:26 ` Eugene Prokopiev
2007-08-27 21:00 ` Dmitry V. Levin
2007-08-28 5:24 ` Artem Zolochevskiy
2007-08-28 7:19 ` Dmitry V. Levin
2007-08-27 13:37 ` sendmeforever
2007-08-27 13:54 ` Denis Kirienko
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git