Re: BUG in exports(5), no example for refer= Re: Examples for refer= in /etc/exports?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Nov 9, 2023, at 7:05 PM, Cedric Blancher <cedric.blancher@xxxxxxxxx> wrote:
> 
> On Thu, 2 Nov 2023 at 10:51, Cedric Blancher <cedric.blancher@xxxxxxxxx> wrote:
>> 
>> Good morning!
>> 
>> Does anyone have examples of how to use the refer= option in /etc/exports?
> 
> Short answer:
> To redirect an NFS mount from local machine /ref/baguette to
> /export/home/baguette on host 134.49.22.111 add this to Linux
> /etc/exports:
> 
> /ref *(no_root_squash,refer=/export/home@134.49.22.111)
> 
> This is basically an exports(5) manpage bug, which does not provide
> ANY examples.

That's because setting up a referral this way is deprecated. The
preferred way to do it is to use nfsref(8).


> Plus, /ref must not be a dir controlled by the automounter, or a Linux
> 6.6 kernel will panic

Can you open a bug report at bugzilla.linux-nfs.org <http://bugzilla.linux-nfs.org/> (product "kernel"
component "server") and provide the details of the panic?


--
Chuck Lever






[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux