Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1564274.1
Update Date:2013-07-15
Keywords:

Solution Type  Problem Resolution Sure

Solution  1564274.1 :   After replacing Disk on ODA, Second Partition Size is Limited to 99%  


Related Items
  • Oracle Database Appliance
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  


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

Created from <SR 3-6851713401>

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@emn-odadb-ts1-04 ~]# 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@emn-odadb-ts1-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

Unpublished bug 16487232


 

Solution

The actual fix is available on oakcli 2.6 version, Hence customers are advised to upgrade to oakcli and run the below


1) stop oakd (oakcli stop oak)
2) remove the disk. if there is any io, asm will detect the io error and start offline/drop the disk. (Check in asm alert log)
3) start oakd, oakd will detect the empty slot and doing nothing (oakcli start oak)
4) re-insert the disk back into the slot, oakd will treat it as new disk and then do all the needy to create the partitions, etc.
5) oakd will generate the proper sql to asm to add the disks back to asm. if the disks were not dropped by asm yet, asm would drop force before the add.


 

References

<BUG:16487232> - LNX64-112-CMT:PARTITION SIZE IS LIMITED TO 99% FOR HDD

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback