Operating System - HP-UX
1752795 Members
5983 Online
108789 Solutions
New Discussion юеВ

Re: How can I find the PV, and if it has failed

 
SOLVED
Go to solution
dapeng.liu
Occasional Contributor

How can I find the PV, and if it has failed

the demsg output is the following:
LVM: Failed to automatically resync PV 1f006000 error: 5
LVM: Recovered Path (device 0x1f006000) to PV 0 in VG 0.
LVM: Restored PV 0 to VG 0
and syslog.log output is the following :
Aug 24 14:43:27 lncs_hp vmunix: LVM: Recovered Path (device 0x1f006000) to PV 0 in VG 0.
Aug 24 14:43:27 lncs_hp vmunix: LVM: Restored PV 0 to VG 0.
9 REPLIES 9
Joelmel Roche
Valued Contributor

Re: How can I find the PV, and if it has failed

Do you have problem in disk (/dev/dsk/c0t6d0)

pls post the vgdisplay command
#vgdisplay -v /dev/vg00
AwadheshPandey
Honored Contributor

Re: How can I find the PV, and if it has failed

AwadheshPandey
Honored Contributor

Re: How can I find the PV, and if it has failed

Add on
to display PV
issue command
vgdisplay -v |grep Name|grep -v LV
It's kind of fun to do the impossible
Steven E. Protter
Exalted Contributor

Re: How can I find the PV, and if it has failed

Shalom,

LVM: Recovered Path (device 0x1f006000)

After the zero x.

Do an ll /dev/dsk

You will see a device that corresponds.

ioscan -fnC disk may show you a NO_HW disk, at the very least will confirm the device to the actual physical path.

BTW, this looks like a timeout. The disk was probably busy and failed to respond within 30 seconds. It is fine to increase the timeout.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dapeng.liu
Occasional Contributor

Re: How can I find the PV, and if it has failed

lncs_hp#[/var/adm/syslog]ll /dev/dsk
total 0
brw-r----- 1 bin sys 31 0x006000 Apr 26 2004 c0t6d0
brw-r----- 1 bin sys 31 0x0a3000 Jul 31 2004 c10t3d0
brw-r----- 1 bin sys 31 0x0b3000 Jul 31 2004 c11t3d0
brw-r----- 1 bin sys 31 0x0b3100 Nov 18 2004 c11t3d1
brw-r----- 1 bin sys 31 0x0b3200 Nov 18 2004 c11t3d2
brw-r----- 1 bin sys 31 0x0b3300 Nov 18 2004 c11t3d3
brw-r----- 1 bin sys 31 0x0b3400 Nov 18 2004 c11t3d4
brw-r----- 1 bin sys 31 0x0b3500 Nov 18 2004 c11t3d5
brw-r----- 1 bin sys 31 0x0b3600 Nov 18 2004 c11t3d6
brw-r----- 1 bin sys 31 0x0c0000 Aug 4 2004 c12t0d0
brw-r----- 1 bin sys 31 0x0c0100 Aug 4 2004 c12t0d1
brw-r----- 1 bin sys 31 0x0c0200 Aug 4 2004 c12t0d2
brw-r----- 1 bin sys 31 0x0c0300 Aug 4 2004 c12t0d3
brw-r----- 1 bin sys 31 0x0c0400 Aug 4 2004 c12t0d4
brw-r----- 1 bin sys 31 0x0c0500 Aug 4 2004 c12t0d5
brw-r----- 1 bin sys 31 0x0c0600 Aug 4 2004 c12t0d6
brw-r----- 1 bin sys 31 0x0d0000 Aug 4 2004 c13t0d0
brw-r----- 1 bin sys 31 0x0d0100 Aug 4 2004 c13t0d1
brw-r----- 1 bin sys 31 0x0d0200 Aug 4 2004 c13t0d2
brw-r----- 1 bin sys 31 0x0d0300 Aug 4 2004 c13t0d3
brw-r----- 1 bin sys 31 0x0d0400 Aug 4 2004 c13t0d4
brw-r----- 1 bin sys 31 0x0d0500 Aug 4 2004 c13t0d5
brw-r----- 1 bin sys 31 0x0d0600 Aug 4 2004 c13t0d6
brw-r----- 1 bin sys 31 0x0e0000 Aug 4 2004 c14t0d0
brw-r----- 1 bin sys 31 0x0e0100 Nov 19 2004 c14t0d1
brw-r----- 1 bin sys 31 0x0e0200 Aug 4 2004 c14t0d2
brw-r----- 1 bin sys 31 0x0e0300 Aug 4 2004 c14t0d3
brw-r----- 1 bin sys 31 0x0e0400 Aug 4 2004 c14t0d4
brw-r----- 1 bin sys 31 0x0e0500 Aug 4 2004 c14t0d5
brw-r----- 1 bin sys 31 0x0e0600 Aug 4 2004 c14t0d6
brw-r----- 1 bin sys 31 0x0f0000 Aug 4 2004 c15t0d0
brw-r----- 1 bin sys 31 0x0f0100 Nov 19 2004 c15t0d1
brw-r----- 1 bin sys 31 0x0f0200 Aug 4 2004 c15t0d2
brw-r----- 1 bin sys 31 0x0f0300 Aug 4 2004 c15t0d3
brw-r----- 1 bin sys 31 0x0f0400 Aug 4 2004 c15t0d4
brw-r----- 1 bin sys 31 0x0f0500 Aug 4 2004 c15t0d5
brw-r----- 1 bin sys 31 0x0f0600 Aug 4 2004 c15t0d6
brw-r----- 1 bin sys 31 0x012000 Apr 26 2004 c1t2d0
brw-r----- 1 bin sys 31 0x160100 Dec 6 2004 c22t0d1
brw-r----- 1 bin sys 31 0x160200 Dec 6 2004 c22t0d2
brw-r----- 1 bin sys 31 0x160300 May 28 2005 c22t0d3
brw-r----- 1 bin sys 31 0x193000 Jan 24 2005 c25t3d0
brw-r----- 1 bin sys 31 0x1a0000 Jan 24 2005 c26t0d0
brw-r----- 1 bin sys 31 0x1b0000 Apr 26 2005 c27t0d0
brw-r----- 1 bin sys 31 0x046000 Apr 26 2004 c4t6d0
brw-r----- 1 bin sys 31 0x083000 Jul 31 2004 c8t3d0
brw-r----- 1 bin sys 31 0x093000 Jul 31 2004 c9t3d0
brw-r----- 1 bin sys 31 0x093100 Nov 18 2004 c9t3d1
brw-r----- 1 bin sys 31 0x093200 Nov 18 2004 c9t3d2
brw-r----- 1 bin sys 31 0x093300 Nov 18 2004 c9t3d3
brw-r----- 1 bin sys 31 0x093400 Nov 18 2004 c9t3d4
brw-r----- 1 bin sys 31 0x093500 Nov 18 2004 c9t3d5
brw-r----- 1 bin sys 31 0x093600 Nov 18 2004 c9t3d6
but I can not find 1f006000.
and the vgdisplay -v vg00 :
lncs_hp#[/var/adm/syslog]vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 36
Open LV 36
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 6225
Free PE 2523
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) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 208
Current LE 13
Allocated PE 26
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/syncd
LV Size (Mbytes) 32
Current LE 2
Allocated PE 4
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2144
Current LE 134
Allocated PE 268
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 1952
Current LE 122
Allocated PE 244
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 640
Allocated PE 1280
Used PV 2

LV Name /dev/vg00/lvswap
LV Status available/syncd
LV Size (Mbytes) 12288
Current LE 768
Allocated PE 768
Used PV 1

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

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

LV Name /dev/vg00/lvcj1_mqCli
LV Status available/syncd
LV Size (Mbytes) 208
Current LE 13
Allocated PE 13
Used PV 1

LV Name /dev/vg00/lvcj1_TeMIPlnst
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvMQlnst
LV Status available/syncd
LV Size (Mbytes) 400
Current LE 25
Allocated PE 25
Used PV 1

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

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

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

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

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

LV Name /dev/vg00/roraTOOLS
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraUSERS
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraINDS
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraRedo1
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraRedo2
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraRedo3
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraRedo4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraRedo5
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraRedo6
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/roraCTRL_01
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/roraCTRL_02
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/roraCTRL_03
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/roraspfile
LV Status available/syncd
LV Size (Mbytes) 112
Current LE 7
Allocated PE 7
Used PV 1

LV Name /dev/vg00/roraSRV_config
LV Status available/syncd
LV Size (Mbytes) 112
Current LE 7
Allocated PE 7
Used PV 1

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

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

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


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

PV Name /dev/dsk/c4t6d0
PV Status available
Total PE 4374
Free PE 2523
Autoswitch On
tkc
Esteemed Contributor

Re: How can I find the PV, and if it has failed

try to increase the pv timeout of the device :

#pvchange -t 60 /dev/dsk/c0t6d0
Mridul Shrivastava
Honored Contributor
Solution

Re: How can I find the PV, and if it has failed

1f006000 ==> first two fields are the major no. of the device... so 1f is hex becomes 31 in decimal so it is a disk...

now the 4th, 5th and 6th field represents the controller, target and LUN respectively so the device file name would be c0t6d0... so u will find an entry like 0x006000 which is present there:

brw-r----- 1 bin sys 31 0x006000 Apr 26 2004 c0t6d0

Hope u got it now
Time has a wonderful way of weeding out the trivial
Mridul Shrivastava
Honored Contributor

Re: How can I find the PV, and if it has failed

If you hoave got the answers and satisfied with them.. don't forget the award the points accordingly...
Time has a wonderful way of weeding out the trivial
dapeng.liu
Occasional Contributor

Re: How can I find the PV, and if it has failed

many thanks