Operating System - HP-UX
1757037 Members
2631 Online
108858 Solutions
New Discussion

Re: ioscan shows CLAIMED but do not appear in vgdisplay

 
yeazas
Occasional Advisor

ioscan shows CLAIMED but do not appear in vgdisplay

Hi gurus,

We have 4 disks under vg00 but disk c4t8d0 is not appear when we execute vgdisplay command. From the ioscan, it shows CLAIMED. Diskinfo command shows size 0 KBytes. It's alternate boot disk. We plan to change the disk. Do u mind to share with us steps that we need to take to replace the disk?

 

ioscan -fn     


Class       I  H/W Path       Driver    S/W State   H/W Type     Description
=============================================================================
root        0                 root      CLAIMED     BUS_NEXUS    
ioa         0  0              sba       CLAIMED     BUS_NEXUS    System Bus Adapter (880)
ba          0  0/0            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
usb         0  0/0/1/0        hcd       CLAIMED     INTERFACE    NEC USB Interface
usbhub      0  0/0/1/0.1      hub       CLAIMED     DEVICE       USB Root Hub
usb         1  0/0/1/1        hcd       CLAIMED     INTERFACE    NEC USB Interface
usbhub      1  0/0/1/1.1      hub       CLAIMED     DEVICE       USB Root Hub
                             /dev/hub
usb         2  0/0/1/2        ehci      CLAIMED     INTERFACE    NEC USB Interface
sideba      0  0/0/2/0        side_ba   CLAIMED     INTERFACE    CMD IDE controller
ext_bus     0  0/0/2/0.0      side      CLAIMED     INTERFACE    IDE Primary Channel
target      0  0/0/2/0.0.0    tgt       CLAIMED     DEVICE       
disk        0  0/0/2/0.0.0.0  sdisk     CLAIMED     DEVICE       HL-DT-STDVD+RW GCA-4040N
                             /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
target      1  0/0/2/0.0.7    tgt       CLAIMED     DEVICE       
ctl         0  0/0/2/0.0.7.0  sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c0t7d0
ext_bus     1  0/0/2/0.1      side      CLAIMED     INTERFACE    IDE Secondary Channel
target      2  0/0/2/0.1.7    tgt       CLAIMED     DEVICE       
ctl         1  0/0/2/0.1.7.0  sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c1t7d0
ba          1  0/1            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
ext_bus     2  0/1/1/0        c8xx      CLAIMED     INTERFACE    SCSI C1010 Ultra160 Wide LVD
target      3  0/1/1/0.0      tgt       CLAIMED     DEVICE       
disk        1  0/1/1/0.0.0    sdisk     CLAIMED     DEVICE       HP 36.4GST336754LC
                             /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0
target      4  0/1/1/0.7      tgt       CLAIMED     DEVICE       
ctl         2  0/1/1/0.7.0    sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c2t7d0
ext_bus     3  0/1/1/1        c8xx      CLAIMED     INTERFACE    SCSI C1010 Ultra160 Wide LVD
target      5  0/1/1/1.1      tgt       CLAIMED     DEVICE       
tape        1  0/1/1/1.1.0    stape     CLAIMED     DEVICE       HP      C7438A
                             /dev/rmt/1m            /dev/rmt/c3t1d0BESTn 
                             /dev/rmt/1mb           /dev/rmt/c3t1d0BESTnb
                             /dev/rmt/1mn           /dev/rmt/c3t1d0DDS   
                             /dev/rmt/1mnb          /dev/rmt/c3t1d0DDSb  
                             /dev/rmt/c3t1d0BEST    /dev/rmt/c3t1d0DDSn  
                             /dev/rmt/c3t1d0BESTb   /dev/rmt/c3t1d0DDSnb 
target      6  0/1/1/1.2      tgt       CLAIMED     DEVICE       
disk        2  0/1/1/1.2.0    sdisk     CLAIMED     DEVICE       HP 36.4GMAS3367NC
                             /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0
target      7  0/1/1/1.7      tgt       CLAIMED     DEVICE       
ctl         3  0/1/1/1.7.0    sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c3t7d0
lan         0  0/1/2/0        igelan    CLAIMED     INTERFACE    HP PCI 1000Base-T Core
ba          2  0/2            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
ba          3  0/3            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
lan         1  0/3/1/0        iether    CLAIMED     INTERFACE    HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter
lan         2  0/3/1/1        iether    CLAIMED     INTERFACE    HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter
ba          4  0/4            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
ext_bus     4  0/4/1/0        c8xx      CLAIMED     INTERFACE    SCSI C1010 Ultra160 Wide LVD
target      8  0/4/1/0.7      tgt       CLAIMED     DEVICE       
ctl         4  0/4/1/0.7.0    sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c4t7d0
target      9  0/4/1/0.8      tgt       CLAIMED     DEVICE       
disk        5  0/4/1/0.8.0    sdisk     CLAIMED     DEVICE       HP 36.4GST336753LC
                             /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0
target     10  0/4/1/0.10     tgt       CLAIMED     DEVICE       
disk        6  0/4/1/0.10.0   sdisk     CLAIMED     DEVICE       HP 36.4GMAU3036NC
                             /dev/dsk/c4t10d0   /dev/rdsk/c4t10d0
ba          5  0/6            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
ba          6  0/7            lba       CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (783)
tty         0  0/7/1/0        asio0     CLAIMED     INTERFACE    PCI SimpleComm (103c1290)
                             /dev/diag/mux0  /dev/mux0       /dev/tty0p0   
tty         1  0/7/1/1        asio0     CLAIMED     INTERFACE    PCI Serial (103c1048)
                             /dev/GSPdiag1   /dev/mux1       /dev/tty1p2   
                             /dev/diag/mux1  /dev/tty1p0     /dev/tty1p4   
unknown    -1  0/7/2/0                  UNCLAIMED   UNKNOWN      PCI Display (10025159)
memory      0  8              memory    CLAIMED     MEMORY       Memory
ipmi        0  16             ipmi      CLAIMED     INTERFACE    IPMI Controller
                             /dev/ipmi
processor   0  128            processor CLAIMED     PROCESSOR    Processor
processor   1  129            processor CLAIMED     PROCESSOR    Processor
processor   2  152            processor CLAIMED     PROCESSOR    Processor
processor   3  153            processor CLAIMED     PROCESSOR    Processor
vgdisplay -v     


--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      8      
Open LV                     8      
Max PV                      16     
Cur PV                      4      
Act PV                      3      
Max PE per PV               4350         
VGDA                        6   
PE Size (Mbytes)            8               
Total PE                    13020   
Alloc PE                    7348    
Free PE                     5672    
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/stale           
   LV Size (Mbytes)            304             
   Current LE                  38        
   Allocated PE                76          
   Used PV                     1       

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/stale           
   LV Size (Mbytes)            8200            
   Current LE                  1025      
   Allocated PE                2050        
   Used PV                     1       

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

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/stale           
   LV Size (Mbytes)            200             
   Current LE                  25        
   Allocated PE                50          
   Used PV                     1       

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/syncd           
   LV Size (Mbytes)            5000            
   Current LE                  625       
   Allocated PE                1250        
   Used PV                     2       

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/stale           
   LV Size (Mbytes)            17488           
   Current LE                  2186      
   Allocated PE                4372        
   Used PV                     1       

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/stale           
   LV Size (Mbytes)            2048            
   Current LE                  256       
   Allocated PE                512         
   Used PV                     1       

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/stale           
   LV Size (Mbytes)            13000           
   Current LE                  1625      
   Allocated PE                3250        
   Used PV                     3       


   --- Physical volumes ---
   PV Name                     /dev/dsk/c2t0d0
   PV Status                   available                
   Total PE                    4340    
   Free PE                     0       
   Autoswitch                  On        

   PV Name                     /dev/dsk/c3t2d0
   PV Status                   available                
   Total PE                    4340    
   Free PE                     2836    
   Autoswitch                  On        

   PV Name                     /dev/dsk/c4t10d0
   PV Status                   available                
   Total PE                    4340    
   Free PE                     2836    
   Autoswitch                  On        
2 REPLIES 2
rariasn
Honored Contributor

Re: ioscan shows CLAIMED but do not appear in vgdisplay

Hi:

 

HPUX 11.11

->  Replace disk

# ioscan -fnCdisk

# pvcreate -fB /dev/rdsk/c4t8d0

# mkboot /dev/dsk/c4t8d0

# mkboot -a "hpux -lq" /dev/dsk/c4t8d0

# lifls /dev/dsk/c4t8d0

# lifcp /dev/dsk/c4t8d0:AUTO -

# vgcfgrestore -n vg00 /dev/rdsk/c4t8d0

# vgdisplay -v vg00

# vgchange -a y vg00

# vgdisplay -v /dev/vg00 | grep -i stale | wc -l

# pvdisplay -v /dev/dsk/c4t8d0 | grep -i stale | wc -

# lvlnboot -v vg00

 

When Good Disks Go Bad: Dealing with Disk Failures under LVM

 

http://h30499.www3.hp.com/t5/LVM-and-VxVM/ioscan-shows-CLAIMED-but-do-not-appear-in-vgdisplay/m-p/5780721#.UDx4MVGr_09

 

rgs.

yeazas
Occasional Advisor

Re: ioscan shows CLAIMED but do not appear in vgdisplay

Hi rariasn,

Thanks for your reply. I will update here once I successfully perform these commands.

 

Thanks.