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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disk size

Status
Not open for further replies.

terrywashington

Technical User
Jun 28, 2001
185
0
0
US
Is there a command in AIX that displays the size of the disks on a system (similar to the Solaris format command)? I have tried lspv <physical volume> but this only works on disks that are assigned to a volume group.
 
You could use the &quot;lscfg -vl hdisk?&quot; command to find out the disk size.

One catch, if these disk were purchase from IBM for the RS/6000 system it will display the size and Model number. If the disk is OEM, it will not display actual disk space. Instead it will say &quot;other scsi disk drive&quot;. However, it will display the Model number and from the OEM model number you could find the actual disk size.

Hope this helps,
- David W Johnson

 
You can also try:

lsattr -El hdisk# | grep size_in_mb - for SCSI drives

and

lsattr -El pdisk# | grep size_in_mb - for SSA drives
Regards,
Chuck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top