linux创建裸磁盘,裸设备创建ASM磁盘

本文详细介绍了在Linux环境下如何创建ASM(Automatic Storage Management)磁盘,包括添加磁盘、安装相关软件包、创建分区、配置raw设备、启动服务,以及通过DBCA配置ASM和检查实例对ASM磁盘组的使用情况。
摘要由CSDN通过智能技术生成

裸设备创建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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值