Thursday, September 3, 2015

CRS-4995: The command ‘Modify resource’ is invalid in crsctl. Use srvctl for this command

CRS-4995: The command ‘Modify resource’ is invalid in crsctl. Use srvctl for this command


 I encountered above error message when I was trying to modify ACL of an ASM cluster file system created on volume VOL1 in DATA diskgroup as follows:
[root@host01 ~]# crsctl modify resource ora.data.vol1.acfs -attr "ACL='owner:root:rwx,pgrp:dba:rwx,other::r--'"

CRS-4995: The command 'Modify resource' is invalid in crsctl. Use srvctl for this command.
I resolved the above problem by using the unsupported flag as follows:
[root@host01 ~]# crsctl modify resource ora.data.vol1.acfs -attr "ACL='owner:root:rwx,pgrp:dba:rwx,other::r--'" -unsupported

No comments: