ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Разное поведение nfs-серверов
@ 2008-06-12 15:17 Michael A. Kangin
  2008-06-12 21:25 ` Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael A. Kangin @ 2008-06-12 15:17 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Добрый день.

Имеем два сервера:
1: srv1, бранч 4.1, 2.6.24-std-def-alt9, nfs-server-1.1.2-alt1
2: srv2, ALM2.4, 2.4.26-std-up-alt12, nfs-server-1.0.6-alt3

На каждом из них лежит директория с парой файлов устройств, которая 
экспортируется так:
# cat /etc/exports
/test   192.168.0.0/255.255.0.0(ro,no_root_squash)

Содержимое её: 
$ ls -l /test/dev/
total 0
crw------- 1 root root 5, 1 May 29 18:39 console
crw-rw-rw- 1 root root 1, 3 May 29 18:37 null
crw-rw-rw- 1 root root 1, 9 May 29 18:39 urandom

Монтируем с рабочей станции:
# mount -t nfs srv1:/test /mnt/nfs
Пробуем послать что-нибудь в файл устройства:
# echo blablabla > /mnt/nfs/dev/null
# echo $?
0
# umount /mnt/nfs

Однако же:
# mount -t nfs srv2:/test /mnt/nfs
# echo blablabla > /mnt/nfs/dev/null
bash: nfs/dev/null: Permission denied

Из-за чего такая разница в поведении серверов?
Нормально ли это?
Можно ли это как-то устранить без переезда на новую ОС?

Собственно, посвящается вот этому:
http://lists.altlinux.org/pipermail/ltsp-server/2008-March/000427.html

-- 
wbr, Michael A. Kangin

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

* Re: [Comm] Разное поведение nfs-серверов
  2008-06-12 15:17 [Comm] Разное поведение nfs-серверов Michael A. Kangin
@ 2008-06-12 21:25 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2008-06-12 21:25 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Thu, Jun 12, 2008 at 07:17:42PM +0400, Michael A. Kangin wrote:
> Можно ли это как-то устранить без переезда на новую ОС?

Вообще говоря, можно переезд таки устроить, ALM2.4 запихать 
в контейнер, если там всё уже так накручено, что трогать страшно
(или некогда), а LTSP -- в соседний.

Если бэкпорта unfs3 не хватает, конечно...

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2008-06-12 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-12 15:17 [Comm] Разное поведение nfs-серверов Michael A. Kangin
2008-06-12 21:25 ` Michael Shigorin

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