I was trying to copy a directory of files to Gluster via NFS and getting permission denied with Input/Output error
---> root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (0.00)# cp -pr db /mnt/
cp: setting permissions for `/mnt/db/full/pr_bizrate_standby_SMLS.F02-01-22-35.d': Input/output error
cp: setting permissions for `/mnt/db/full/pr_bizrate_standby_logging.F02-02-18-10.b': Input/output error
cp: setting permissions for `/mnt/db/full/pr_bizrate_SMLS.F02-01-22-35.d': Input/output error
cp: setting permissions for `/mnt/db/full/pr_bizrate_standby_master.F02-02-22-00': Input/output error
cp: setting permissions for `/mnt/db/full': Input/output error
cp: setting permissions for `/mnt/db': Input/output error
Checked gluster nfs.log and etc log and bricks looks clean.
The files ends up able to copy over with right permission.
Stack trace the copy and seems like it failed on removexattr
removexattr("/mnt/db", "system.posix_acl_default"...) = -1 EIO (Input/output error)
http://pastie.org/9884810
Any Clue?
Thanks
Peter