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!

Problem on creating new ASM disk

Tiny_Apr 9 2015 — edited Apr 9 2015

Dears,

I have to make new two nodes cluster, Unbreakable Linux 6 64bit on both, connected to shared storage.

I'm getting this error when creating the ASM Disk:

# less /var/log/oracleasm

Disk "DISK" does not exist or is not instantiated

Writing disk header: oracleasm-write-label: Unable to clear device "/dev/sdb1": Input/output error

failed

Unable to label device "/dev/sdb1"

-----

Note:

-----

Made procedures are ready (environment variables, users and groups etc...)

Also:

# uname -r

3.8.13-44.1.1.el6uek.x86_64

# rpm -qa | grep asm

oracleasmlib-2.0.4-1.el6.x86_64

libatasmart-0.17-4.el6_2.x86_64

oracleasm-support-2.1.8-1.el6.x86_64

kmod-oracleasm-2.0.8-4.el6_6.x86_64

# fdisk -l

Disk /dev/sda: 300.0 GB, 299966445568 bytes

255 heads, 63 sectors/track, 36468 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 262144 bytes / 262144 bytes

Disk identifier: 0x0005aeac

   Device Boot      Start         End      Blocks   Id  System

/dev/sda1               1        8159    65536000   82  Linux swap / Solaris

/dev/sda2   *        8159       36469   227398656   83  Linux

Disk /dev/sdb: 1998.4 GB, 1998375747584 bytes

255 heads, 63 sectors/track, 242955 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00036686

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1      242955  1951536006   83  Linux

# /etc/init.d/oracleasm configure

Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library

driver.  The following questions will determine whether the driver is

loaded on boot and what permissions it will have.  The current values

will be shown in brackets ('[]').  Hitting <ENTER> without typing an

answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface [grid]:

Default group to own the driver interface [asmadmin]:

Start Oracle ASM library driver on boot (y/n) [y]:

Scan for Oracle ASM disks on boot (y/n) [y]:

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver:                     [  OK  ]

Scanning the system for Oracle ASMLib disks:               [  OK  ]

# /etc/init.d/oracleasm createdisk DISK /dev/sdb1

Marking disk "DISK" as an ASM disk:                        [FAILED]

# /etc/init.d/oracleasm querydisk /dev/sdb1

Device "/dev/sdb1" is not marked as an ASM disk

Kindly advice if I missed something,

Best regards

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2015
Added on Apr 9 2015
2 comments
1,213 views