Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Oleg Drokin                          2:5020/400     16 Nov 2005  20:30:02
 To : Alex Korchmar
 Subject : Re: NFS и странный глюк с mount --bind
 -------------------------------------------------------------------------------- 
 
 Hello!
 
 Alex Korchmar <hue-moe@so.yandex.ru> wrote:
 
 SK>> Так и должно быть - по nfs экспортируется только один том, а всё что
 SK>> подмнтровано внутри него - нет. Причины такого поведения мне неизвестны
 AK> это основополагающая фича. Причина - где-то в недрах сановской/bsd'шной
 AK> реализации vfs, требующей работы с настоящими inodes.
 AK> nfs экспортирует именно _том_, возможно не от корня - и только один том, 
 AK> причем родные реализации - только один раз.
 AK> Если нужно экспортировать что-то еще - нужно экспортировать это отдельной 
 AK> строкой в exports и монтировать отдельно.
 самом деле внимательное прочтение man exports выявляет вот такую штуку:
 
        nohide This option is based on the option of the same name provided in
               IRIX NFS.  Normally, if a server exports two filesystems one of
               which  is  mounted  on  the other, then the client will have to
               mount both filesystems explicitly to get access to them.  If it
               just  mounts  the parent, it will see an empty directory at the
               place where the other filesystem is mounted.   That  filesystem
               is "hidden".
 
               Setting  the  nohide option on a filesystem causes it not to be
               hidden, and an appropriately authorised client will be able  to
               move  from  the  parent to that filesystem without noticing the
               change.
 
               However, some NFS clients do not cope well with this  situation
               as,  for instance, it is then possible for two files in the one
               apparent filesystem to have the same inode number.
 
               The nohide option is currently only effective  on  single  host
               exports.   It  does not work reliably with netgroup, subnet, or
               wildcard exports.
 
               This option can be very  useful  in  some  situations,  but  it
               should  be  used  with due care, and only after confirming that
               the client system copes with the situation effectively.
 
               The option can be explicitly disabled with hide.
    Это дефолтовый режим для userspace nfsd потому что оно не видит что там
    поднизом этого самого mountpoint (даже если бы оно могло его распознавать).
 
 Bye,
     Oleg
 --- ifmail v.2.15dev5.3
  * Origin: Green's home news server (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 NFS и странный глюк с mount --bind   Alexey Belyaev   16 Nov 2005 03:11:06 
 NFS и странный глюк с mount --bind   Sergey Khvatov   16 Nov 2005 12:33:38 
 Re: NFS и странный глюк с mount --bind   Alex Korchmar   16 Nov 2005 15:44:57 
 Re: NFS и странный глюк с mount --bind   Andrey Melnikoff   16 Nov 2005 19:45:06 
 Re: NFS и странный глюк с mount --bind   Alex Korchmar   16 Nov 2005 19:50:12 
 Re: NFS и странный глюк с mount --bind   Oleg Drokin   16 Nov 2005 20:30:02 
 Re: NFS и странный глюк с mount --bind   Alexey Belyaev   16 Nov 2005 23:40:22 
 Re: NFS и странный глюк с mount --bind   Alex Korchmar   16 Nov 2005 22:25:33 
 Re: NFS и странный глюк с mount --bind   Alexey Belyaev   19 Nov 2005 13:33:12 
Архивное /ru.linux/1555065891ecd.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional