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-1955181.1
Update Date:2016-10-11
Keywords:

Solution Type  Problem Resolution Sure

Solution  1955181.1 :   After Reconfiguring OS Disk, bdachecksw Throws 'WARNING: Wrong OS disk sN partition info'  


Related Items
  • Big Data Appliance X3-2 Hardware
  •  
Related Categories
  • PLA-Support>Eng Systems>BDA>Big Data Appliance>DB: BDA_EST
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-9973009361>

Applies to:

Big Data Appliance X3-2 Hardware - Version All Versions and later
Linux x86-64

Symptoms

On Oracle Big Data Appliance node, replaced a OS disk and configured as per OS disk replacement documentation.

But bdachecksw/bdacheckcluster command reports below warning

WARNING: Wrong OS disk sN partition info : 1 ext4 boot 2 raid 3 linux-swap(v1) 4 ext4 primary
INFO: Expected OS disk sN partition info : 1 ext3 raid 2 ext3 raid 3 linux-swap 4 ext3 primary or 1 ext4 primary boot 2 primary raid 3 linux-swap(v1) primary 4 ext4 primary


Printing the OS disk partition table indicates that the name of the first 3 partitions is set to empty instead of primary as being expected by bdachecksw

# parted /dev/disk/by-hba-slot/sN -s unit chs print
Model: LSI MR9261-8i (scsi)
..............
Partition Table: gpt
Number  Start             End                 File system          Name     Flags
1      0,32,32            24,89,0               ext4                               boot
2      24,89,1            60812,135,58                                            raid
3      60812,135,59  65651,62,10      linux-swap(v1)      
4      65651,62,11   364728,249,0      ext4                    primary

 Note:- N in sN can be either 0 or 1 depending on what slot the OS disk is replaced/configured.

Cause

OS disk replacement for OL6 documentation bug.

Step 9(Clear the names, using parted in interactive mode) as part of OS disk partitioning which sets the partition name to null is not needed for OL6.
 

Solution

Follow below steps as root on the node where the OS disk is replaced and configured

 Note:- N in sN can be either 0 or 1 depending on what slot the OS disk is replaced/configured.

1) Rename 1-3 partitions of OS disk using parted command

# parted /dev/disk/by-hba-slot/sN

Once in the shell then type the following to clear the names. Where parted is the parted prompt, don't type it:

name 1 "primary"
name 2 "primary"
name 3 "primary"
quit

Sample output 

# parted /dev/disk/by-hba-slot/sN 
GNU Parted 2.1
..............
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)  name 1 "primary"  
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
(parted) name 2 "primary" 
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
(parted) name 3 "primary" 
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
(parted) quit

  
2) Check if all the 4 partition names are listed as primary

# parted /dev/disk/by-hba-slot/sN -s unit chs print

Sample output:

Number  Start             End                 File system            Name     Flags
1      0,32,32            24,89,0               ext4                   primary   boot
2      24,89,1            60812,135,58                               primary   raid
3      60812,135,59  65651,62,10       linux-swap(v1)       primary
4      65651,62,11   364728,249,0      ext4                     primary 

3) Execute bdachecksw or bdacheckcluster command to ensure the warning is resolved
 


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