1830888 Members
1494 Online
110017 Solutions
New Discussion

PVdisplay not work?

 
huaxiang
Frequent Advisor

PVdisplay not work?

1.#strings /etc/lvmtab
/dev/vgyzfs2
/dev/disk/disk229
/dev/disk/disk230
/dev/disk/disk233
/dev/disk/disk234
2.yzdb1#[/data1/superdome_test_file]pvdisplay -v /dev/disk/disk233
pvdisplay: Warning: couldn't query physical volume "/dev/disk/disk229":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/disk/disk230":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/disk/disk233":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/disk/disk234":
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/vgyzfs2".
pvdisplay: Cannot display physical volume "/dev/disk/disk233".
3. what is the problem?
4. OS 11.31
5 REPLIES 5

Re: PVdisplay not work?

Can you read those disks at all?

What's the output of:

diskinfo /dev/rdisk/disk229
diskinfo /dev/rdisk/disk230
diskinfo /dev/rdisk/disk233
diskinfo /dev/rdisk/disk234

HTH

Duncan





I am an HPE Employee
Accept or Kudo
Johnson Punniyalingam
Honored Contributor

Re: PVdisplay not work?

Hi There,

# dmesg
(do you see any scsci -reset done ..?)

# what does the /var/adm/syslog/syslog.log shows..?


output below following commands will take a while

Example :-
dd if=/dev/dsk/c2t1d0 of=/dev/null bs=128k
560057+1 records in
560057+1 records out

(if the records in & records out are same- meaning disk all are fine)

Disk verfication
==================
dd if=/dev/disk/disk229 of=/dev/null bs=128k
dd if=/dev/disk/disk230 of=/dev/null bs=128k
dd if=/dev/disk/disk233 of=/dev/null bs=128k
dd if=/dev/disk/disk234 of=/dev/null bs=128k

Do VG Restore
=========
vgcfgrestore n /dev/vgyzfs2 /dev/disk/disk229
vgcfgrestore n /dev/vgyzfs2 /dev/disk/disk230
vgcfgrestore n /dev/vgyzfs2 /dev/disk/disk233
vgcfgrestore n /dev/vgyzfs2 /dev/disk/disk234

Activate the VG
================

vgchange -a y /dev/vgyzfs2

the below command will re-sync - all the Pshical disk
===============================

vgsync /dev/vgyzfs2


Rgds,
Johnson

Problems are common to all, but attitude makes the difference
SKR_1
Trusted Contributor

Re: PVdisplay not work?

Take the backup of /etc/lvmtab & use vgscan command

Thanks

SKR
Jannik
Honored Contributor

Re: PVdisplay not work?

The vg "vgyzfs2" does have 3 disks specified they are all DSF (device special files) so start by getting the overview.
# ioscan -m dsf
For all the 4 disk you might have a number of path to the disks. Make sure that they are working correctly.
# ioscan -fnC disk
Make sure that none of them are in the NO_HW state.

Have you analyzed the "dmesg" log output you might have a problem with you SAN connection.
jaton
huaxiang
Frequent Advisor

Re: PVdisplay not work?

thank u all. problem solved.
reason:
vg is not active;