public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* problem with nfsmount.conf
@ 2025-01-02 20:32 Charles Hedrick
  2025-01-02 22:43 ` Scott Mayhew
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Hedrick @ 2025-01-02 20:32 UTC (permalink / raw)
  To: linux-nfs@vger.kernel.org

Is this the right place for nfs-utils?

/etc/nfsmount.conf if you have a global section and multiple servers, vers= only works for some servers (the last?) I'm unable to find the exact algorithm.

I've replicated this with Ubuntu 22.04, 24.04, and Redhat 9.5. It also occurs with the latest source (2.8.2) built on Ubuntu 24.04.

[ NFSMount_Global_Options ]
vers=3
rsize=65536
wsize=393216
[ Server "communis.lcsr.rutgers.edu" ]
vers=4.2
[ Server "eternal.lcsr.rutgers.edu" ]
vers=4.2

mount communis.lcsr.rutgers.edu:/xxx /mnt

will mount version 3.  Eternal will mount version 4.2

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

* Re: problem with nfsmount.conf
  2025-01-02 20:32 problem with nfsmount.conf Charles Hedrick
@ 2025-01-02 22:43 ` Scott Mayhew
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Mayhew @ 2025-01-02 22:43 UTC (permalink / raw)
  To: Charles Hedrick; +Cc: linux-nfs@vger.kernel.org

Hi Charles,

On Thu, 02 Jan 2025, Charles Hedrick wrote:

> Is this the right place for nfs-utils?
> 
> /etc/nfsmount.conf if you have a global section and multiple servers, vers= only works for some servers (the last?) I'm unable to find the exact algorithm.
> 
> I've replicated this with Ubuntu 22.04, 24.04, and Redhat 9.5. It also occurs with the latest source (2.8.2) built on Ubuntu 24.04.
> 
> [ NFSMount_Global_Options ]
> vers=3
> rsize=65536
> wsize=393216
> [ Server "communis.lcsr.rutgers.edu" ]
> vers=4.2
> [ Server "eternal.lcsr.rutgers.edu" ]
> vers=4.2
> 
> mount communis.lcsr.rutgers.edu:/xxx /mnt
> 
> will mount version 3.  Eternal will mount version 4.2
> 
Can you test the patch I just sent to the list ("conffile: add 'arg'
argument to conf_remove_now()").

-Scott


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

end of thread, other threads:[~2025-01-02 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 20:32 problem with nfsmount.conf Charles Hedrick
2025-01-02 22:43 ` Scott Mayhew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox