|
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 и монтировать отдельно. Hа самом деле внимательное прочтение 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) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/1555065891ecd.html, оценка из 5, голосов 10
|