确定asm磁盘与物理磁盘的对应关系

本文介绍了在Redhat Linux 5.3环境下,如何确定Oracle 10.2.0.5 ASM磁盘(如VOL1)与操作系统物理磁盘(如/dev/sdb1)的对应关系。通过使用oracleasm命令进行查询和分析,揭示了ASM磁盘与Linux设备文件之间的关联。
摘要由CSDN通过智能技术生成

本例的环境是Redhat linux 5.3,数据库是Oracle 10.2.0.5

1. asm的管理命令oracleasm命令的使用说明

[root@ocmdb1 disks]# oracleasm

Usage: oracleasm [--exec-path=<exec_path>] <command> [ <args> ]

oracleasm --exec-path

oracleasm -h

oracleasm -V

The basic oracleasm commands are:

configure Configure the Oracle Linux ASMLib driver

init Load and initialize the ASMLib driver

exit Stop the ASMLib driver

scandisks Scan the system for Oracle ASMLib disks

status Display the status of the Oracle ASMLib driver

listdisks List known Oracle ASMLib disks

querydisk Determine if a disk belongs to Oracle ASMlib

createdisk Allocate a device for Oracle ASMLib use

deletedisk Return a device to the operating system

renamedisk Change the label of an Oracle ASMlib disk

update-driver Download the latest ASMLib driver


[root@ocmdb1 init.d]# which oracleasm

/usr/sbin/oracleasm

[root@ocmdb1 disks]# cd /etc/init.d

[root@ocmdb1 init.d]# ./oracleasm

Usage: ./oracleasm {start|stop|restart|enable|disable|configure|c

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值