Operating System - HP-UX
1753879 Members
7644 Online
108809 Solutions
New Discussion

Re: Help With Failing System Disk

 
SOLVED
Go to solution
Clay Jordan
Advisor

Help With Failing System Disk

Hi All,

 

I need some help as it's been a while since I've done HP-UX administration. I have a failing mirrored system disk., "LVM: Failed to automatically resync PV 1f022000  error: 5" (/dev/dsk/c2t2d0). It  had been a while since the last make_recovery so I am running:

 

make_recovery -CAvid  /dev/rmt/0mn

 

That should give me a way to recover should the working disk start to cause a problem, correct ? The second issue is I need the system up an running as efficiently as possible before the disk arrives. What is the procedure to remove a bad disk from a mirrored pair ?

 

Just a little more not so relevant information. Of course, I am out of town on vacation. To make matters worse, they decided to do an unannounced cost roll on databases stored on this system which is in progress and why I need a functioning system as soon as possible. They also did an unannounced electrical system test where this server is located this past weekend forcing a shutdown and probaby causing the disk problem.

2 REPLIES 2
Clay Jordan
Advisor

Re: Help With Failing System Disk

I guess it would help to say:

 

model: 9000/800/L3000-7x

HP-UX 11.i v1

 

--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      9      
Open LV                     9      
Max PV                      16     
Cur PV                      2      
Act PV                      2      
Max PE per PV               4384         
VGDA                        4   
PE Size (Mbytes)            16              
Total PE                    8748    
Alloc PE                    7762    
Free PE                     986     
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/syncd           
   LV Size (Mbytes)            304             
   Current LE                  19        
   Allocated PE                38          
   Used PV                     2       

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd           
   LV Size (Mbytes)            8192            
   Current LE                  512       
   Allocated PE                1024        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/stale           
   LV Size (Mbytes)            512             
   Current LE                  32        
   Allocated PE                64          
   Used PV                     2       

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/syncd           
   LV Size (Mbytes)            1024            
   Current LE                  64        
   Allocated PE                128         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/stale           
   LV Size (Mbytes)            10000           
   Current LE                  625       
   Allocated PE                1250        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/stale           
   LV Size (Mbytes)            20000           
   Current LE                  1250      
   Allocated PE                2500        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/stale           
   LV Size (Mbytes)            5008            
   Current LE                  313       
   Allocated PE                626         
   Used PV                     2       

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/stale           
   LV Size (Mbytes)            15008           
   Current LE                  938       
   Allocated PE                1876        
   Used PV                     2       

   LV Name                     /dev/vg00/lv14
   LV Status                   available/syncd           
   LV Size (Mbytes)            4096            
   Current LE                  256       
   Allocated PE                256         
   Used PV                     1       


   --- Physical volumes ---
   PV Name                     /dev/dsk/c1t2d0
   PV Status                   available                
   Total PE                    4374    
   Free PE                     365     
   Autoswitch                  On        
   Proactive Polling           On               

   PV Name                     /dev/dsk/c2t2d0
   PV Status                   available                
   Total PE                    4374    
   Free PE                     621     
   Autoswitch                  On        
   Proactive Polling           On               

 

some dmesg snip:

 

SCSI: Read error -- dev: b 31 0x022000, errno: 126, resid: 1024,
        blkno: 8, sectno: 16, offset: 8192, bcount: 1024.
LVM: VG 64 0x000000: PVLink 31 0x022000 Failed! The PV is not accessible.
LVM: VG 64 0x000000: PVLink 31 0x022000 Recovered.

SCSI: Async write error -- dev: b 31 0x022000, errno: 126, resid: 8192,
        blkno: 16059752, sectno: 32119504, offset: 3560284160, bcount: 8192.

SCSI: Async write error -- dev: b 31 0x022000, errno: 126, resid: 8192,
        blkno: 10577680, sectno: 21155360, offset: 2241609728, bcount: 8192.

 

relevant ioscan:

 

target      0  0/0/1/0.7       tgt       CLAIMED     DEVICE       
ctl         0  0/0/1/0.7.0     sctl      CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c0t7d0
ext_bus     1  0/0/1/1         c720      CLAIMED     INTERFACE    SCSI C896 Ultra Wide Single-Ended
target      1  0/0/1/1.2       tgt       CLAIMED     DEVICE       
disk        0  0/0/1/1.2.0     sdisk     CLAIMED     DEVICE       HP 73.4GMAN3735MC
                              /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0
target      2  0/0/1/1.7       tgt       CLAIMED     DEVICE       
ctl         1  0/0/1/1.7.0     sctl      CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c1t7d0
ext_bus     2  0/0/2/0         c720      CLAIMED     INTERFACE    SCSI C87x Ultra Wide Single-Ended
target      3  0/0/2/0.2       tgt       CLAIMED     DEVICE       
disk        1  0/0/2/0.2.0     sdisk     CLAIMED     DEVICE       HP 73.4GMAN3735MC
                              /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0
target      4  0/0/2/0.7       tgt       CLAIMED     DEVICE       
ctl         2  0/0/2/0.7.0     sctl      CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c2t7d0

Kris_Knigga
Trusted Contributor
Solution

Re: Help With Failing System Disk

HP has a wonderful guide to dealing with failed disks.

 

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf

 


Kris Knigga