当前位置:网站首页>chown: changing ownership of ‘/var/lib/mysql/‘: Operation not permitted

chown: changing ownership of ‘/var/lib/mysql/‘: Operation not permitted

2022-07-25 23:22:00 Igloos

Problem analysis
Because of the adoption of kubesphere Deploy Mysql, Persistent storage uses nfs, According to the error notification , No authority .
Troubleshoot problems
1. Check whether the permission setting is correct
 Insert picture description here
2. Check nfs Set the permissions
 Insert picture description here

rw                #  The client can read and write the shared directory 
ro                #  The client is read-only and cannot write to the shared directory 
sync              #  Synchronous mode , That is to write the data in memory to the hard disk in real time , But this will reduce disk efficiency 
async             #  Asynchronous mode , That is, the data in the memory will be written to the hard disk every other period of time , Ensure disk efficiency , But when it goes down abnormally / When the power is off , Will lose data in memory 
no_root_squash    #  Client mount NFS After sharing the directory , On the client side root Users are not limited by these mount options , A lot of authority 
root_squash       #  Follow no_root_squash contrary &
原网站

版权声明
本文为[Igloos]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/206/202207252316453175.html