Integrity Servers
1825904 Members
3662 Online
109689 Solutions
New Discussion

doubt - replace disk - HPUX Itanium

 
SOLVED
Go to solution
cla1
Occasional Advisor

doubt - replace disk - HPUX Itanium

Good morning!

      I need to replace two damaged disks from a HP RX2660. It's in RAID but I don't know exactly

which type of RAID.  It's  an HPUX 11.23 with 4 disks of 146GB. The disk I can see is at  "sam"

is a logical volume with 279960MB.

     Could you help with?

    1) How can I see the type of RAID?  I suppose it´s a RAID 5 with a hot spare disk.

    2) Can I replace it with a used disk from another system?

        Can i zero the used disk first  at Linux with the command dd if=/dev/zero  of=/dev/xxx where /dev/xxx is the  disk I want do use to replace the damaged one.

    3)  Is the command below the correct one to backup the operating system via network  with all the installed products?

         make_net_recovery -v -x inc_entire=/dev/vg00 -n 1 -s mmmmmm -a x.x.x.x:/area-backup/backup-hpux

    4) I intend to backup, shutdown the machine replace one disk and simply turn on the machine . Then

         I intend to shutdown and do the same procedure with the remaining damaged disk.  Is it correct?

 

      Could you help me?

                                  Please.

                                                      Regards,

                                                                                     Claudia

   

 

 

 

11 REPLIES 11
Torsten.
Acclaimed Contributor

Re: doubt - replace disk - HPUX Itanium

First of all, please post a

ioscan -fn


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
cla1
Occasional Advisor

Re: doubt - replace disk - HPUX Itanium

Hi,

The command "ioscan -fn"  shows the following information about the disks. How can I know what kind of RAID

it is configured?

==================================================================================

ext_bus      1  0/3/0/0/0/0     ciss            CLAIMED     INTERFACE    PCIe SAS SmartArray P400 RAID Controller

                               /dev/ciss1

target       2  0/3/0/0/0/0.0   tgt             CLAIMED     DEVICE

disk         1  0/3/0/0/0/0.0.0   sdisk           CLAIMED     DEVICE       HP      LOGICAL VOLUME

  /dev/dsk/c1t0d0     /dev/dsk/c1t0d0s1   /dev/dsk/c1t0d0s2   /dev/dsk/c1t0d0s3   /dev/rdsk/c1t0d0    /dev/rdsk/c1t0d0s1  /dev/rdsk/c1t0d0s2  /dev/rdsk/c1t0d0s3

target       5  0/3/0/0/0/0.7   tgt             CLAIMED     DEVICE

ctl          3  0/3/0/0/0/0.7.0   sctl            CLAIMED     DEVICE       Initiator

=====================================================================================

Regards,

Cláudia

 

Torsten.
Acclaimed Contributor

Re: doubt - replace disk - HPUX Itanium

Looks good.

Now please post

sautil /dev/ciss1

saconfig /dev/ciss1


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
cla1
Occasional Advisor

Re: doubt - replace disk - HPUX Itanium

Hi,

Thank you for your help. Seems that  I lost the spare disk and one disk of Raid 5...

Can I replace it with a HP disk with the same part number but different firmware? I found a used one that I intend

to zero with the command at Linux dd  if=/dev/zero of=/dev/xxx. Will it work?

Or,

Any disk with the same part number will work?  Can I simply shutdown and replace the disk?

Do I need to replace first the spare disk or the damaged raid 5 disk?

Below the output of the command:

SACONFIG

******************** SmartArray RAID Controller /dev/ciss1 ********************

Auto-Fail Missing Disks at Boot = disabled
Cache Configuration Status = write cache temporarily disabled (code=1)
Cache Ratio = 25% Read / 75% Write

---------- PHYSICAL DRIVES ----------

Location Ct Enc Bay WWID Size Status

Internal 1I 1 7 0x5000c5000adf297d 146.8 GB OK
Internal 1I 1 6 0x5000c5000717fea1 146.8 GB OK

---------- LOGICAL DRIVE 0 ----------

Device File = c1t0d0
RAID Level = 5
Size = 279960 MB
Stripe Size = 64 KB
Status = USING INTERIM RECOVERY MODE

Participating Physical Drive(s):

Ct Enc Bay WWID
1I 1 8 0x5000c500012f08d9
1I 1 7 0x5000c5000adf297d
1I 1 6 0x5000c5000717fea1

Participating Spare Drive(s):

Ct Enc Bay WWID
1I 1 5 0x5000c50007180f2d

=========================================================

SAUTIL

********************************************************************************** ****
**** S A U T I L S u p p o r t U t i l i t y ****
**** ****
**** for the HP SmartArray RAID Controller Family ****
**** ****
**** version A.02.12 ****
**** ****
**** (C) Copyright 2003-2007 Hewlett-Packard Development Company, L.P. ****
******************************************************************************

 

---- DRIVER INFORMATION ------------------------------------------------------

Driver State........................ READY

---- CONTROLLER INFORMATION --------------------------------------------------

Controller Product Number........... P400
Controller Product Name............. HP PCIe SmartArray P400
Hardware Path....................... 0/3/0/0/0/0
Serial Number....................... P61620F9VV4C5Y
Device File......................... /dev/ciss1
Hardware Revision................... 'D'
Boot Block Revision................. 0.02
Firmware Revision (running)......... 2.08
Firmware Revision (in ROM).......... 2.08
Firmware Revision (inactive)........ 2.08
# of Logical Drives................. 1
# of Physical Disks Configured...... 4
# of Physical Disks Detected........ 2
Logical Drive Rebuild Priority...... 0 (low)
Array Capacity Expansion Priority... 0 (low)
Auto-Fail Missing Disks at Boot..... disabled
SCSI Transfer Detection Mode........ Auto Detect


---- ARRAY ACCELERATOR (CACHE) INFORMATION -----------------------------------

Array Accelerator Board Present?.... yes
Cache Configuration Status.......... write cache temporarily disabled (code=1)
Cache Ratio......................... 25% Read / 75% Write
Total Cache Size (MB)............... 208
Read Cache........................ 052
Write Cache....................... 156
Transfer Buffer................... 000
Battery Pack Count.................. 1
Battery Status (pack #1)............ FAILED


---- LOGICAL DRIVE SUMMARY ---------------------------------------------------

# RAID Size Status

0 5 279960 MB USING INTERIM RECOVERY MODE


---- SAS/SATA DEVICE SUMMARY -------------------------------------------------

Location Ct Enc Bay WWID Type Capacity Status

N/A 1I 1 8 0x5000c500012f08d9 N/A N/A FAILED
internal 1I 1 7 0x5000c5000adf297d DISK 146.8 GB OK
internal 1I 1 6 0x5000c5000717fea1 DISK 146.8 GB OK
N/A 1I 1 5 0x5000c50007180f2d N/A N/A FAILED


---- SAS/SATA ENCLOSURE SUMMARY ----------------------------------------------

Location Ct Enc Expander_count Bay_count SEP_count

internal 1I 1 0 4 1
internal 2I 1 0 4 1


---- LOGICAL DRIVE 0 ---------------------------------------------------------

Logical Drive Device File........... c1t0d0
Fault Tolerance Mode................ RAID 5 (Distributed Data Guarding)
Logical Drive Size.................. 279960 MB
Logical Drive Status................ USING INTERIM RECOVERY MODE
# of Participating Physical Disks... 3

Participating Physical Disk(s)...... Ct:Enc:Bay:WWID
:0:0:0x0000000000000000 <-- NOT RESPONDING
1I:1:7:0x5000c5000adf297d
1I:1:6:0x5000c5000717fea1

Participating Spare Disk(s)......... Ct:Enc:Bay:WWID
1I:1:5:0x5000c50007180f2d <-- NOT RESPONDING

Stripe Size......................... 64 KB
Logical Drive Cache Status.......... write cache temporarily disabled (code=1)
Configuration Signature............. 0xA7168F9D
Media Exchange Detected?............ no

---- SAS/SATA DEVICE 1I:1:7:0x5000c5000adf297d [DISK] ------------------------

Connector Location............................... internal
Connector........................................ 1I
Enclosure........................................ 1
Bay.............................................. 7
WWID............................................. 0x5000c5000adf297d
Device Type...................................... DISK
Disk Capacity.................................... 146.8 GB
Device Status.................................... OK
Device Vendor ID................................. SEAGATE
Device Product ID................................ ST914602SSUN146G
Device Serial Number............................. 1595DNZN 3NM5DNZN
Device Firmware Version.......................... 0603
Reserved Area (cfg/status info).................. 33554.4 KB (33.6 MB)
Block Size (bytes/sector)........................ 512 bytes
M&P Data Stamped?................................ no
Last Failure Reason.............................. MARK BAD FAILED

Physical Disk Flags:
Disk present and operational................... yes
Non-disk device detected....................... no

S.M.A.R.T. supported........................... yes
S.M.A.R.T. errors (in factory M&P data)........ no
S.M.A.R.T. enabled............................. yes
S.M.A.R.T. errors (in powerup M&P data)........ no
Attached to external connector................. no
Configured in a logical drive.................. yes
Configured as a spare disk..................... no
Disk write cache enabled at spin up............ no

Supports redundant controller operation........ no
Disk write cache enabled in current page....... no
Disk write cache disabled in default page...... no

 

---- SAS/SATA DEVICE 1I:1:6:0x5000c5000717fea1 [DISK] ------------------------

Connector Location............................... internal
Connector........................................ 1I
Enclosure........................................ 1
Bay.............................................. 6
WWID............................................. 0x5000c5000717fea1
Device Type...................................... DISK
Disk Capacity.................................... 146.8 GB
Device Status.................................... OK
Device Vendor ID................................. HP
Device Product ID................................ DG146ABAB4
Device Serial Number............................. 3NM38C2Z00009810KG3U
Device Firmware Version.......................... HPD7
Reserved Area (cfg/status info).................. 33554.4 KB (33.6 MB)
Block Size (bytes/sector)........................ 512 bytes
M&P Data Stamped?................................ yes
Last Failure Reason.............................. none

Physical Disk Flags:
Disk present and operational................... yes
Non-disk device detected....................... no

S.M.A.R.T. supported........................... yes
S.M.A.R.T. errors (in factory M&P data)........ no
S.M.A.R.T. enabled............................. yes
S.M.A.R.T. errors (in powerup M&P data)........ no
Attached to external connector................. no
Configured in a logical drive.................. yes
Configured as a spare disk..................... no
Disk write cache enabled at spin up............ no

Supports redundant controller operation........ no
Disk write cache enabled in current page....... no
Disk write cache disabled in default page...... yes

 

 

******************************************************************************
**** End of SAUTIL Output ****
******************************************************************************

Torsten.
Acclaimed Contributor
Solution

Re: doubt - replace disk - HPUX Itanium

Your data is highly at risk!

A spare disk with the same HP spare part # will work, no need to prepare the disk.

Just swap the disk in slot 8 first online, wait until the recovery has finished.

Then swap disk in slot 5 (spare). Finally shut down and replace the battery.

Hopy you have a good backup.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
cla1
Occasional Advisor

Re: doubt - replace disk - HPUX Itanium

Hi,

  I executed for backup:

make_net_recovery -Av -x inc_entire=/dev/vg00 -x exclude=/dir1 -x exclude=/dir2  -s mmmmm -a h.h.h.h:/disk/backup-area

where:  /dir1 = library that I want to exclude for backup          /dir2 = library that I want to exclude for backup

          mmmmmm = machine name    h.h.h.h.h:/disk/backup-area = ip address and directory of network backup

          It finished with  the following warnings. Is the backup good for restore?

================================================================

 * /opt/ignite/bin/save_config -f /var/opt/ignite/recovery/client_mnt/0x0
01B789FD005/recovery/2020-09-15,06:29/system_cfg vg00
save_config: warning - /dev/vg00/rawtst has unknown type of filesystem on it
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
  .   

  .

 NOTE: Could not read the /etc/resolv.conf file.
* Creating CINDEX Configuration File

* /opt/ignite/bin/manage_index -q -c 2020-09-15,06:29\ Recovery\ Archive
-i /var/opt/ignite/recovery/client_mnt/0x001B789FD005/CINDEX -u
Recovery\ Archive


======= 09/15/20 06:57:48 SAT make_net_recovery completed with warnings

================================================================

 

 

 

cla1
Occasional Advisor

Re: doubt - replace disk - HPUX Itanium

Hi,

   In addition to the last message/question:

   Can I use a disk with the same "Part Number / HP Model/  Firmware" without doing nothing (format with zero, etc) even if it is a "used" one coming from another server with for example AIX or  maybe Windows system?

Regards,

      Claudia 

  

Torsten.
Acclaimed Contributor

Re: doubt - replace disk - HPUX Itanium

You can use a HDD that has the same spare part #.

Insert the disk while the system is up and running, so it does no matter what is on the drive.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
cla1
Occasional Advisor

Re: doubt - replace disk - HPUX Itanium

Hi,

   is the following command enough for the  backup of the HPUX system and all HPUX related  programs/utilities programs that was installed at this machine? I excluded  at this command the backup of user application's directories  and database.

Command:

make_net_recovery -Av -x inc_entire=/dev/vg00 -x exclude=/dir1 -x exclude=/dir2 -s mmmmm -a h.h.h.h:/disk/bkp-dir

where:  mmmmmm = machine that I need to backup

            h.h.h.h.h       = ip address of the machine where the backup will be saved

It ended with warning of  not finding /etc/resolv.conf  and a test lvm area that is not used.

Regards,

Cláudia

 

cla1
Occasional Advisor

Re: doubt - replace disk - HPUX Itanium

Hi,

    Finally today, after receiving the disks, I replaced the disk from slot 5 first  and then after rebuilding raid 5 (it took about an hour for 146GB disk), I replaced the one at slot 8 (it immediately got the status of spare).

    I didn't shutdown the machine for replacing the battery. I don't have it yet -  I need  to find it.

     Thank you Torsten for your help!!

 Claudia

 

cokehpux
Advisor

Re: doubt - replace disk - HPUX Itanium

I thought from your outputs....

 

disk in slot5 is a spare and

disk in slot8 has data ?