Continuing with my experiences with Oracle 11gR2 and Solaris 11, i came up with some "small" doubts regarding the permissions and owners of the devices to be used as ASM diskgroups. I was able to install Grid and the database, both 184.108.40.206.0, in a single-instance configuration, but i had a small issue when creatind the diskgroup for the database data (+DATA). I created 3 devices (VirtualBox) to be used in the +DATA dg, and gave the the "oracle:dba" owner, with the permission 660. My doubts are:
1) It wouldn't be more correct to make the owner of the device the user grid? (grid:dba)
2) The permission 660 to the devices is the correct, or recommended permission? It did work with this permission.
Thanks in advance.
If you are asking who should be :
Default user to own the driver interface ? ( oracle )
Default group to own the driver interface ? ( dba )
chown oracle:dba /dev/raw/raw2; chmod 660 /dev/raw/raw2
( so the 660 is OK )
It depends on the user and group that runs the ASM instance. It can be oracle/dba, but can also be a different user, e.g. grid/asmadmin
660 means rw. That should be ok. No other user/group than the ASM instance needs to access the devices.