Home > ASM > Can’t create oracleasm disks

Can’t create oracleasm disks

1. I want to create oracleasm disk as the following. It returns “Unable to label device”

[root@vmrac1 ~]# oracleasm createdisk DATA2 /dev/sde1
Writing disk header: failed
Unable to label device “/dev/sde1”

2. Check the partition type, it is Extend. Then I change it to primary

[root@vmrac1 ~]# fdisk /dev/sde

Device Boot      Start         End      Blocks   Id  System
/dev/sde1              10        1295    10329795    5  Extended <– Extended

Device Boot      Start         End      Blocks   Id  System
/dev/sde1               5        1295    10369957+  83  Linux <– Change to primary partition

3. Create the oracleasm disk again
[root@vmrac1 ~]#  oracleasm createdisk DATA2 /dev/sde1
Writing disk header: done
Instantiating disk: done

Therefore, the partitions must be set to primary partition, while extend partitions are not supported by oracleasm.

Advertisements
Categories: ASM
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: