ACFS Changes Mount Point Permission On Filesystem During The Reboot Or Remount
(Doc ID 1239953.1)
Last updated on FEBRUARY 18, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.1 [Release 11.2]Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
x86 64 bit
Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opteron Architecture)
Symptoms
1) Install Oracle Grid Infrastructure 11.2.0.1.0 on Linux. Processor architecture (x86, x86-64) is irrelevant. Make sure 'Cluster Installation', not 'Standalone' is selected during installation. For the sake of clarity, let us assume that the OS user who invoked runInstaller, is called grid. Unless explicitly specified, all other actions are made with this OS user rights.
2) Configure ASM whatever way necessary. Create a single diskgroup called DATA.
3) Ensure that diskgroup's attirbute 'compatible.asm' is set to '11.2' (run in sqlplus):
4) Create a single acfs volume called TESTVOL:
5) Format the future filesystem (you'll need to check exact device name):
6) Create CRS resource for the future filesystem:
7) Create the mountpoint (root privileges are possibly needed):
8) Mount acfs filesystem:
Sample Output:
CRS-2672: Attempting to start 'ora.data.testvol.acfs' on 'rac1'
CRS-2676: Start of 'ora.data.testvol.acfs' on 'rac1' succeeded
9) Observe mountpoint permissions:
Sample Output:
drwxrwx--- 4 root asm 4096 Feb 12 17:29 testvol
10) Change mountpoint permissions (root privileges again):
Sample Output:
# ls -la /srv | grep testvol
drwxr-xr-x 4 root asm 4096 Feb 12 17:29 testvol
11) Remount filesystem:
$> crsctl start resource ora.data.testvol.acfs
Sample Output:
CRS-2673: Attempting to stop 'ora.data.testvol.acfs' on 'rac1'
CRS-2677: Stop of 'ora.data.testvol.acfs' on 'rac1' succeeded
$> crsctl start resource ora.data.testvol.acfs
CRS-2672: Attempting to start 'ora.data.testvol.acfs' on 'rac1'
CRS-2676: Start of 'ora.data.testvol.acfs' on 'rac1' succeeded
12) Observe mountpoint permissions again:
Notice that it is reset to 770.
Sample Output:
drwxrwx--- 4 root asm 4096 Feb 12 17:29 testvol
13) Unmount the filesystem:
Sample Output:
CRS-2673: Attempting to stop 'ora.data.testvol.acfs' on 'rac1'
CRS-2677: Stop of 'ora.data.testvol.acfs' on 'rac1' succeeded
14) Mount the filesystem again, but manually this time (root privileges):
Sample Output:
15) Change filesystem permissions and remount (root privileges):
# chmod 755 /srv/testvol
# umount /srv/testvol
# mount -t acfs /dev/asm/testvol-209 /srv/testvol
Sample Output:
# umount /srv/testvol
# mount -t acfs /dev/asm/testvol-209 /srv/testvol
16) Observe mountpoint permissions and notice that they persist across remount:
Sample Output:
drwxr-xr-x 4 root asm 4096 Feb 12 17:29 testvol
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |