Score:1

Mount multiple NFS subdirs with differents options

ug flag

The following setup:

ip_address:/maindir/subdir001 /mnt/test001 nfs soft,nfsvers=3,timeo=50,retrans=2 0 2
ip_address:/maindir/subdir002 /mnt/test002 nfs soft 0 2
ip_address:/maindir/subdir003 /mnt/test003 nfs hard 0 2

Mounting these directories, I would expect the output of mount to show each got their own options. Instead, all 3 get the options of the first one mounted.

How can I change this? Preferably without editing the export options on the NFS server.

Dźwiedziu avatar
cn flag
This may answer your problem: https://superuser.com/a/894907
Score:1
de flag

Despite the fact that that you mount the server several times, the NFS internally created only once (once per server). Thus, only option of the first mount are used.

If you really need different options, thes you should assign multiple IP addresses to the server. This, however, will work only with nfs v3, as v4 has on protocol level server equality detection.

ug flag
Looks like this, and the comment about subtree checking are how it is. So really an issue on the NFS server itself.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.