Disk Group Encapsulation Failure due to Hard Disk Faults

vvwin
vvwin  Silver  (1)
6 years 10 months ago  View: 2475  Reply: 0
1F

Keywords

Solaris

Version Mapping

NMS

OS

Database

NE

U2000 V100R009C00

Solaris

Sybase

-

Symptom

A user runs the following command to preconfigure the U2000:

# cd /opt/OSSICMR/bin

# ./install.sh -r

The operation fails in the "Encapsulating disk group" step.

Encapsuling diskgroup...........................................................................................................................................................................................Failed

The error blocks the U2000 installation.

Problem Identification

Hard disk fault

Cause Analysis

The /var/ICMR/ICMR_Timestamp.log file records some errors, as follows:

20150322152157  DEBUG   core::runcommand:RunCommandLocal        3962    Finish to execute command /usr/sbin/prtvtoc /dev/rdsk/c2t3d0s2 2>&1.

20150322152157  DEBUG   core::runcommand:RunCommandLocal        3962    The return code is: 1.

20150322152157  DEBUG   core::runcommand:RunCommandLocal        3962    The output is: "prtvtoc: /dev/rdsk/c2t3d0s2: Unable to read Disk geometry errno = 0x16"

20150322152157  DEBUG   core::runcommand:RunCommandLocal        3962    Finish to execute function RunCommandLocal.

20150322152157  DEBUG   core::diskManager::getDiskVTOC          3962    Fail to get the vtoc of disk c2t3d0 for the reason:prtvtoc: /dev/rdsk/c2t3d0s2: Unable to read Disk geometry errno = 0x16!

20150322152157  DEBUG   core::diskManager::getDiskTotalSize     3962    Fail to get the vtoc of disk c2t3d0!

20150322152157  DEBUG   core::diskManager::getLocalDiskInfo     3962    Fail to get the total size of disk c2t3d0!

20150322152157  DEBUG   tasks::create_diskgroup::__sort_disk        3962    Begin to execute the function tasks::create_diskgroup::__sort_disk

20150322152157  DEBUG   tasks::create_diskgroup::__sort_disk        3962    The disks used for encapsuling appdg are: ""

20150322152157  DEBUG   tasks::create_diskgroup::__sort_disk        3962    The size of disk used for encapsuling appdg are: ""

20150322152157  DEBUG   tasks::create_diskgroup::__find_a_suitable_disk 3962    The sorted disk used for encapsuling the appdg are: ""

20150322152157  Error   tasks::create_diskgroup::__generate_encap_list  3962    Fail to serach a suitable disk for encapsuling the appdg!

The error information reveals that the installer failed to read size and other information about hard disk c2t3d0 and found no other hard disk suitable for the appdg group. As a result, the hard disk group failed to be encapsulated.

The log file also records the following output for the format command:

20150322130332  DEBUG   core::runcommand:RunCommandLocal        2223    The output is: "Searching for disks...done

AVAILABLE DISK SELECTIONS:

       0. c2t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>

          /pci@0/pci@0/pci@2/scsi@0/sd@0,0

       1. c2t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>

          /pci@0/pci@0/pci@2/scsi@0/sd@1,0

       2. c2t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>

          /pci@0/pci@0/pci@2/scsi@0/sd@2,0

       3. c2t3d0 <drive type unknown>

          /pci@0/pci@0/pci@2/scsi@0/sd@3,0

Specify disk (enter its number): "

The command output reveals that hard disk c2t3d0 was in the unknown state and therefore unrecognizable to the installer.

Solution

                               Step 1     Contact the disk manufacturer to replace the faulty hard disk.

                               Step 2     Install the U2000 again.

----End

Suggestion and Summary

Check hardware before installing the U2000.