Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[won't be solved] NFS problem after update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Frautoincnam
Apprentice
Apprentice


Joined: 19 May 2017
Posts: 294

PostPosted: Fri Nov 05, 2021 7:45 pm    Post subject: [won't be solved] NFS problem after update Reply with quote

Moderator, you can remove this thread.

Last edited by Frautoincnam on Sat Nov 06, 2021 3:55 am; edited 3 times in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Nov 05, 2021 8:18 pm    Post subject: Reply with quote

I think check about idmap.
You need to edit /etc/idmapd.conf.
A sample
Code:

[General]

Verbosity = 0
Domain = my.domain

[Mapping]

Nobody-User = nobody
Nobody-Group = nobody


And also /etc/conf.d/nfs(client)
Also make sure uid gid are the same in both server and client(s).

Just check permissions in the original /home and the mounted /home
Something like
Code:

ls -lR ~/.mozilla/firefox
ls -lR ~/.cache/mozilla/firefox

_________________
:)
Back to top
View user's profile Send private message
Frautoincnam
Apprentice
Apprentice


Joined: 19 May 2017
Posts: 294

PostPosted: Fri Nov 05, 2021 8:37 pm    Post subject: Reply with quote

...

Last edited by Frautoincnam on Sat Nov 06, 2021 3:54 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Nov 05, 2021 8:52 pm    Post subject: Reply with quote

In the brilliance of your mind
Quote:

But, when I put /home in NFS4, I notice that I have a problem again with the standby, "firefox loses its favorites". To recover them, I have to restore my firefox profile from my nightly backups.


why do you think this is happening?
Where do firefox "favorites" abide?
Maybe in some dir in your nfs4-mounted /home ???
And why you loose them?
Where do they go?
Are they hiding?
Running away from your attitude maybe?
:)
_________________
:)


Last edited by alamahant on Fri Nov 05, 2021 8:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Frautoincnam
Apprentice
Apprentice


Joined: 19 May 2017
Posts: 294

PostPosted: Fri Nov 05, 2021 8:55 pm    Post subject: Reply with quote

@alamahant Please, please, please, do not anwser to my questions, please.
Just ignore me.
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Sat Nov 06, 2021 1:15 am    Post subject: Reply with quote

Frautoincnam wrote:

Maybe my question is very badly asked, I use the Google translator to help me. But I feel that you did not understand my request.
Someone else please?


I think you got the best answer available on the information you supplied. I haven't had a use for nfsv4 for years, but I know it didn't play well with idmap which kept a lot of people on ver="3".

Better way to ask the question would be to include some logs of the failed attempt, perhaps logs of any dmesg and syslog entries of nfsv4 return on resume. Otherwise you can only receive guesses.

alamahant probably didn't deserve to be reported for trying to point you in the right direction. It smells like permissions.

I suspect the real problem will be between your LDAP config and nfsv4 (which would explain v3 working but v4 failing) maybe even as simple as the order they return from suspend if that is exclusively when it occurs. It's been so long since I used/supported windows mounts, I won't be able to help much, but someone else very likely will.

So post some logs and configuration details and see how that works out ;)
Back to top
View user's profile Send private message
Frautoincnam
Apprentice
Apprentice


Joined: 19 May 2017
Posts: 294

PostPosted: Sat Nov 06, 2021 3:43 am    Post subject: Reply with quote

...

Last edited by Frautoincnam on Sat Nov 06, 2021 3:54 am; edited 1 time in total
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Sat Nov 06, 2021 3:46 am    Post subject: Reply with quote

OK then, some savant can fix your problem without seeing a single log.

Bye
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2960
Location: Edge of marsh USA

PostPosted: Sat Nov 06, 2021 4:11 am    Post subject: Reply with quote

@Frautoincnam
I recommend against taking out your frustration on someone who is obviously trying to help. Being rude won't encourage other possible helpers. Follow advice. Provide logs, actual error messages, or at least examples. That will reduce translation problems.

Do you mean that you lose your bookmarks? Or maybe "Firefox Home (Default)?"
This happens only when you return from suspend?
Do you keep Firefox running when you suspend?
Any other Firefox profile issues?
Is only Firefox affected?

It seems to me like a bad long-term plan to mount /home from an NFS server. Any glitch with NFS, the network, or the server, and your system no longer has a working /home.

Is your /home mountpoint empty when not mounted via NFS? Double check that when NOT mounted with ls -la /home. Maybe you have a spurious .mozilla/firefox there.

Did you do an Internet search with "nfsv4 suspend" to look for issues that other people experience? I doubt your problem is unique to Gentoo.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sat Nov 06, 2021 4:08 pm    Post subject: Re: [won't be solved] NFS problem after update Reply with quote

Frautoincnam wrote:
Moderator, you can remove this thread.
I could, but I won't. Generally, it's considered impolite to delete the text of a post solely because you've decided to abandon the thread. At best, it leaves the thread in its current state, where future readers can see the responses that attempted to help you, but without your original report, they cannot judge whether the criticisms in those responses (notably, that three different people pointed out you didn't provide enough information) are fair. Worse, they cannot tell if they have symptoms similar to the ones you reported (and now hid), so they cannot evaluate whether the responses in this thread may be relevant to their problem.

If I had read this thread for the first time today, seeing only the placeholders for your posts, and that three people whose input I respect all criticized the lack of information, I would be strongly inclined to assume they were right. If you had not deleted your post content, I could look at that and evaluate whether their criticism was fair. (In practice, I did read this thread before the edits, and from what I recall, their requests for logs are entirely appropriate.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum