[Gluster-devel] [FYI]AFR's selfheal maybe failed due to permission problem

LI Daobing lidaobing at gmail.com
Mon Dec 17 07:48:59 UTC 2007


Hello,

AFR's selfheal maybe failed due to permission problem

for example, a file on two node's permission is different, and need
sync. a `lookup' will trigger this.

But if the file's owner is root and you run `ls' with a  normal user.
Then the selfheal will be triggered but posix_chmod will fail because
of the low permission.

so `$ find /mnt/glusterfs -type f -exec head -c 1 {} \; >/dev/null' is
not enough to sync the system, you need to run it as root. :)

If any mistake, please point out, thanks.


Best Regards,
 LI Daobing





More information about the Gluster-devel mailing list