Are you running RHEL 5.4 64bit by any chance?
Originally Posted by ple
While Adding the zimbra user to the disk group on the 32bit test box was the sufficient solution, the same didn't work on the 64bit production box.
Bare in mind that I'm not sure this is the proper way to fix this issue, but it seems that this is the only script "zmdisklog" run via crontab that gets the "Permission denied" error trying to run df against the /dev/mapper/VolGroup00-LogVol0** entry after the RHEL 5.4 update.
Anyway, here is what I did as a quick fix to resolve it:
1- Add a line in sudo (via visudo) for the "zimbra" user as follows:
2- Modify the zimbra crontab to add the sudo command to the zmdisklog line:
*/10 * * * * sudo /opt/zimbra/libexec/zmdisklog
# You should test the command above by hand as the zimbra user before modifying the crontab to make sure it works the way it should.
## The examples here assume that you have your software installed under the default /opt/zimbra path