On Mon, Jan 14, 2013 at 12:31:16AM -0500, Asmita Vagyani wrote: > > There should be a setting on the mounted file system that allows the > root userid to do super user operations on the files in the mounted > file system. "no_root_squash". We have checked and this setting is > defined for the exported file system. I guess the question is now, > why is the "no_root_squash" not working. It should allow the root > user to do root operations on the files, but it is still giving us > an error message for the chmod command. It seems that our secondary > storage is implemented with ZFS instead of NFS as documented in the > Cloudstack install. I don't know if there are issues with > no_root_squash and ZFS, might be worth investigating that.
FWIW, I haven't tested ZFS directly with CS. Is your ZFS store exported as NFS to CS? If so - ZFS seems to export these with root_squash enabled. To turn it off there are some instructions here: https://forums.oracle.com/forums/thread.jspa?threadID=1925369 $ zfs set sharenfs=root=hostname tank/filesystem -- Prasanna.,