Score:-1

Permission denied when trying to mount nfs on Ubuntu 22.01

cn flag

My servers are all on Ubuntu 20.04 except one that I have migrated to 22.04 as a test. I encountered a problem mounting a shared scratch disk that is part of my backend network.

The answers here did not work, all related to nfs version issues.

In addition to those suggesetions, I checked and double checked that the shared drive was exported and the fstab was correctly setup.

Of course the nfs versions are different, but the all services are started, enabled, and support the same subset of nfs protocols.

ANy Ideas?

Score:0
cn flag

It looks like the answer is in a difference between what syntax 20.04 and 22.04 support for the export statment in /etc/exports

In my existing setup I have

/mnt/toexport 123.45.67.*(rw,sync,no_subtree_check)

Maybe this is bad form for specifying the entire IP range? To get the permissions set correctly, I needed the following in 22.04

/mnt/toexport 123.45.67.0/24(rw,sync,no_subtree_check)

note that running

sudo exportfs -avr

did not complain with the old (apparently broken) syntax.

I sit in a Tesla and translated this thread with Ai:

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.