Re: [lustre-discuss] root squash config not working anymore

2023-06-05 Thread Laura Hild via lustre-discuss
Good morning, Jane-

I want to say when my group has had this problem, the most reliable fix has 
been to unmount the MDT, lustre_rmmod, remount the MDT, and conf_param again 
(which unfortunately, as you no doubt recognize, results in a brief, but 
significant, interruption in availability).

-Laura


___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] root squash config not working anymore

2023-05-26 Thread Jane Liu via lustre-discuss

Hi,

We are facing an issue with root squash in our Lustre file system. It 
used to work perfectly, but recently, it stopped taking effect. I've 
been trying to have root access on our MDS server to access the Lustre 
file system, but none of the configurations I've tried seem to work 
anymore.


Here are the settings I've tried so far:

   (1) mdt.myfs01-MDT.root_squash=0:0

   (2) mdt.myfs01-MDT.nosquash_nids=20.42.34.79@tcp
mdt.myfs01-MDT.root_squash=99:99

   (3) mdt.myfs01-MDT.root_squash=0:0
mdt.myfs01-MDT.nosquash_nids=20.42.34.79@tcp

Despite all these attempts, I still face a 'Permission denied' error 
when trying to create a regular file in lustre using root account.


Here is an example:

[root@myfsmds01 /]# mount -t lustre 20.42.34.79@tcp:/myfs01 /mnt/
[root@myfsmds01 /]# lctl get_param mdt.*.*squa*
mdt.myfs01-MDT.nosquash_nids=20.42.34.79@tcp
mdt.myfs01-MDT.root_squash=0:0
[root@myfsmds01 /]# cd /mnt
[root@myfsmds01 mnt]# mv /tmp/aaa /tmp/test.dat
[root@myfsmds01 mnt]# cp /tmp/test.dat ./test18
cp: cannot create regular file './test18': Permission denied

[root@myfsmds01 mnt]# sestatus
SELinux status: disabled

This issue started recently, and I haven't made any significant changes 
to the system. Are there any known problems with root squash that I 
might have missed?


Thanks in advance,
Jane
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org