ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Led <led@ukr-fin.com.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] NFS
Date: Tue, 12 Dec 2006 10:52:51 +0200
Message-ID: <200612121052.52015.led@ukr-fin.com.ua> (raw)
In-Reply-To: <200612112317.29362.iadzhubey@rics.bwh.harvard.edu>

В сообщении от 12 декабря 2006 06:17 Ivan Adzhubey написал(a):
> On Monday 11 December 2006 11:32, Led wrote:
> > В сообщении от 8 декабря 2006 21:11 Sergey Bolshakov написал(a):
> > > >>>>> "Led" == Led  <led-Mtd8nIT9sJrzHCZZHnFgRw@public.gmane.org>
> > > >>>>> writes:
> > >
> > > [skipped]
> > >
> > >  >> Вероятно, дело в файрволе. mount нынче, как заметил ldv, не
> > >  >> стремится использовать src port < 1024.
> > >  >
> > >  > Даже если указывать явное значение mountport/port при монтировании?
> > >  > Также заметил, что по-умолчанию теперь для nfs используется TCP
> > >  > (AFAIK до этого был UDP) - хотя, может я и ошибаюсь.
> > >
> > > mountport -- это dst port, c т.з. клиента, я же говорю о src --
> > > вот он и был раньше < 1024, на каковом основании некоторые
> > > изряднопараноидальные (комплимент) администраторы считали
> > > небессмысленным рубить всё с src port выше 1024 в сторону rpc.mountd.
> > > tcp по дефолту возник несколькими сборками ранее.
> >
> > Похоже так и было: после того, как на сервере были разрешены порты выше
> > 1024 - всё заработало. Спасибо - это всё, что я хотел узнать:)
>
> Вообще на своем сервере под RH8 я эту проблему решил так:
>
> # cat /etc/sysconfig/nfs
> # Pin mountd to a given port rather than random one from portmapper
> MOUNTD_PORT=4002
> # Set fixed ports for lockd
> LOCKD_TCPPORT=4001
> LOCKD_UDPPORT=4001
> # Set fixed port for statd
> STATD_PORT=4000
>
> После чего достаточно открыть на сервере порты 111 и 4000-4002 для
> клиентов.

Я об этом и говорил, что открыть пришлось на сервере (который далеко не 
Sisyphus) порты выше 1024:)

> Интересно, на Сизифе это сработает? У нас /etc/sysconfig/nfs 
> используется?

Ну, вообще-то:
$ rpm -qf /etc/sysconfig/nfs
nfs-clients-1.0.10-alt2

Так что, по логике, должно сработать.

-- 
Led.


  reply	other threads:[~2006-12-12  8:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 13:49 Led
2006-12-08 15:11 ` Sergey Bolshakov
2006-12-08 16:31   ` Michael Shigorin
2006-12-08 17:49   ` Led
2006-12-08 18:04     ` Led
2006-12-08 18:19       ` Michael Shigorin
2006-12-08 18:44         ` Led
2006-12-08 19:03           ` Sergey Bolshakov
2006-12-08 19:11             ` Led
2006-12-08 20:51         ` Slava Dubrovskiy
2006-12-08 21:06           ` Sergey Bolshakov
2006-12-09  1:02         ` Vitaly Lipatov
2006-12-08 18:31       ` Sergey Bolshakov
2006-12-08 18:41         ` Led
2006-12-08 19:11           ` Sergey Bolshakov
2006-12-11 16:32             ` Led
2006-12-12  4:17               ` Ivan Adzhubey
2006-12-12  8:52                 ` Led [this message]
2006-12-12 17:26                   ` Ivan Adzhubey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200612121052.52015.led@ukr-fin.com.ua \
    --to=led@ukr-fin.com.ua \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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