1837257 Members
2395 Online
110115 Solutions
New Discussion

PV device ID mapping

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

PV device ID mapping

Hi,

trying to identify powerfailed disks.
syslog.log is suggesting a VG No. that doesn't exist.
So I would cling to the hex device IDs.
Is a direct translation to /dev/dsk/c?t?d? valid, which would yield the three disks in our vgbz (see below)?

# grep -i 'LVM.*fail' /var/adm/syslog/syslog.log
Jun 24 23:01:15 saturn vmunix: LVM: Path (device 0x1f075700) to PV 1 in VG 21 Failed!
Jun 24 23:01:15 saturn vmunix: LVM: Path (device 0x1f076000) to PV 2 in VG 21 Failed!
Jun 24 23:01:15 saturn vmunix: LVM: vg[21]: pvnum=0 (dev_t=0x1f075600) is POWERFAILED
Jun 24 23:01:15 saturn vmunix: LVM: vg[21]: pvnum=1 (dev_t=0x1f075700) is POWERFAILED
Jun 24 23:01:15 saturn vmunix: LVM: vg[21]: pvnum=2 (dev_t=0x1f076000) is POWERFAILED

# strings /etc/lvmtab |grep 21

# vgdisplay -v vgbz|grep PV\ Name
PV Name /dev/dsk/c7t5d6
PV Name /dev/dsk/c7t5d7
PV Name /dev/dsk/c7t6d0

Madness, thy name is system administration
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor
Solution

Re: PV device ID mapping

Hi Ralph,

Correct all three disks powerfailed.

Jun 24 23:01:15 saturn vmunix: LVM: vg[21]: pvnum=0 (dev_t=0x1f075600) is POWERFAILED -->c7t5d6
Jun 24 23:01:15 saturn vmunix: LVM: vg[21]: pvnum=1 (dev_t=0x1f075700) is POWERFAILED -->c7t5d7
Jun 24 23:01:15 saturn vmunix: LVM: vg[21]: pvnum=2 (dev_t=0x1f076000) is POWERFAILED -->c7t6d0

Regards,
Robert-Jan
Cheryl Griffin
Honored Contributor

Re: PV device ID mapping

The system is referring to the 21st volume group, but not by it's name. It should correspond to the 0xNN in the group and (r)lvol minor number.

"Downtime is a Crime."