I have been searching the forums, and can't find the answer or problem. I'm new to linux and oracle. I'm creating my own practice environment on VMware. I'm attempting to install Oracle Grid.
When I try to create an oracleasm disk, it keeps failing.
"[root@localhost linux]# /etc/init.d/oracleasm createdisk ASM1 /dev/sdb
Marking disk "ASM1" as an ASM disk: [FAILED]"
I can't figure out why it is failing. I'm unable to determine if its because the name ASM1 isn't recognized and that why it fails, or what. I've tried adding "disk.EnableUUID = "TRUE" " to my vmx file. but when I run scsi_id -g -u -d /dev/sdb it tells me the command is not found.
And yes, I have already formatted the disks, and rebooted the system after formatting the disks and adding the line in the vmx file.
Any help would be greatly appreciated.
I appreciate the response. But I have been reading the document and can't find what I'm doing wrong.
I changed the command to
/usr/sbin/oracleasm createdisk ASM1 /dev/sdb
Device "/dev/sdb" is not a partition
however I know its a partition because I have run fdisk. but I am not seeing it mounted.
Edited by: 983492 on Jan 22, 2013 1:33 PM
I rand fdisk -l and found that the partion label was assigned as /dev/sdb1.
After resubmitting the command it worked.
Thank you anyways.
Edited by: 983492 on Jan 22, 2013 1:49 PM
it looks like you have not installed all 3 rpms needed for ASMLIB.
You need the asmlib itself, the corresponding kernel module for asmlib (included in the UEK kernels) and the asm support package.
# rpm -qa|grep oracleasm
# uname -a
thanks for all the help. I figured my problem was only syntax. But I do have a new problem relating to recognizing my asm disks that were created.
And I have been reading a bit about udev, but I don't understand how to use it and correct my problems in this instance.
I'm using Oracle Linux 5u7
here is my other question Grid runInstall can't find candidate disks
Edited by: Josh_K on Jan 23, 2013 11:54 AM