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!

ASM error [FATAL] [DBT-30003] The size of the disks selected is not the same

User328666Aug 27 2017 — edited Sep 24 2017

I have two SSD named /dev/oracle_grid_disk1 and 2.  Each is partitioned identically, as you can see below, and they are identical down to the sector count.  Yet, when I try to create an ASM Normal Redundancy disk group I get the error

"[FATAL] [DBT-30003] The size of the disks selected is not the same as to allow for an equal number of 1MB AU size blocks".  Thoughts? 

I am using Oracle 12.2.0.1 Enterprise Edition on Oracle Linux 7.4 with the UEK kernel.  I am not using ASMLib or AFD. 

The size of both partitions is exactly 20479 MiB (21473787904 bytes). Everything is evenly divisible, no decimals.

# ./partition.sh

Model: Unknown (unknown)

Disk /dev/fioa: 3051758MiB

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

Partition Table: gpt

Disk Flags:

Number  Start       End         Size        File system  Name     Flags

1      1.00MiB     20480MiB    20479MiB                 primary

2      20480MiB    1525879MiB  1505399MiB               primary

3      1525879MiB  3051757MiB  1525878MiB               primary

Model: Unknown (unknown)

Disk /dev/fiob: 3051758MiB

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

Partition Table: gpt

Disk Flags:

Number  Start       End         Size        File system  Name     Flags

1      1.00MiB     20480MiB    20479MiB                 primary

2      20480MiB    1525879MiB  1505399MiB               primary

3      1525879MiB  3051757MiB  1525878MiB               primary

# fdisk /dev/oracle_grid_disk1 -l

Disk /dev/oracle_grid_disk1: 21.5 GB, 21473787904 bytes, 41940992 sectors

Units = sectors of 1 * 512 = 512 bytes

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

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

# fdisk /dev/oracle_grid_disk2 -l

Disk /dev/oracle_grid_disk2: 21.5 GB, 21473787904 bytes, 41940992 sectors

Units = sectors of 1 * 512 = 512 bytes

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

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

$ asmca -silent -configureASM -sysAsmPassword grid01 -asmsnmpPassword grid01 -sysAsmPassword grid01 -diskString '/dev/oracle*' -diskGroupName GRID -diskList /dev/orcle_grid_disk1,/dev/oracle_grid_disk2 -redundancy NORMAL -compatible.asm 12.2 -compatible.rdbms 12.2

[FATAL] [DBT-30003] The size of the disks selected is not the same as to allow for an equal number of 1MB AU size blocks

I get the same error when trying to create all three ASM disk groups. But, as you can see, all of the partition pairs are the same and do allow for an equal number of 1 MB AU size blocks.

I also tried specifying the disk size manually, but get the same error:

$ asmca -silent -configureASM -sysAsmPassword grid01 -asmsnmpPassword grid01 -sysAsmPassword grid01 -diskString '/dev/oracle*' -diskGroupName GRID -disk /dev/orcle_grid_disk1 -disksize 20000 -disk /dev/oracle_grid_disk2 -disksize 20000 -redundancy NORMAL -compatible.asm 12.2 -compatible.rdbms 12.2

[FATAL] [DBT-30003] The size of the disks selected is not the same as to allow for an equal number of 1MB AU size blocks

The asmca GUI was throwing the same error, which is why I tried switching to command line where I could try various options.  No luck as shown above.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2017
Added on Aug 27 2017
2 comments
3,489 views