DBA Hub

📋Steps in this guide1/11

Create ACFS File System on RAC

Create ACFS File System on RAC

oracle clusteringintermediate
by OracleDba
13 views
1

Overview

Create ACFS File System on RAC 1. Overview ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1) 2. Environment

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)
Oracle Automatic Storage Management Cluster File System (Oracle ACFS) is a multi-platform, scalable file system, and storage management technology that extends Oracle Automatic Storage Management (Oracle ASM) functionality to support customer files maintained outside of Oracle Database. 

Oracle ACFS supports many database and application files, including executables, database trace files, database alert logs, application reports, BFILEs, and configuration files. Other supported files are video, audio, text, images, engineering drawings, and other general-purpose application file data.

Oracle ACFS
does not
support files for the Oracle Grid Infrastructure home.

Oracle ACFS
does not
support Oracle Cluster Registry (OCR) and voting files.

Oracle ACFS functionality requires that the disk group compatibility attributes for
ASM and ADVM be set to 11.2 or greater.
2

Section 2

2. Environment Nodes : RAC1,RAC2 GI Version : 12.2 RDBMS Version : 12.2 3. Verify ACFS modules

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Nodes			: RAC1,RAC2
GI Version 		: 12.2
RDBMS Version	        : 12.2

[root@
rac1
~]#
lsmod | grep ora
oracleacfs           4616192  0
oracleadvm            782336  0
oracleoks             655360  2 oracleacfs,oracleadvm
oracleasm              65536  1
[root@rac1 ~]#

[root@
rac2
~]#
lsmod | grep ora
oracleacfs           4616192  0
oracleadvm            782336  0
oracleoks             655360  2 oracleacfs,oracleadvm
oracleasm              61440  1
[root@rac2 ~]#
3

Section 3

4. Create ASM Diskgroup PROVISIONED Find ASM physical disk mapping

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
SQL>
set lines 250
set pages 9999
column path format a20

select path, group_number group_#, disk_number disk_#, mount_status,header_status, state, total_mb, free_mb from v$asm_disk order by group_number;
PATH                                        GROUP_#     DISK_# MOUNT_S HEADER_STATU STATE      TOTAL_MB    FREE_MB
---------------------------------------- ---------- ---------- ------- ------------ -------- ---------- ----------
/dev/oracleasm/disks/DISK9
0          0 CLOSED
PROVISIONED
NORMAL            0          0
/dev/oracleasm/disks/DISK8
0          1 CLOSED
PROVISIONED
NORMAL            0          0
/dev/oracleasm/disks/DISK7                        1          1 CACHED  MEMBER       NORMAL         1020        948
/dev/oracleasm/disks/DISK6                        1          0 CACHED  MEMBER       NORMAL         1020        936
/dev/oracleasm/disks/DISK5                        2          4 CACHED  MEMBER       NORMAL         1020        512
/dev/oracleasm/disks/DISK3                        2          2 CACHED  MEMBER       NORMAL         1020        524
/dev/oracleasm/disks/DISK4                        2          3 CACHED  MEMBER       NORMAL         1020        508
/dev/oracleasm/disks/DISK2                        2          1 CACHED  MEMBER       NORMAL         1020        516
/dev/oracleasm/disks/DISK1                        2          0 CACHED  MEMBER       NORMAL         1020        528
/dev/oracleasm/disks/GIMR3                        3          3 CACHED  MEMBER       NORMAL        10236      10144
/dev/oracleasm/disks/GIMR4                        3          2 CACHED  MEMBER       NORMAL        10236      10160
/dev/oracleasm/disks/GIMR1                        3          1 CACHED  MEMBER       NORMAL        10236      10140
/dev/oracleasm/disks/GIMR2                        3          0 CACHED  MEMBER       NORMAL        10236      10116

13 rows selected.

SQL>
Find ASM physical disk mapping
[root@rac1 ~]#
oracleasm querydisk -d DISK8
Disk "DISK8" is a valid ASM disk on device [
8
,
129
]
[root@rac1 ~]#
oracleasm querydisk -d DISK9
Disk "DISK9" is a valid ASM disk on device [
8
,
145
]
[root@rac1 ~]#
ls -l /dev | grep 8, | grep 129
brw-rw----. 1 root disk       8, 129 Sep 21 14:31
sdi1 <---
[root@rac1 ~]#
[root@rac1 ~]#
ls -l /dev | grep 8, | grep 145
brw-rw----. 1 root disk       8, 145 Sep 21 14:31
sdj1 <---
[root@rac1 ~]#
[OR]
[root@rac1 ~]# oracleasm querydisk -p DISK8 | head -2 | grep /dev | awk -F: '{print $1}'
/dev/sdi1
[root@rac1 ~]#
[root@rac1 ~]# oracleasm querydisk -p DISK9 | head -2 | grep /dev | awk -F: '{print $1}'
/dev/sdj1
[root@rac1 ~]#
[OR]
#!/bin/bash
echo "ASM Disk Mappings"
echo "----------------------------------------------------"
for f in `oracleasm listdisks`
do
dp=`oracleasm querydisk -p  $f | head -2 | grep /dev | awk -F: '{print $1}'`
echo "$f: $dp"
done
[OR]
[root@rac1 ~]# oracleasm querydisk -p DISK8
Disk "DISK8" is a valid ASM disk
/dev/sdi1: LABEL="DISK8" TYPE="oracleasm"
[root@rac1 ~]#
[root@rac1 ~]# oracleasm querydisk -p DISK9
Disk "DISK9" is a valid ASM disk
/dev/sdj1: LABEL="DISK9" TYPE="oracleasm"
[root@rac1 ~]#

[root@rac1 ~]# fdisk -l /dev/sdi1

Disk /dev/sdi1: 1072 MB, 1072693248 bytes, 2095104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@rac1 ~]#
[root@rac1 ~]# fdisk -l /dev/sdj1

Disk /dev/sdj1: 1072 MB, 1072693248 bytes, 2095104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@rac1 ~]#

SQL>
SELECT NAME,VALUE,GROUP_NUMBER FROM v$asm_attribute where name like '%com%';
NAME                           VALUE      GROUP_NUMBER
------------------------------ ---------- ------------
compatible.asm                 12.2.0.1.0            1
compatible.rdbms               10.1.0.0.0            1
compatible.advm                12.2.0.1.0            1
compatible.asm                 12.2.0.1.0            2
compatible.rdbms               10.1.0.0.0            2
compatible.advm                12.2.0.1.0            2
compatible.asm                 12.2.0.1.0            3
compatible.rdbms               10.1.0.0.0            3
compatible.advm                12.2.0.1.0            3

9 rows selected.

SQL>

SQL>
CREATE DISKGROUP ACFSDG EXTERNAL REDUNDANCY DISK '/dev/oracleasm/disks/DISK8','/dev/oracleasm/disks/DISK9'
ATTRIBUTE 'compatible.asm' = '12.2.0.1.0',
'compatible.rdbms'='10.1.0.0.0' ,
'compatible.advm' = '12.2.0.1.0';
Diskgroup created.

SQL>

SQL>
SELECT NAME,VALUE,GROUP_NUMBER FROM v$asm_attribute where name like '%com%';
NAME                           VALUE      GROUP_NUMBER
------------------------------ ---------- ------------
compatible.asm                 12.2.0.1.0            1
compatible.rdbms               10.1.0.0.0            1
compatible.advm                12.2.0.1.0            1

compatible.asm                 12.2.0.1.0            2
compatible.rdbms               10.1.0.0.0            2
compatible.advm                12.2.0.1.0            2

compatible.asm                 12.2.0.1.0            3
compatible.rdbms               10.1.0.0.0            3
compatible.advm                12.2.0.1.0            3
compatible.asm                 12.2.0.1.0            4
compatible.rdbms               10.1.0.0.0            4
compatible.advm                12.2.0.1.0            4
12 rows selected.

SQL>

SQL> COL % FORMAT 99.0
SQL>
SELECT name, free_mb, total_mb, ((total_mb-free_mb)/total_mb)*100 as "USED %", free_mb/total_mb*100 "FREE%" from v$asm_diskgroup order by 1;
NAME                              FREE_MB   TOTAL_MB     USED %      FREE%
------------------------------ ---------- ---------- ---------- ----------
ACFSDG                               1989       2046 2.78592375 97.2140762
ARCH                                 1884       2040 7.64705882 92.3529412
DATA                                 2556       5100 49.8823529 50.1176471
GIMR                                40560      40944 .937866354 99.0621336

SQL>
SQL> select path, group_number group_#, disk_number disk_#, mount_status,header_status, state, total_mb, free_mb from v$asm_disk order by group_number;

PATH                              GROUP_#     DISK_# MOUNT_S HEADER_STATU STATE      TOTAL_MB    FREE_MB
------------------------------ ---------- ---------- ------- ------------ -------- ---------- ----------
/dev/oracleasm/disks/DISK7              1          1 CACHED  MEMBER       NORMAL         1020        760
/dev/oracleasm/disks/DISK6              1          0 CACHED  MEMBER       NORMAL         1020        748
/dev/oracleasm/disks/DISK2              2          1 CACHED  MEMBER       NORMAL         1020        500
/dev/oracleasm/disks/DISK3              2          2 CACHED  MEMBER       NORMAL         1020        504
/dev/oracleasm/disks/DISK4              2          3 CACHED  MEMBER       NORMAL         1020        496
/dev/oracleasm/disks/DISK5              2          4 CACHED  MEMBER       NORMAL         1020        496
/dev/oracleasm/disks/DISK1              2          0 CACHED  MEMBER       NORMAL         1020        512
/dev/oracleasm/disks/GIMR4              3          2 CACHED  MEMBER       NORMAL        10236      10160
/dev/oracleasm/disks/GIMR3              3          3 CACHED  MEMBER       NORMAL        10236      10144
/dev/oracleasm/disks/GIMR1              3          1 CACHED  MEMBER       NORMAL        10236      10136
/dev/oracleasm/disks/GIMR2              3          0 CACHED  MEMBER       NORMAL        10236      10116
/dev/oracleasm/disks/DISK8              4          0 CACHED
MEMBER
NORMAL         1023        459
/dev/oracleasm/disks/DISK9              4          1 CACHED
MEMBER
NORMAL         1023        459
13 rows selected.

SQL>
[root@rac1 ~]# . oraenv
ORACLE_SID = [root] ?
+ASM1
The Oracle base has been set to /u01/app/oracle
[root@rac1 ~]#
crsctl stat res ora.ACFSDG.dg -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ACFSDG.dg
               ONLINE  ONLINE       rac1                     STABLE
OFFLINE OFFLINE      rac2                     STABLE
--------------------------------------------------------------------------------
[root@rac1 ~]#
--- Logon to Node2
[oracle@rac2 ~]$ . oraenv
ORACLE_SID = [oracle] ?
+ASM2
The Oracle base has been set to /u01/app/oracle
[oracle@rac2 ~]$
sqlplus / as sysasm
SQL*Plus: Release 12.2.0.1.0 Production on Mon Sep 21 22:37:44 2020

Copyright (c) 1982, 2016, Oracle.  All rights reserved.


Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL>
ALTER DISKGROUP ACFSDG MOUNT;
Diskgroup altered.

SQL>

[root@rac1 ~]#
crsctl stat res ora.ACFSDG.dg -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ACFSDG.dg
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
--------------------------------------------------------------------------------
[root@rac1 ~]#
4

Section 4

sdi1 <--- sdj1 <--- crsctl stat res ora.ACFSDG.dg -t OFFLINE OFFLINE rac2 STABLE --- Logon to Node2 ALTER DISKGROUP ACFSDG MOUNT;
5

Section 5

5. Create Volume ora.ACFSDG.ACFS_TEST.advm 6. Create ACFS filesystem

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[oracle@rac1 ~]$ . oraenv
ORACLE_SID = [+ASM1] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@rac1 ~]$
asmcmd  volcreate -G ACFSDG -s 1G acfs_test
[oracle@rac1 ~]$

[oracle@rac1 ~]$
asmcmd volinfo -G ACFSDG acfs_test
Diskgroup Name: ACFSDG
Volume Name: ACFS_TEST
Volume Device: /dev/asm/acfs_test-463
State: ENABLED
         Size (MB): 1024
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage:
         Mountpath:

[oracle@rac1 ~]$

[root@rac1 ~]#
crsctl stat res -t | grep -i "advm"
ora.ACFSDG.ACFS_TEST.advm
ora.proxy_advm
[root@rac1 ~]#
crsctl stat res ora.ACFSDG.ACFS_TEST.advm -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ACFSDG.ACFS_TEST.advm
ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
--------------------------------------------------------------------------------
[root@rac1 ~]#

[root@rac1 ~]#
fdisk -l /dev/asm/acfs_test-463
Disk /dev/asm/acfs_test-463: 1073 MB, 1073741824 bytes, 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@rac1 ~]#

[root@rac2 ~]#
fdisk -l /dev/asm/acfs_test-463
Disk /dev/asm/acfs_test-463: 1073 MB, 1073741824 bytes, 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@rac2 ~]#
6

Section 6

7. Register FileSystem on OCR [OR] -- The above command equivalent to below command. ora.acfsdg.acfs_test.acfs ONLINE ONLINE rac1 mounted on /acfs_tes t,STABLE ONLINE ONLINE rac2 mounted on /acfs_tes t,STABLE

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[oracle@rac1 ~]$
mkfs -t acfs /dev/asm/acfs_test-463
mkfs.acfs: version                   = 12.2.0.1.0
mkfs.acfs: on-disk version           = 46.0
mkfs.acfs: volume                    = /dev/asm/acfs_test-463
mkfs.acfs: volume size               = 1073741824  (   1.00 GB )
mkfs.acfs: Format complete.
[oracle@rac1 ~]$

[root@rac1 ~]#
mkdir -p /acfs_test
[root@rac1 ~]#
chown oracle:oinstall /acfs_test
[root@rac1 ~]#
/sbin/acfsutil registry -a  /dev/asm/acfs_test-463 /acfs_test -u oracle
acfsutil registry: mount point /acfs_test successfully added to Oracle Registry
[root@rac1 ~]#
[OR] -- The above command equivalent to below command.
[root@rac1 ~]# . oraenv
ORACLE_SID = [+ASM1] ?
The Oracle base remains unchanged with value /u01/app/oracle
[root@rac1 ~]# which srvctl
/u01/app/grid/product/12.2/bin/srvctl
[root@rac1 ~]#
srvctl add filesystem -d /dev/asm/acfs_test-463 -m /acfs_test -u oracle -fstype ACFS  -autostart ALWAYS
[root@rac1 ~]#
crsctl stat res -t | grep -i "acfsdg"
ora.ACFSDG.ACFS_TEST.advm
ora.ACFSDG.dg
ora.acfsdg.acfs_test.acfs
[root@rac1 ~]#
[root@rac1 ~]#
crsctl stat res ora.acfsdg.acfs_test.acfs -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.acfsdg.acfs_test.acfs
               ONLINE  ONLINE       rac1                     mounted on /acfs_tes
                                                             t,STABLE
               ONLINE  ONLINE       rac2                     mounted on /acfs_tes
                                                             t,STABLE
--------------------------------------------------------------------------------
[root@rac1 ~]#
7

Section 7

8. Verify Mount Point on All Nodes 9. Find ACFS mountpoints

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[oracle@rac1 ~]$
df -h /acfs_test
Filesystem              Size  Used Avail Use% Mounted on
/dev/asm/acfs_test-463  1.0G  487M  538M  48% /acfs_test
[oracle@rac1 ~]$
[oracle@rac1 ~]$
touch /acfs_test/raj
[oracle@rac1 ~]$
ls -ltr /acfs_test/raj
-rw-r--r--. 1 oracle oinstall 0 Sep 21 21:20 /acfs_test/raj
[oracle@rac1 ~]$

[oracle@rac2 ~]$
df -h /acfs_test
Filesystem              Size  Used Avail Use% Mounted on
/dev/asm/acfs_test-463  1.0G  487M  538M  48% /acfs_test
[oracle@rac2 ~]$
[oracle@rac2 ~]$
ls -ltr /acfs_test/raj
-rw-r--r--. 1 oracle oinstall 0 Sep 21 21:20 /acfs_test/raj
[oracle@rac2 ~]$

[root@rac1 ~]#
srvctl status filesystem -d /dev/asm/acfs_test-463
ACFS file system /acfs_test is mounted on nodes rac1,rac2
[root@rac1 ~]#

[root@rac1 ~]#
srvctl config filesystem
Volume device: /dev/asm/acfs_test-463
Diskgroup name: acfsdg
Volume name: acfs_test
Canonical volume device: /dev/asm/acfs_test-463
Accelerator volume devices:
Mountpoint path: /acfs_test
Mount point owner: oracle
Mount users:
Type: ACFS
Mount options:
Description:
ACFS file system is enabled
ACFS file system is individually enabled on nodes:
ACFS file system is individually disabled on nodes:
[root@rac1 ~]#

[oracle@rac1 ~]$
/sbin/acfsutil registry -l
Device :
/dev/asm/acfs_test-463
: Mount Point :
/acfs_test
: Options : none : Nodes : all : Disk Group: ACFSDG : Primary Volume : ACFS_TEST : Accelerator Volumes :
[oracle@rac1 ~]$

[oracle@rac1 ~]$
asmcmd volinfo -G ACFSDG ACFS_TEST
Diskgroup Name: ACFSDG
Volume Name: ACFS_TEST
         Volume Device: /dev/asm/acfs_test-463
State: ENABLED
         Size (MB): 1024
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage: ACFS
         Mountpath: /acfs_test

[oracle@rac1 ~]$

[oracle@rac1 ~]$
mount -t acfs
/dev/asm/acfs_test-463
on
/acfs_test
type acfs (rw,relatime,device,rootsuid,ordered)
[oracle@rac1 ~]$
8

Section 8

/sbin/acfsutil registry -l 10. Unmount ACFS filesystem More information: After stopping or killing these processes and the dismount should go through

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[oracle@rac1 ~]$
/sbin/acfsutil registry -l
Device :
/dev/asm/acfs_test-463
: Mount Point :
/acfs_test
: Options : none : Nodes : all : Disk Group: ACFSDG : Primary Volume : ACFS_TEST : Accelerator Volumes :
[oracle@rac1 ~]$

[root@rac1 ~]#
umount /dev/asm/acfs_test-463
[root@rac1 ~]#

[root@rac2 ~]#
umount /dev/asm/acfs_test-463
[root@rac2 ~]#

[root@rac1 ~]#
crsctl stat res ora.acfsdg.acfs_test.acfs -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.acfsdg.acfs_test.acfs
OFFLINE OFFLINE
rac1                     admin unmounted /acf
                                                             s_test,STABLE
OFFLINE OFFLINE
rac2                     admin unmounted /acf
                                                             s_test,STABLE
--------------------------------------------------------------------------------
[root@rac1 ~]#
More information:
[root@rac1 ~]#
umount /dev/asm/acfs_test-463
umount: /acfs_test: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount.acfs: CLSU-00100: operating system function: OfsWaitProc failed with error data: 32
umount.acfs: CLSU-00101: operating system error message: Broken pipe
umount.acfs: CLSU-00103: error location: OWPR_1
umount.acfs: ACFS-04151: unmount of mount point /acfs_test failed
[root@rac1 ~]#

[root@rac1 ~]#
lsof | grep /acfs_test
bash
6022
root  cwd       DIR         248,237057     32768                    2 /acfs_test
vi
30169
root  cwd       DIR         248,237057     32768                    2 /acfs_test
vi
30169
root    3u      REG         248,237057     12288                   77 /acfs_test/.test.swp
[root@rac1 ~]#
[root@rac1 ~]#
After stopping or killing these processes and the dismount should go through
[root@rac1 ~]# kill -9 30169
[root@rac1 ~]# kill -9 6022
[root@rac1 ~]#
lsof | grep /acfs_test
[root@rac1 ~]#
9

Section 9

11. Start/Stop ACFS filesystem /sbin/acfsutil registry -l srvctl start filesystem -d /dev/asm/acfs_test-463 srvctl stop filesystem -d /dev/asm/acfs_test-463

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[root@rac1 ~]#
/sbin/acfsutil registry -l
Device : /dev/asm/acfs_test-463 : Mount Point : /acfs_test : Options : none : Nodes : all : Disk Group: ACFSDG : Primary Volume : ACFS_TEST : Accelerator Volumes :
[root@rac1 ~]#

[root@rac1 ~]#
srvctl start filesystem -d /dev/asm/acfs_test-463
[root@rac1 ~]#

[root@rac1 ~]#
srvctl status filesystem -d /dev/asm/acfs_test-463
ACFS file system /acfs_test is mounted on nodes rac1,rac2
[root@rac1 ~]#

[root@rac1 ~]#
srvctl stop filesystem -d /dev/asm/acfs_test-463
[root@rac1 ~]# 
[root@rac1 ~]#
srvctl status filesystem -d /dev/asm/acfs_test-463
ACFS file system /acfs_test is not mounted
[root@rac1 ~]#
[root@rac1 ~]#
srvctl start filesystem -d /dev/asm/acfs_test-463
[root@rac1 ~]#
[root@rac1 ~]#
srvctl status filesystem -d /dev/asm/acfs_test-463
ACFS file system /acfs_test is mounted on nodes
rac1
,rac2
[root@rac1 ~]#

[root@rac1 ~]#
crsctl stat res ora.acfsdg.acfs_test.acfs -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.acfsdg.acfs_test.acfs
ONLINE  ONLINE
rac1                     mounted on /acfs_tes
                                                             t,STABLE
ONLINE  ONLINE
rac2                     mounted on /acfs_tes
                                                             t,STABLE
--------------------------------------------------------------------------------
[root@rac1 ~]#

[root@rac1 ~]#
df -h /acfs_test
Filesystem              Size  Used Avail Use% Mounted on
/dev/asm/acfs_test-463  1.0G  487M  538M  48% /acfs_test
[root@rac1 ~]#

[root@rac2 ~]#
df -h /acfs_test
Filesystem              Size  Used Avail Use% Mounted on
/dev/asm/acfs_test-463  1.0G  487M  538M  48% /acfs_test
[root@rac2 ~]#
10

Section 10

srvctl start filesystem -d /dev/asm/acfs_test-463 ACFS file system /acfs_test is mounted on nodes rac1 ,rac2 crsctl stat res ora.acfsdg.acfs_test.acfs -t Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using. Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.
11

Section 11

Reference: ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1) Reference:

Comments (0)

Please to add comments

No comments yet. Be the first to comment!