Operating System - HP-UX
1748142 Members
3538 Online
108758 Solutions
New Discussion

pvdisplay -l /dev/disk/disk* not working properly

 
Bill Hassell
Honored Contributor

Re: pvdisplay -l /dev/disk/disk* not working properly

pvdisplay is not a hardware command like diskinfo. It is part of the LVM collection and is designed to look for LVM header information on disks. A CD or DVD is not a disk at all. It may be treated as such at a high level but the tracks on the CD/DVD have nothing to do with LVM, nor are the driver interfaces the same as a disk. pvdisplay employs some lower level driver code to look at the tracks -- CD/DVD players don't respond in the same way.

If you want to look at every device file in /dev/disk, you'll first have to verify that the device file points to a working disk. Then use dd to read address 2000 and look for LVMREC. Once you have an LVM disk (whether recorded in lvmtab or not), you can then use pvdisplay.


Bill Hassell, sysadmin