Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to find the internal hard disk size

deepanunix3456
Occasional Contributor

how to find the internal hard disk size

Hi

 

diskinfo /dev/rdsk/c2t4d0s2
SCSI describe of /dev/rdsk/c2t4d0s2:
             vendor: HP
         product id: EH0146GHFRT
               type: direct access
               size: 142453109 Kbytes
   bytes per sector: 512

 

vgdisplay -v vg00

 --- Physical volumes ---
   PV Name                     /dev/dsk/c3t0d0s2
   PV Status                   available
   Total PE                    4346
   Free PE                     1914
   Autoswitch                  On
   Proactive Polling           On

 

Max PE per PV               4384
VGDA                        4
PE Size (Mbytes)            32
Total PE                    8692
Alloc PE                    4864
Free PE                     3828

 

 

but when i calculate total pe*pe size /2 --> size differs.

 

 

how to find the correct hard disk size.

4 REPLIES
Torsten.
Acclaimed Contributor

Re: how to find the internal hard disk size

This is a 146GB disk, but only partition 2 is part of vg00. Partition 1 and 3 are used for boot and diags.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
deepanunix3456
Occasional Contributor

Re: how to find the internal hard disk size

Hi Torsten

 

How you are saying its 146 GB hard disk

Torsten.
Acclaimed Contributor

Re: how to find the internal hard disk size

The name says it:

EH0146GHFRT - note 146, IMHO a 2,5" SAS disk


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Patrick Wallek
Honored Contributor

Re: how to find the internal hard disk size

You can always run diskinfo against the full disk, not just the slices. 

 

In your case:

 

# diskinfo /dev/rdsk/c3t0d0

 

Will give you the size of the entire disk.