Operating System - HP-UX
1837724 Members
3016 Online
110118 Solutions
New Discussion

Re: Phantom Disc in ioscan

 
PetraHora
Occasional Advisor

Phantom Disc in ioscan

I have a hpux B.11.31 with 4 discs.

In my ioscan there are shown 5 discs. One (disk6) is not existent and maybe part an old configuration. The partitions of disk6 are spread over 3 hardware-pathes!

Here is the ioscan - output:

[root@server][/tmp]# ioscan -m lun
Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
tape 1 64000/0xfa00/0x0 estape CLAIMED DEVICE online HP Ultrium 2-SCSI
0/5/1/0.0x3.0x0
/dev/rtape/tape1_BEST /dev/rtape/tape1_BESTb /dev/rtape/tape1_BESTn /dev/rtape/tape1_BESTnb
disk 4 64000/0xfa00/0x1 esdisk CLAIMED DEVICE online HP DG146ABAB4
0/1/1/0.0x5000c500082f8115.0x0
/dev/disk/disk4 /dev/disk/disk4_p3 /dev/rdisk/disk4 /dev/rdisk/disk4_p3
/dev/disk/disk4_p1 /dev/disk/disk6_p1 /dev/rdisk/disk4_p1 /dev/rdisk/disk6_p1
/dev/disk/disk4_p2 /dev/disk/disk6_p2 /dev/rdisk/disk4_p2 /dev/rdisk/disk6_p2
disk 5 64000/0xfa00/0x2 esdisk CLAIMED DEVICE online HP DG146ABAB4
0/1/1/0.0x5000c500082ff01d.0x0
/dev/disk/disk5 /dev/disk/disk6 /dev/rdisk/disk5 /dev/rdisk/disk6
disk 7 64000/0xfa00/0x9 esdisk CLAIMED DEVICE online HP DG146ABAB4
0/1/1/0.0x5000c500082fecad.0x0
/dev/disk/disk6_p3 /dev/disk/disk7_p1 /dev/disk/disk7_p3 /dev/rdisk/disk7 /dev/rdisk/disk7_p2
/dev/disk/disk7 /dev/disk/disk7_p2 /dev/rdisk/disk6_p3 /dev/rdisk/disk7_p1 /dev/rdisk/disk7_p3
disk 9 64000/0xfa00/0xa esdisk CLAIMED DEVICE online HP DG146ABAB4
0/1/1/0.0x5000c500082fc4f1.0x0
/dev/disk/disk9 /dev/rdisk/disk9


My problem is: I am not able to remove disk6 (_p1, _p2, _p3)with rmsf because it is busy.

I tried to add disk7 as a alternative bootpath but I see:

[root@server][/tmp]# setboot
Primary bootpath : 0/1/1/0.0x5000c500082f8115.0x0 (/dev/rdisk/disk4)
HA Alternate bootpath :
Alternate bootpath : 0/1/1/0.0x5000c500082fecad.0x0 (/dev/rdisk/disk6_p3)

How can I get rid of disk6?

Here is some more:

[root@server][/tmp]# lssf /dev/disk/disk6_p3
esdisk section 0 at address 64000/0xfa00/0x9 /dev/disk/disk6_p3
[root@server][/tmp]# lssf /dev/disk/disk7
esdisk section 0 at address 64000/0xfa00/0x9 /dev/disk/disk7

[root@server][/tmp]# rmsf /dev/disk/disk6
Device /dev/disk/disk6 is busy. Cannot remove.



8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: Phantom Disc in ioscan

Please post

# model
# ioscan -fn
# ioscan -m dsf

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!   
PetraHora
Occasional Advisor

Re: Phantom Disc in ioscan

Here is the information:

[root@server][/tmp]# model
ia64 hp server rx2660


[root@server][/tmp]# 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 (4030)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
tty 0 0/0/1/0 rmp3f01 CLAIMED INTERFACE PCI class(255,0) (103c1303)
tty 1 0/0/1/1 rmp3f01 CLAIMED INTERFACE PCI SimpleComm (103c1302)
tty 2 0/0/1/2 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/diag/mux2 /dev/mux2 /dev/tty2p0
OO 0 0/0/2/0 UsbOhci CLAIMED INTERFACE PCI SerialBus (10330035)
OO 2 0/0/2/0.0 UsbMiniBus CLAIMED INTERFACE OO Device Driver
OO 4 0/0/2/0.0.0 UsbBootKeyboard CLAIMED DEVICE OO Device Driver
/dev/deviceFileSystem/Usb/Keyboard/keyboard@UnknownDevice-1008+4390=001b789f33a3
unknown -1 0/0/2/0.0.1 UNCLAIMED UNKNOWN OO Device Driver
OO 7 0/0/2/1 UsbOhci CLAIMED INTERFACE PCI SerialBus (10330035)
OO 6 0/0/2/1.0 UsbMiniBus CLAIMED INTERFACE OO Device Driver
OO 9 0/0/2/1.0.0 UsbBulkOnlyMS CLAIMED DEVICE OO Device Driver
disk 1 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED DEVICE OO Device Driver
/dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001 /dev/deviceFileSystem/Usb/MassStorage/rdsk/disk@hp-1008+294=A60020000001
OO 10 0/0/2/2 UsbEhci CLAIMED INTERFACE PCI SerialBus (103300e0)
graphics 0 0/0/3/0 gvid_core CLAIMED INTERFACE PCI Display (1002515e)
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
escsi_ctlr 0 0/1/1/0 sasd CLAIMED INTERFACE HP PCI/PCI-X SAS MPT Adapter
/dev/sasd0
ext_bus 2 0/1/1/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Device Interface
target 4 0/1/1/0.0.0.0 tgt CLAIMED DEVICE
disk 2 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
target 2 0/1/1/0.0.0.1 tgt CLAIMED DEVICE
disk 3 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
target 3 0/1/1/0.0.0.2 tgt CLAIMED DEVICE
disk 6 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t2d0 /dev/dsk/c2t2d0s2 /dev/rdsk/c2t2d0 /dev/rdsk/c2t2d0s2
/dev/dsk/c2t2d0s1 /dev/dsk/c2t2d0s3 /dev/rdsk/c2t2d0s1 /dev/rdsk/c2t2d0s3
target 1 0/1/1/0.0.0.3 tgt CLAIMED DEVICE
disk 8 0/1/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t3d0 /dev/rdsk/c2t3d0
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI-X 1000Base-T Dual-port Built-in
lan 1 0/1/2/1 igelan CLAIMED INTERFACE HP PCI-X 1000Base-T Dual-port Built-in
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 0 0/2/1 pci_slot CLAIMED SLOT PCI Slot
ba 3 0/3 gh2p CLAIMED BUS_NEXUS Local Bus Adapter
ba 4 0/3/0/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
slot 1 0/3/0/0/0 pci_slot CLAIMED SLOT PCI Slot
ba 5 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 2 0/4/1 pci_slot CLAIMED SLOT PCI Slot
ba 6 0/5 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 3 0/5/1 pci_slot CLAIMED SLOT PCI Slot
ext_bus 0 0/5/1/0 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60011
/dev/mpt0
target 0 0/5/1/0.3 tgt CLAIMED DEVICE
tape 0 0/5/1/0.3.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0BESTn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0BESTnb
ext_bus 1 0/5/1/1 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60011
/dev/mpt1
processor 0 120 processor CLAIMED PROCESSOR Processor
processor 1 121 processor CLAIMED PROCESSOR Processor
ba 7 250 pdh CLAIMED BUS_NEXUS Core I/O Adapter
ipmi 0 250/0 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
tty 3 250/1 asio0 CLAIMED INTERFACE Built-in RS232C
/dev/diag/mux3 /dev/mux3 /dev/tty3p0
acpi_node 0 250/2 acpi_node CLAIMED INTERFACE Acpi Hardware




[root@server][/tmp]# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rtape/tape1_BEST /dev/rmt/c0t3d0BEST
/dev/rtape/tape1_BESTn /dev/rmt/c0t3d0BESTn
/dev/rtape/tape1_BESTb /dev/rmt/c0t3d0BESTb
/dev/rtape/tape1_BESTnb /dev/rmt/c0t3d0BESTnb
/dev/rdisk/disk6_p1 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk6_p2 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk4 /dev/rdsk/c2t0d0
/dev/rdisk/disk4_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk4_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk4_p3 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk5 /dev/rdsk/c2t1d0
/dev/rdisk/disk6 /dev/rdsk/c2t1d0
/dev/rdisk/disk7_p1 /dev/rdsk/c2t2d0s1
/dev/rdisk/disk7_p2 /dev/rdsk/c2t2d0s2
/dev/rdisk/disk6_p3 /dev/rdsk/c2t2d0
/dev/rdisk/disk7 /dev/rdsk/c2t2d0
/dev/rdisk/disk7_p3 /dev/rdsk/c2t2d0s3
/dev/rdisk/disk9 /dev/rdsk/c2t3d0
Torsten.
Acclaimed Contributor

Re: Phantom Disc in ioscan

disk4 and disk6 are both on hw-path 0/1/1/0.0.0.0.0

*but*

disk4 is
0/1/1/0.0x5000c500082f8115.0x0

disk6 is
0/1/1/0.0x5000c500082fecad.0x0

Did you replace this disk?

If yes, what was the procedure?

You should use this procedure:

http://docs.hp.com/en/5992-3385/ch04s08.html?jumpid=reg_R1002_USEN

I think this step was missing:

# io_redirect_dsf ...



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!   
PetraHora
Occasional Advisor

Re: Phantom Disc in ioscan

This server is new to me. I dont know what has happend before. My job is to make the config clean :-)

I thought about this steps, but maybe there is a better way?

1)
vg00 contains disk4
vg01 contains disk5
cleanup the disk6_p3

2)
add disk7 to vg00 and make a mirror
add disk9 to vg01 and make a mirror

3)
remove disk4 and disk5 from the VGs

4)
cleanup the disk6, disk6_p1 and disk6_p2

Thank you!
PetraHora
Occasional Advisor

Re: Phantom Disc in ioscan

Ok, I have done it that way. My config is now clean.

Thank you.
PetraHora
Occasional Advisor

Re: Phantom Disc in ioscan

closed
Torsten.
Acclaimed Contributor

Re: Phantom Disc in ioscan

Just for my interest: how did you manage your "cleanup"?

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!   
PetraHora
Occasional Advisor

Re: Phantom Disc in ioscan

Here for example I have the steps for vg01:

pvcreate /dev/rdisk/disk9
vgextend vg01 /dev/disk/disk9

lvextend -s -m 1 /dev/vg01/lvol1 /dev/disk/disk9
lvextend -s -m 1 /dev/vg01/lvol2 /dev/disk/disk9
lvsync -T /dev/vg01/lvol*

lvreduce -m 0 /dev/vg01/lvol1 /dev/disk/disk5
lvreduce -m 0 /dev/vg01/lvol2 /dev/disk/disk5

vgreduce /dev/vg01 /dev/disk/disk5
rmsf /dev/disk/disk6
rmsf /dev/rdisk/disk6

vgextend vg01 /dev/disk/disk5

lvextend -s -m 1 /dev/vg01/lvol1 /dev/disk/disk5
lvextend -s -m 1 /dev/vg01/lvol2 /dev/disk/disk5
lvsync -T /dev/vg01/lvol*

VG00 was a little bit more tricky because it is the boot-disk. Also I had to cleanup both hardware-pathes and the mirror was already established. So I needed to mirror the data one more time. But finaly my config is clean and both VGs are mirrored

/dev/rdisk/disk4 /dev/rdsk/c2t0d0
/dev/rdisk/disk4_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk4_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk4_p3 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk5 /dev/rdsk/c2t1d0
/dev/rdisk/disk7 /dev/rdsk/c2t2d0
/dev/rdisk/disk7_p1 /dev/rdsk/c2t2d0s1
/dev/rdisk/disk7_p2 /dev/rdsk/c2t2d0s2
/dev/rdisk/disk7_p3 /dev/rdsk/c2t2d0s3
/dev/rdisk/disk9 /dev/rdsk/c2t3d0