My Oracle Support Banner

After replacing Disk on ODA, Second Partition Size is Limited to 99% (Doc ID 1564274.1)

Last updated on JANUARY 07, 2024

Applies to:

Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

ODA running oakcli version 2.4.0.0.0 has replaced the disk.
After replacing the disk the partition are not created properly.


[root@ora_db1 ~]# fdisk -l /dev/sdy -------->> replaced disk

Disk /dev/sdy: 600.1 GB, 600127266816 bytes
255 heads, 63 sectors/track, 72961 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot Start End Blocks Id System
/dev/sdy1 1 62661 503316480 83 Linux
/dev/sdy2 62661 72232 76882638+ 83 Linux


Disk /dev/sdax: 600.1 GB, 600127266816 bytes ---- existing disks
255 heads, 63 sectors/track, 72961 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot Start End Blocks Id System
/dev/sdax1 1 62661 503316480 83 Linux
/dev/sdax2 62661 72961 82740704+ 83 Linux


[root@ora_db1-03 ~]# ls -la /dev/mapper
..
..

brw-rw---- 1 grid asmadmin 253, 22 Dec 4 10:29 HDD_E1_S03_982504323
brw-rw---- 1 grid asmadmin 253, 45 Mar 7 16:27 HDD_E1_S03_982504323p1
brw-rw---- 1 grid asmadmin 253, 46 Mar 7 16:27 HDD_E1_S03_982504323p2

From oakd log file:

2013-03-07 16:29:34.719: [pd_03][1197898048] {0:0:851} [resource_initialize]
INFO: running /sbin/parted -s /dev/mapper/HDD_E1_S03_532456384 -- mklabel
msdos mkpart primary 4096s 1006637055s
2013-03-07 16:29:36.922: [pd_03][1197898048] {0:0:851} [resource_initialize]
INFO: running parted -s /dev/mapper/HDD_E1_S03_532456384 unit % print
2013-03-07 16:29:36.972: [pd_03][1197898048] {0:0:851} [resource_initialize]
INFO: running /sbin/parted -s /dev/mapper/HDD_E1_S03_532456384 mkpart primary
1006637056s 99%
2013-03-07 16:29:37.423: [pd_03][1197898048] {0:0:851} [resource_initialize]
INFO: Running /sbin/kpartx -a /dev/mapper/HDD_E1_S03_532456384
2013-03-07 16:29:37.423: [pd_03][1197898048] {0:0:851} [resource_initialize]
INFO: running /sbin/partprobe

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.