{"id":1016,"date":"2011-01-10T11:06:00","date_gmt":"2011-01-10T09:06:00","guid":{"rendered":"http:\/\/www.ora-solutions.net\/web\/?p=1016"},"modified":"2011-01-10T11:26:11","modified_gmt":"2011-01-10T09:26:11","slug":"acfs-filesystem-monitoring-and-group-ownership","status":"publish","type":"post","link":"https:\/\/www.ora-solutions.net\/web\/2011\/01\/10\/acfs-filesystem-monitoring-and-group-ownership\/","title":{"rendered":"ACFS Filesystem Monitoring and Group Ownership"},"content":{"rendered":"<p>When you create an ACFS Filesystem in Grid Infrastructure 11.2.0.1 or 11.2.0.2, the filesystem root directory group ownership is set to Group SS_ASM_GRP, e.g. asmadmin.<\/p>\n<pre lang=\"bash\" line=\"1\">\r\n[grid@md1 ~]$ cd \/opt\/oracle\/gridbase\/acfsmounts\r\n[grid@md1 acfsmounts]$ ls -al\r\ntotal 12\r\ndrwxr-xr-x  3 grid oinstall 4096 Jan 10 09:44 .\r\ndrwxr-xr-x 10 grid oinstall 4096 Jan 10 09:43 ..\r\ndrwxrwx---  4 root   asmadm 4096 Jan 10 09:44 data_testvol\r\n\r\nSQL> select * from v$asm_filesystem where fs_name = '\/opt\/oracle\/gridbase\/acfsmounts\/data_testvol'\r\n\r\nFS_NAME                                        AVAILABLE BLOCK_SIZE STATE         CORRU    NUM_VOL TOTAL_SIZE TOTAL_FREE TOTAL_SNAP_SPACE_USAGE\r\n---------------------------------------------- --------- ---------- ------------- ----- ---------- ---------- ---------- ----------------------\r\n\/opt\/oracle\/gridbase\/acfsmounts\/data_testvol   10-JAN-11          4 AVAILABLE     FALSE          1        256 119.769531                      0\r\n<\/pre>\n<p>If &#8211; for whatever reason &#8211; you change the group ownership from asmadm to a different group, ASM can not populate the views v$asm_filesystem and v$asm_acfsvolumes which in turn means that you can not monitor the filesystem with Oracle Enterprise Manager Grid Control because it uses those 2 views for monitoring.<\/p>\n<pre lang=\"bash\" line=\"1\">\r\n[root@md1 data_testvol]# chgrp myapp .\r\n[root@md1 data_testvol]# ls -la\r\ntotal 80\r\ndrwxrwx--- 4 root   myapp     4096 Jan 10 09:45 .\r\ndrwxr-xr-x 3 grid   oinstall  4096 Jan 10 09:44 ..\r\ndrwxr-xr-x 5 root   root      4096 Jan 10 09:44 .ACFS\r\n-rw-r--r-- 1 root   asmadm     610 Jan 10 09:45 .fslimit\r\ndrwx------ 2 root   root     65536 Jan 10 09:44 lost+found\r\n\r\n\r\nSQL> select * from v$asm_filesystem where fs_name = '\/opt\/oracle\/gridbase\/acfsmounts\/data_testvol'\r\n  2  ;\r\n\r\nno rows selected\r\n<\/pre>\n<p>From my point of view, this is a severe limitation. ACFS Filesystems, should like any other filesystem, be able to allow any user\/group ownership and still be able to monitor it. However, I could not convince my oracle support engineer to see it the same way&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you create an ACFS Filesystem in Grid Infrastructure 11.2.0.1 or 11.2.0.2, the filesystem root directory group ownership is set to Group SS_ASM_GRP, e.g. asmadmin. [grid@md1 ~]$ cd \/opt\/oracle\/gridbase\/acfsmounts [grid@md1 acfsmounts]$ ls -al total 12 drwxr-xr-x 3 grid oinstall 4096 Jan 10 09:44 . drwxr-xr-x 10 grid oinstall 4096 Jan 10 09:43 .. drwxrwx&#8212; 4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57,44,5,6,12],"tags":[],"class_list":["post-1016","post","type-post","status-publish","format-standard","hentry","category-11gr2","category-linux-unix-2","category-oracle-database","category-oracle-enterprise-manager","category-unix"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts\/1016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/comments?post=1016"}],"version-history":[{"count":7,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts\/1016\/revisions"}],"predecessor-version":[{"id":1023,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts\/1016\/revisions\/1023"}],"wp:attachment":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/media?parent=1016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/categories?post=1016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/tags?post=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}