Operating System - HP-UX
1752806 Members
5759 Online
108789 Solutions
New Discussion юеВ

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

 
Tariq Hasan_1
Frequent Advisor

ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

I hav a disk as claimed in ioscan -fnCdisk, but I cannot pvdisplay it, and diskinfo shows 0 bytes.

Regards

Tariq
19 REPLIES 19
sujit kumar singh
Honored Contributor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

hi can you post the O/Ps of both the ioscan as well as the diskinfo?

this can be a failing diks.

can you try reading some data from the disk?

dd if=/dev/dsk/cXtYdZ of=/dev/null

also please see using the pvdisplay /dev/dsk/cxtydz and tell the informations.


regards
sujit
R.K. #
Honored Contributor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

Hi Tariq,

Probably the disk is gone bad. Still you can check.

Check the status of the disk through cstm:
# cstm
cstm>map
cstm>sel all <- to see all details
cstm>sel dev 20 <- (20 is the dev num for my disk)
cstm>info
cstm>il

Check the details.

You can also try removing the special files and then recreating it again.
# rmsf -H
# insf -eH

Also try the dd test.
Don't fix what ain't broke
Tariq Hasan_1
Frequent Advisor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

SCSI describe of /dev/rdsk/c3t2d0:
vendor: HP 73.4G
product id: ST373454LC
type: direct access
size: 0 Kbytes
bytes per sector: 0
rev level: HPC2
blocks per disk: 0
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
(Additional inquiry bytes: (32)20 (33)20 (34)20 (35)20 (36)20 (37)20 (38)20 (39)20 (40)20 (41)20 (42)20 (43)20 (44)20 (45)20 (46)20 (47)20 (48)20 (49)20 (50)20 (51)f (52)0 (53)0 (54)60 (55)a (56)dc (57)b (58)59 (59)3 (60)1 (61)3 (62)22 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 (91)0 (92)43 (93)6f (94)70 (95)79 (96)72 (97)69 (98)67 (99)68 (100)74 (101)20 (102)28 (103)63 (104)29 (105)20 (106)32 (107)30 (108)30 (109)34 (110)20 (111)53 (112)65 (113)61 (114)67 (115)61 (116)74 (117)65 (118)20 (119)41 (120)6c (121)6c (122)20 (123)0 (124)0 (125)0 (126)0 (127)0 (128)0 (129)0 (130)0 (131)0 (132)0 (133)0 (134)0 (135)0 (136)0 (137)0 (138)0 )

pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c3t2d0".

sujit kumar singh
Honored Contributor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

hi can you please do this


dd if=/dev/dsk/c3t2d0 of=/dev/null count=100

also

vgdisplay -v
lvlnboot -v
strings /etc/lvmtab


please post the above O/ps

regards
sujit
Tariq Hasan_1
Frequent Advisor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

servername(root):/home/root#dd if=/dev/dsk/c3t2d0 of=/dev/null
dd read error: No such device or address
0+0 records in
0+0 records out

Servername(root):/home/root#ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 5 0/2/1/0/4/0.1.0.239.0.0.0 sdisk CLAIMED DEVICE DGC CX500WDR5
/dev/dsk/c8t0d0 /dev/rdsk/c8t0d0
disk 8 0/2/1/0/4/0.1.0.239.0.0.1 sdisk CLAIMED DEVICE DGC CX500WDR5
/dev/dsk/c8t0d1 /dev/rdsk/c8t0d1

R.K. #
Honored Contributor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

Hi Again,

Most probably the issue is disk going bad.
Check from cstm and also perform a full dd test on the disk.

Don't fix what ain't broke
R.K. #
Honored Contributor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

PLease run following:

# rmsf -H 0/1/1/1.2.0
# insf -eH 0/1/1/1.2.0

Most probably you may not find it CLAIMED this time.
Don't fix what ain't broke
Michael Steele_2
Honored Contributor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

a) model of box
b) o/s version
c) what happens when you
rmsf -H
insf -e
ioscan -fnk
Support Fatherhood - Stop Family Law
Tariq Hasan_1
Frequent Advisor

Re: ioscan shows disk claimed but diskinfo shows 0 bytes and no pvdisplay

-- Information Tool Log for SCSI Disk on path 0/1/1/1.2.0 --
Log creation time: Tue Jan 5 10:50:08 2010
Hardware path: 0/1/1/1.2.0

Product Id: ST373454LC Vendor: HP 73.4G
Device Type: SCSI Disk Firmware Rev: HPC2
Device Qualifier: HP73.4GST373454LC Logical Unit: 0
Serial Number: 3KP0KQVB00007545WPM4
Capacity (M Byte): N/A
Block Size: N/A
Max Block Address: N/A
Smart Enabled: FALSE
Error Logs
Read Errors: N/A Buffer Overruns: N/A
Read Reverse Errors: N/A Buffer Underruns: N/A
Write Errors: N/A Non-Medium Errors: N/A
Verify Errors: N/A
______________________________________________________________
Dev 18 in CSTM is showing as FAILED
* 18 0/1/1/1.2.0 SCSI Disk (HP73.4GST37345 Information FAILED
______________________________________________________________
SERVER(root):/home/root#dd if=/dev/dsk/c3t2d0 of=/dev/null count=100
dd read error: No such device or address
0+0 records in
0+0 records out
_____________________________________________________________
Lvmtab
kst004pa(root):/home/root#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c3t2d0
/dev/dsk/c2t1d0
/dev/vgrep03
E*Se
/dev/dsk/c10t0d0
/dev/vgrep04
E*Sv
/dev/dsk/c10t0d1
/dev/vgrep05
/dev/dsk/c10t0d2
/dev/vgrep06
/dev/dsk/c10t1d2
/dev/vgrep07
/dev/dsk/c10t1d3
/dev/vgrep08
/dev/dsk/c10t1d4
/dev/vg01
E?Ar
/dev/dsk/c8t0d4
/dev/dsk/c9t0d4
/dev/dsk/c10t0d4
/dev/dsk/c11t0d4
/dev/vg03
E?K4
/dev/dsk/c8t2d2
/dev/dsk/c9t2d2
/dev/dsk/c10t2d2
/dev/dsk/c11t2d2
/dev/vg04
/dev/dsk/c8t1d0
/dev/dsk/c9t1d0
/dev/dsk/c10t1d0
/dev/dsk/c11t1d0
/dev/vg05
/dev/dsk/c8t0d5
/dev/dsk/c9t0d5
/dev/dsk/c10t0d5
/dev/dsk/c11t0d5
/dev/vg06
/dev/dsk/c8t0d6
/dev/dsk/c9t0d6
/dev/dsk/c10t0d6
/dev/dsk/c11t0d6
/dev/vg07
/dev/dsk/c8t0d7
/dev/dsk/c9t0d7
/dev/dsk/c10t0d7
/dev/dsk/c11t0d7
/dev/vg08
/dev/dsk/c8t1d6
/dev/dsk/c9t1d6
/dev/dsk/c10t1d6
/dev/dsk/c11t1d6
/dev/vg10
/dev/dsk/c8t2d0
/dev/dsk/c9t2d0
/dev/dsk/c10t2d0
/dev/dsk/c11t2d0
/dev/vgrep01
E3h*
/dev/dsk/c8t2d3
/dev/vgrep02
/dev/dsk/c10t1d5
/dev/vg02
/dev/dsk/c8t1d1
/dev/dsk/c9t1d1
/dev/dsk/c10t1d1
/dev/dsk/c11t1d1
/dev/vg09
/dev/dsk/c8t1d7
/dev/dsk/c9t1d7
/dev/dsk/c10t1d7
/dev/dsk/c11t1d7
___________________________________
Lvlnboot
SERVER(root):/home/root#lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c3t2d0":
The specified path does not correspond to physical volume attached to
this volume group

vgdisplay just shows lots of

"Couldn't query physical volume "/dev/dsk/c3t2d0":
The specified path does not correspond to physical volume attached to
this volume group" messages