裸设备创建ASM磁盘
1、首先添加3块磁盘
2、安装包
[root@myorcl asm]# ls
Oracleasm-2.6.18-348.6.1.el5-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-348.6.1.el5debug-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-348.6.1.el5PAE-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-348.6.1.el5xen-2.0.5-1.el5.i686.rpm
oracleasmlib-2.0.4-1.el5.i386.rpm
oracleasm-support-2.1.8-1.el5.i386.rpm
3、查看3块磁盘
[root@myorcl asm]# fdisk -l
Disk /dev/sdb: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdd doesn't contain a valid partition table
3、按照下面类似的方法创建分区
root@myorcl asm]# fdisk /dev/sdc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The