cancel
Showing results for 
Search instead for 
Did you mean: 

pvdisplay

SOLVED
Go to solution
allan_48
Occasional Contributor

pvdisplay

I have a EMC disk storage. I tried looking for the free disk. When I tried to use pvdisplay a disk in the local server I have a message stating,
ex. pvdisplay -v /dev/dsk/c1t10d2
"pvdisplay: Couldn't find the volume group to which
Physical volume "device_file" belongs.
pvdisplay: Cannot display physical volume "device_file"

but when I tried to issue the same command on my other server it stated like this.

"pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d1":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d2":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d3":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d4":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d5":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d6":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d7":
The specified path does not correspond to physical volume attached to this volume group"
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t3d7":
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/vgbscs".
pvdisplay: Cannot display physical volume "/dev/dsk/c1t10d2".

Is the disk really free?

thanks
4 REPLIES
RAC_1
Honored Contributor
Solution

Re: pvdisplay

ioscan -fnCdisk, do see this disk as claimed?? If not do insf -ev and check again.

Can you do diskinfo /dev/rdsk/c1t10d2??

Anil
There is no substitute to HARDWORK
Rick Garland
Honored Contributor

Re: pvdisplay

Do you have MC Service Guard in the environment? BCV copies to any of those disks?

The pvdisplay command will not tell you if the disk is free. The disk could be a backup disk for BCV copies or for MCSG failovers (these are a couple of examples).

You may want to start looking in the /etc/lvmtab file. 'strings /etc/lvmtab'

There can be a lot of cross-correlation with devices in a MCSG environment.

allan_48
Occasional Contributor

Re: pvdisplay

I made an ioscan -fnC disk on both server and they are both
claimed. I did an diskinfo on both server and it prompt some messages
"SCSI describe of /dev/rdsk/c1t10d2:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 4418880 Kbytes
bytes per sector: 512"

Yes we do have an MC service guard.I tried to look on the /etc/lvmtab
but one of the server has the scsi address that belongs to a volume
group(vg003)

How will i find out if the disk i want to use is not used by other server?


thanks
RAC_1
Honored Contributor

Re: pvdisplay

There is EMC utility syminq or something similar that you canuse. Additionally you can do something like follows for it.

echo "0x2008?4D" |adb /dev/dsk/c20t0d0 --disk1
echo "0x2008?4D" |adb /dev/dsk/c19t0d0 â disk
There is no substitute to HARDWORK