shuizhuan 发表于 2014-1-12 09:43:55

11.2.0.3 asmlib createdisk issue

HI All,
我想用asmlib creatdisk碰到一个问题
数据库:oracle 11.2.0.3
操作系统:rhel 6.4
正常安装kmod-oracleasm-2.0.6.rh1-2.el6.x86_64,oracleasmlib-2.0.4-1.el6.x86_64,oracleasm-support-2.1.8-1.el6.x86_64三个rpm包,如果创建普通磁盘sdb1是可以成功的,不同的是我想创建的asmdisk是基于pcie ssd,我也正常分区,但是
/etc/init.d/oracleasm createdisk asmdisk1 /dev/memdiska1 报错,查看/var/log/oracleasm,报device "memdiska1" is not a partition。
想请教一下是否有解决方案?

Liu Maclean(刘相兵 发表于 2014-1-12 13:19:32

I had previously partitioned all 4 disks with fdisk –c –u to disable DOS compatibility. The partition should start at sector 2048. Note that the physical sector size is reported as 4KB.. The logical sector size is reported as 512 bytes for backward compatibility.


root@sandep1 ~]# fdisk -c -u -l /dev/sda  
Disk /dev/sda: 200.0 GB, 200049647616 bytes  
14 heads, 28 sectors/track, 996739 cylinders, total 390721968 sectors  
Units = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytes  
I/O size (minimum/optimal): 4096 bytes / 4096 bytes  
Disk identifier: 0xbaeb87f9  
   Device Boot      Start         End      Blocks   Id  System  
/dev/sda1            2048   390721967   195359960   83  Linux  


Looking at the X25-E RAID configuration that is reported as 512 byte sectors as noted in the first blog post.


Sector size (logical/physical): 512 bytes / 512 bytes  
I/O size (minimum/optimal): 512 bytes / 512 bytes  

Liu Maclean(刘相兵 发表于 2014-1-12 13:20:39

try follow this note:
https://communities.intel.com/community/datastack/blog/2013/07/26/configure-oracle-redo-on-solid-state-disks-ssds-with-asm

shuizhuan 发表于 2014-1-13 10:36:45

Hi Maclean, it's pity that doesn't work, still announce  Device "/dev/memdiska1" is not a partition. Does ASMLIB not support PCIe SSD ?

shuizhuan 发表于 2014-1-13 16:42:36

Hi Maclean, I'll try to change the device name by revise driver, update if it fix.

shuizhuan 发表于 2014-1-16 15:02:09

HI Maclean,问个问题,asm有没有类似/etc/lvm/lvm.conf这样的配置文件。

shuizhuan 发表于 2014-1-16 16:34:41

Liu Maclean(刘相兵 发表于 2014-1-12 13:20 static/image/common/back.gif
try follow this note:
https://communities.intel.com/community/datastack/blog/2013/07/26/configure-or ...

HI Maclean,问个问题,asm有没有类似/etc/lvm/lvm.conf这样的配置文件。
页: [1]
查看完整版本: 11.2.0.3 asmlib createdisk issue