View previous topic :: View next topic |
Author |
Message |
Myu Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1840083684566b483df2f9c.jpg)
Joined: 22 Oct 2014 Posts: 164 Location: Belgium
|
Posted: Sat May 18, 2019 2:20 pm Post subject: Kernel 5.1.x breaks NFS ? |
|
|
Hello fine folks,
So I updated my kernel from 5.0.16 to 5.1.3, putting all new config at "not set" and booting the 5.1.3 kernel, I can still mount my NFS drive but if I try to read it with ls(1), I have an Input/Output error.
Strangely, I can cd(1) to subfolders but ls(1) still behaves the same.
My NFS fileserver is running NFSv3 on DragonFlyBSD 5.4.2, it still works fine with 5.0.16.
Anyone with the same issue or any pointers to debug this behavior ?
Cheers,
-- Myu _________________ Gentoo stable with bits of ~amd64 // Xfce 4.13 + Compiz Reloaded. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3498
|
Posted: Sat May 18, 2019 7:17 pm Post subject: |
|
|
Permissions issue?
Like in: are you allowed to read this directory? it can produce bizzare results...
Perhaps your user mapping has changed, so you no longer connect as the user you think you connect.. NFS uses numeric uids on both ends, and there was some translation daemon added... Accidentally flipping the switch on or off could be confusing. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Myu Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1840083684566b483df2f9c.jpg)
Joined: 22 Oct 2014 Posts: 164 Location: Belgium
|
Posted: Mon May 20, 2019 8:29 am Post subject: |
|
|
Thanks for the reply guys !
Quote: |
Permissions issue?
Like in: are you allowed to read this directory? it can produce bizzare results... |
I am able to read the directory on 5.0.x and I didn't change my permissions.
Quote: | Perhaps your user mapping has changed, so you no longer connect as the user you think you connect.. |
I doubt it, if I go back to 5.0.x, I can use it just fine
Quote: | NFS uses numeric uids on both ends, and there was some translation daemon added... |
A translation deamon has been added in 5.1.x ? I would be interested to know more about it if you have any pointers
Quote: | Accidentally flipping the switch on or off could be confusing. |
Which switch in this case ?
Cheers,
-- Myu _________________ Gentoo stable with bits of ~amd64 // Xfce 4.13 + Compiz Reloaded. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3498
|
Posted: Mon May 20, 2019 6:33 pm Post subject: |
|
|
Q: How do you know you've had enough for tonight?
A: Your fork only has a single tooth, but it came with 4 handles!
I'm really impressed with your interpretation. My point was supposed to be _handled_ the other way around
Quote: | I am able to read the directory on 5.0.x | You said you can't ls that directory over NFS. Reading directories is pretty much the only thing ls does. Cd does not read directories. It simply enters them. The former needs r permission, the latter needs x. In case of directories, both bits are independent of each other.
Deamon translating UIDs on the client to UIDs on the server was added much earlier. I think it was around the same time NFS4 came out, though those 2 things were mostly unrelated. The intended purpose was to replace matching users on numeric IDs with matching users on names. If you have any differences in /etc/passwd between systems, you can run into some weird problems when enabling or disabling this feature.
Anyway... NFS doesn't log much by default. Try enabling debug log and then messing around with your client. Maybe it would simply tell you what's the problem? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|