Operating System - HP-UX
1748268 Members
3601 Online
108760 Solutions
New Discussion

Re: HP-Unix 11.31 Hard Disk Failure

 
SOLVED
Go to solution
Raoof
Regular Advisor

HP-Unix 11.31 Hard Disk Failure

Dear Mr. Torsten,

 

I would like to thank you for your effort which you put for giving an excellent reply to one of the post which was submitted on 07-25-2008 11:50 AM. Your reply to that post was really really highly appreciated, as am a newbie in this environment was desperately looking for the solution for the same problem of hard disk failure which i faced in my company.

 

FYI, I run the below commands to get the required output. Find attached the file with the complete output of SAUTIL

 

# sautil /dev/ciss3


---- 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

  internal  2I   1   8  0x5000c500235b5741  DISK       146.8 GB  OK        
  N/A       2I   1   7  0x5000c500235e0625  N/A        N/A       
  internal  2I   1   6  0x5000c500235de691  DISK       146.8 GB  OK        
  internal  2I   1   5  0x5000c500235de8c1  DISK       146.8 GB  UNASSIGNED

******************************************************************************
From the output of SAUTIL, it clearly shows that the disk got failed on this we opened the request with hp-support on which we received a new peice of hd.

We replaced the old hd with the new one after that i got the below message from the output of SAUTIL

 

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

 

       #   RAID      Size        Status  

 

       0   5        279960 MB    OK       

 

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

 

  Location  Ct Enc Bay       WWID           Type        Capacity Status

 

  internal  2I   1   8  0x5000c500235b5741  DISK       146.8 GB  OK       

  internal  2I   1   7  0x5000c5003c4d8e45  DISK       146.8 GB  OK       

  internal  2I   1   6  0x5000c500235de691  DISK       146.8 GB  OK       

  internal  2I   1   5  0x5000c500235de8c1  DISK       146.8 GB  UNASSIGNED

 

Ok, as am a newbie i need some clarifcation from the above procedure of replacing the hd on failure. Will the server needs to be restart on replacing the hd? And also as you can see that one of the disk status is UNASSIGNED instead of SPARE on this i need your valuable advice and assistance. Will be really grateful if you could please let me know the process to make that disk to be get used autoatically in such a way that if incase one of the disk fails the spared one should immediatly get active.

 

Thanks & Best Regards

Syed

6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: HP-Unix 11.31 Hard Disk Failure

Hi,

 

this smartarray controller is the same as used in Proliant servers and works similar.

 

You can just replace a failed, disk, the controller will sync this disk.

 

For the UNASSIGNED drive:

This doesn't belong to a logical drive and isn't a spare.

 

To add as spare, do this (example):

 

Adding a Spare Disk Drive


# saconfig /dev/cissX -A <Logical drive #> -s
<Channel:Target> command is used to add a spare physical disk to an existing
logical drive:

# saconfig /dev/ciss7 -A 0 -s 1:3
Spare drive 1:3 added to Logical drive 0
You can add multiple spare physical disks to a logical drive, depending on the
number of physical disks in the array that are not in use.

 

In your case the logical drive is "0", disk is 2I:1:5 and controller is /dev/ciss0


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!   
pradeep m
Respected Contributor

Re: HP-Unix 11.31 Hard Disk Failure

Hi,

 

From the post I see that the 4th physical disk is in "Unassigned" state and would like to make it as SPARE.


internal 2I 1 5 0x5000c500235de8c1 DISK 146.8 GB UNASSIGNED


Analyzed your SAUTIL_Output.txt file and following are my observations
-> 1 Logical drive configured (/dev/dsk/c0t0d0) with first 3 physical disks participation.
-> the 4 disk (0x5000c500235de8c1) is not a part of any logical drive and hence its in UNASSIGNED state.

 

So if you would like to configure the 4 disk as SPARE disk, you would need to configure it manually.


To add spare drive to existing logical drive, use the below command syntax.


# saconfig /dev/cissX -A <Logical drive #> -s <Channel:Target>
# sautil /dev/cissX --> check if the disk is added as spare to the logical drive. 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Raoof
Regular Advisor

Re: HP-Unix 11.31 Hard Disk Failure

Hey Torsten,

 

I'm extremely grateful for you for answering my questions so promptly, thanks a lot. It worked smoothely.

 

Have configured the disk as SPARE successfully.

 

mcmsdbl2#saconfig /dev/ciss0

******************** SmartArray RAID Controller /dev/ciss0 ********************

Auto-Fail Missing Disks at Boot     = disabled
Cache Configuration Status          = cache enabled
Cache Ratio                         = 25% Read / 75% Write

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

Location  Ct Enc Bay       WWID           Size       Status

Internal  2I   1   8  0x5000c500235b5741  146.8 GB   OK        
Internal  2I   1   7  0x5000c5003c4d8e45  146.8 GB   OK        
Internal  2I   1   6  0x5000c500235de691  146.8 GB   OK        
Internal  2I   1   5  0x5000c500235de8c1  146.8 GB   SPARE     

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

Device File     = c0t0d0
RAID Level      = 5
Size            = 279960 MB
Stripe Size     = 64 KB
Status          = OK

Participating Physical Drive(s):

Ct  Enc  Bay         WWID           
2I    1    8  0x5000c500235b5741
2I    1    7  0x5000c5003c4d8e45
2I    1    6  0x5000c500235de691

Participating Spare Drive(s):

Ct  Enc  Bay         WWID           
2I    1    5  0x5000c500235de8c1

 

Thanks once again.

 

Regards

Raoof
Regular Advisor

Re: HP-Unix 11.31 Hard Disk Failure

Hey Pradeep,

 

 

Thank you very much for taking the time to reply to me. I really appreciate it and your response was really very helpful for me to get rid out from those configuring queries very easily that too in a very grate understandable manner.

 

 

Thanks.

Raoof
Regular Advisor

Re: HP-Unix 11.31 Hard Disk Failure

Dear Torsten,

 

I will be really thankful if you could please let me know what exactly the difference between the below two results which appears after giving these two commands ( bdf and sautil /dev/ciss0 -s)

 

mcmsdbl1# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1048576  267776  774792   26% /
/dev/vg00/lvol1    1835008  342792 1480632   19% /stand
/dev/vg00/lvol8    8912896 5815416 3076496   65% /var
/dev/vg00/lvol7    5963776 3024968 2915896   51% /usr
/dev/vg00/lvo19    62914560 29124241 31678431   48% /u01
/dev/vg00/lvol4     524288   26984  494568    5% /tmp
/dev/vg00/lvol6    9043968 6929576 2097992   77% /opt
/dev/vg00/lvol5     131072    5432  124664    4% /home
/dev/vg00/lvo20    62914560   82195 58905477    0% /backup


mcmsdbl1# sautil /dev/ciss0 -s

 

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

       #   RAID      Size        Status   

       0   5        279960 MB    OK        


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

  Location  Ct Enc Bay       WWID           Type        Capacity Status

  internal  2I   1   8  0x5000c500235b646d  DISK       146.8 GB  OK        
  internal  2I   1   7  0x5000c500235df251  DISK       146.8 GB  OK        
  internal  2I   1   6  0x5000c500235e1449  DISK       146.8 GB  OK        
  internal  2I   1   5  0x5000c500235d1425  DISK       146.8 GB  SPARE     

Whats the relation between those slices and physical disks and what kind of information resides on those above disk's, will it needs to be backed up? how i can come to know the usage of those disks?

 

Thanks & Regards

Syed

 



pradeep m
Respected Contributor

Re: HP-Unix 11.31 Hard Disk Failure

Hi Syed,

 

The sautil command provides detailed information about the Smart Array controller hardware RAID configuration, any logical drives that have been configured, and all SCSI devices that are attached to the controller.


sautil -s option provides a shorter and less detailed output.

 

In your case you have 4 internal physical disks and created a Logical drive 0 (/dev/dsk/c0t0d0) with RAID 5 configuration. This logical drive 0 (/dev/dsk/c0t0d0) is presented as a HP-UX Boot disk. 

 

The bdf command displays the amount of free disk space available on the file systems in the Boot disk (/dev/dsk/c0t0d0).

 

You can always take a backup of HP-UX boot disk using Ignite-UX utility.

 

The same data residing in the boot disk is distributed across the physical disks as per the RAID configuration.

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details