Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determin hdisk size in GB 2

Status
Not open for further replies.

johndrake

Technical User
Jul 25, 2002
97
Hi All,

Is their any way to determine the hard drive size for a pv?
For example, when I enter in the command "lspv" I receive the following:

hdisk16 000c30cdba21077e None
hdisk17 none None
hdisk18 000c30cdebd7f601 None
hdisk19 none None
hdisk20 none None
hdisk21 000c30cd9f172a5b None

How can I determine the physical size of these hard drives if I am not at the office and cannot physically "touch them".
 
try

lscfg -vl <hdisk / pdisk>
should list size of disk
 
If that does not work, as with EMC disks, you will need to put them into a vg to find out. Or use `inq` or some sort of EMC command. IBM Certified -- AIX 4.3 Obfuscation
 
Hi ALL

Disk is not in a VG: you can use -> bootinfo -s hdiskN
Disk is in a VG: lspv
Or odmlist -q name=hdiskN CuAt
 
Hi

#lspv hdiskN

will give you the size in Total PPs row

JSiva Om Maha Ganapathiye Namaga!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top