How do I list the physical disks and associated information (disk model, size, etc.) for all disks that are members of a physical volume in RHEL?
For example, if I do I "pvscan", I get the following information:
PV /dev/sdc1 VG VolGroup02 lvm2 [2.60 TB / 0 free]
PV /dev/sdb1 VG VolGroup01 lvm2 [2.60 TB / 0 free]
PV /dev/sda2 VG VolGroup00 lvm2 [1.23 TB / 0 free]
How do I find out how many and what kind of disks make up the volumes? I am basically trying to determine the speed of the disks (e.g. 7200 RPM, 10000 RPM, etc) I figure I can determine that if I can get the disk models of the disks in each volume.
Best Answer
Install sg3_utils for some useful scsi tools:
sginfo:
There are many of these sg commands to investigate. See RedHat Article ID: 17988 Understanding SCSI addressing on RedHat Enterprise Linux