Oracle ASMlib磁盘创建
来源:互联网 发布:mysql having 编辑:程序博客网 时间:2024/04/30 04:00
配置环境信息
[root@node1]# oracleasm configure -iConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASMlibrarydriver. The followingquestions will determine whether the driver isloaded on boot and what permissions it will have. The current valueswill be shown in brackets ('[]'). Hitting <ENTER> without typing ananswer will keep that current value. Ctrl-C will abort.Default user to own the driver interface []: gridDefault group to own the driver interface []: oinstallStart Oracle ASM library driver on boot (y/n) [n]: yScan for Oracle ASM disks on boot (y/n) [y]: yWriting Oracle ASM library driver configuration: done
环境初始化
[root@node1]# oracleasm initCreating /dev/oracleasm mount point: /dev/oracleasmLoading module "oracleasm": oracleasmMounting ASMlib driver filesystem: /dev/oracleasm
共享磁盘分区
[root@node1 ~]# fdisk /dev/sdcDevice contains neither a valid DOS partition table, nor Sun, SGIor OSF disklabelBuilding a new DOS disklabel. Changes will remain in memory only,until you decide to write them. After that, of course, thepreviouscontent won't be recoverable.Warning: invalid flag 0x0000 of partition table 4 will becorrected by w(rite)Command (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1First cylinder (1-652, default 1):Using default value 1Last cylinder or +size or +sizeM or +sizeK (1-652, default 652):Using default value 652Command (m for help): p ...Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.Syncing disks.
创建ASM磁盘
[root@node1 ~]# oracleasm createdisk asmdata1 /dev/sdb1Writing disk header: doneInstantiating disk: done[root@node1 ~]# oracleasm createdisk asmdata2 /dev/sdc1Writing disk header: doneInstantiating disk: done
扫描磁盘
[root@node1 ~]# oracleasm scandisksReloading disk partitions: doneCleaning any stale ASM disks...Scanning system for ASM disks...
查看磁盘
[root@node1 ~]# oracleasm listdisks
查看对应关系
[root@node1 init.d]# ./oracleasm querydisk -v -p ASMDISK1Disk "ASMDISK1" is a valid ASM disk/dev/sdc: LABEL="ASMDISK1" TYPE="oracleasm" /dev/sdo: LABEL="ASMDISK1" TYPE="oracleasm" /dev/mapper/ASMDISK1: LABEL="ASMDISK1" TYPE="oracleasm"
阅读全文
0 0
- Oracle ASMlib磁盘创建
- 创建ASMLib磁盘
- oracle asmlib固化磁盘
- 2.6.2 创建ASMLib磁盘
- oracle asmlib磁盘信息查看
- 利用asmlib创建oracle asm
- Centos 6.5 X86_64 安装oracle 11g rac,采用ASMlib创建asm磁盘
- Centos 6.5 X86_64 安装oracle 11g rac,采用ASMlib创建asm磁盘
- 2.6 创建ASM磁盘 2.6.1 安装ASMLib驱动
- 创建ASM磁盘 2.6.1 安装ASMLib驱动
- 在LINUX上配置oracle ASMLib的多路径磁盘
- 在LINUX上配置oracle ASMLib的多路径磁盘
- Linux平台上配置Oracle ASMLib和磁盘多路径
- ASM 磁盘配置--asmlib方式
- Oracle ASMLib---自动管理
- Oracle ASMLib Downloads
- 在ORACLE 10G R2上利用ASMLIB创建ASM数据库
- ASMlib
- 1599: [Usaco2008 Oct]笨重的石子
- 上传多张图片并预览
- cookie实现购物车
- Linux清缓存
- 脚本小记
- Oracle ASMlib磁盘创建
- linux bash shell中,单引号、 双引号,反引号(``)的区别及各种括号的区别
- Jmeter安装、使用流程及简单分析监控
- 关于浏览器的重绘和重排问题
- Windows 平台安装 MongoDB
- 网站地图xml格式的讲解
- 探讨PHP优先级问题
- springboot乐观锁
- ubuntu14编译安装llvm&clang 3.9