Page 1 of 212

How to create ASM filesystem in Oracle 11gR2

本文描述如何创建ACFS文件系统,前提要求: 1. Oracle 11gR2数据库 2. 已经安装Grid Infrastructure,单机即可(但是ACFS在Oracle Restart环境中会有些限制,详见【备注1】) 3. 已经创建了ASM实例以及ASM磁盘组,实例中ASM实例名儿+ASM,磁盘组为ORADG

SQL> alter diskgroup oradg add volume acfsvol size 1G; alter diskgroup oradg add volume acfsvol size 1G * ERROR at line 1: ORA-15032: not all alterations performed ORA-15221: ASM operation requires compatible.asm of 11.2.0.0.0 or higher

如上的错误表示如果要在ASM磁盘组上创建ACFS Volume,必须要求ASM磁盘组的属性COMPATIBLE.ASM在11.2以上。 如果ASM磁盘组是使用asmca图形化工具创建的,那么compatible.asm默认设置就已经为11.2,但如果是使用CREATE DISKGROUP这个SQL命令创建的,那么默认设置则为10.1,需要手动修改。

SQL> alter diskgroup oradg . . . → Read More: How to create ASM filesystem in Oracle 11gR2

How to resolve ORA-15025 when creating ASM diskgroup on Solaris

操作系统版本:Solaris10 Sparc 64bit 数据库版本:Oracle 10.2.0.4

在创建ASM Diskgroup的时候出现如下图报错。

检查当前系统裸设备的设置。

partition> p Current partition table (original): Total disk cylinders available: 53154 + 2 (reserved cylinders)   Part Tag Flag Cylinders Size Blocks 0 root wm 0 0 (0/0/0) 0 1 swap wu 0 0 (0/0/0) 0 2 backup wu 0 – 53153 1.99TB (53154/0/0) 4269595050 . . . → Read More: How to resolve ORA-15025 when creating ASM diskgroup on Solaris

How to use Files in place of Real Disk Devices for ASM

个人测试ASM的好方法。参看以下几个链接。

在Linux操作系统中: How to use Files in place of Real Disk Devices for ASM – (Linux)

在Windows操作系统中: How to use Files in place of Real Disk Devices for ASM – (Windows) 在这份文档中使用到了perl脚本,实际上就是创建一个文件填满0,每次循环写1024*1024(2的20次方)个0,循环100次就是写了100M的文件。 或者 Windows环境下ASM磁盘虚拟工具ASMTOOL

在Solaris操作系统中: How to use Files in place of Real Disk Devices for ASM – (Solaris)

Page 1 of 212