Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oracleasm createdisk datdisk /dev/xvda11 "unable to query partition"

yakub21May 18 2009 — edited May 18 2009
I get the following error:
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Unable to query file "/dev/xvda11": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Unable to query file "/dev/xvda11": No such file or directory
Unable to query file "/dev/xvda12": No such file or directory

I have two newly created partitions on Red Hat Enterprise 5
[root@rac1 log]# uname -a
Linux rac1.respecti.com 2.6.18-128.el5xen #1 SMP Wed Dec 17 12:01:40 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

The following is installed:
Drivers for Kernel 2.6.18-128.el5 Downloaded & installed/Configured
oracleasm-2.6.18-128.el5xen-2.0.5-1.el5.x86_64.rpm Installed
oracleasm-2.6.18-128.el5debug-2.0.5-1.el5.x86_64.rpm Installed
oracleasm-2.6.18-128.el5-debuginfo-2.0.5-1.el5.x86_64.rpm Installed
oracleasm-2.6.18-128.el5-2.0.5-1.el5-2.0.5-1.el5.x86_64.rpm Installed

ASM Library and Tools Downloaded & installed/Configured
Oracleasm-support-2.1.3-1.el5.x86_64.rpm Installed
Oracleasmlib-2.0.4-1.el5.x86_64.rpm Installed


[root@rac1 log]# fdisk -l

Disk /dev/xvda: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/xvda1 * 1 13 104391 83 Linux
/dev/xvda2 14 21048 168963637+ 83 Linux
/dev/xvda3 21049 22323 10241437+ 83 Linux
/dev/xvda4 22324 78325 449836065 5 Extended
/dev/xvda5 22324 23343 8193118+ 82 Linux swap / Solaris
/dev/xvda6 23344 24363 8193118+ 83 Linux
/dev/xvda7 24364 25383 8193118+ 83 Linux
/dev/xvda8 25384 26020 5116671 83 Linux
/dev/xvda9 26021 26657 5116671 83 Linux
/dev/xvda10 26658 27294 5116671 83 Linux
/dev/xvda11 27295 65956 310552483+ 83 Linux <------- for ASM
/dev/xvda12 65957 78236 98639068+ 83 Linux <------- for ASM


[root@rac1 init.d]# ./oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@rac1 init.d]# ./oracleasm createdisk DATDISK /dev/xvda11
Marking disk "DATDISK" as an ASM disk: [FAILED] <-------- This is the problem, Don't know why?
[root@rac1 init.d]#
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2009
Added on May 18 2009
1 comment
2,659 views