灌溉梦想,记录脚步

命令创建ACFS

创建挂载点

mkdir -p /u01/app/oracle/acfsmounts/data_acfsvol3
chown oracle:oinstall /u01/app/oracle/acfsmounts/data_acfsvol3

连接到ASM创建Volume

su - oracle
[oracle@rac1 ~]$ . oraenv
ORACLE_SID = [RAC1] ? +ASM1
The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle
[oracle@rac1 ~]$ dbhome
/u01/app/11.2.0/grid
[oracle@rac1 ~]$ sqlplus / as sysasm
Issue to the following command to create a new volume.
 
SQL> ALTER DISKGROUP DATA ADD VOLUME ACFSVOL3 SIZE 10G;
 
Diskgroup altered.
 
SQL>
Exit the SQL*Plus session, then create a file system on the volume.

继续阅读 »