You are not logged in.

#1 2020-12-29 22:52:57

Rommy
Member
Registered: 2014-10-17
Posts: 31

[SOLVED] Server: changed reserved uid/git, change without reboot

Hello,

I have a server which I cannot reboot at the moment. I changed the gid/uid which is allowed to use the reserved blocks on an ext4 partition.
Remounting the partition does not change the uid/gid the kernel uses. Is there an option to tell the kernel that I changed the values without umounting the partition.

Last edited by Rommy (2020-12-30 23:48:38)

Offline

#2 2020-12-30 08:03:20

seth
Member
Registered: 2012-09-03
Posts: 19,029

Re: [SOLVED] Server: changed reserved uid/git, change without reboot

Remounting the partition does not change the uid/gid the kernel uses.

What does that mean?
Are updated resgid/resuid reflected in the output of "mount"?
How exactly do you remount the partition and are there any errors (eg. because it's in use…)?

Offline

#3 2020-12-30 23:48:18

Rommy
Member
Registered: 2014-10-17
Posts: 31

Re: [SOLVED] Server: changed reserved uid/git, change without reboot

Thank you so much, your response helped me to fix my issue. (I found the options in the mount output)
I only remounted the partition with `mount -o remount /`. This command does not reread the info when updated with tune2fs. I specified the mount options resuid and resgid and now everything is working without reboot.

Offline

Board footer

Powered by FluxBB