Operating System - HP-UX
1753500 Members
4523 Online
108794 Solutions
New Discussion юеВ

Re: Total size of hardisk

 
SOLVED
Go to solution
mehul_3
Regular Advisor

Total size of hardisk

Hi there!
Is there any way to find out the total phyisical size? Can df -k give exact details about the total size.

6 REPLIES 6
ramkumar
Valued Contributor

Re: Total size of hardisk

Hi
there is a command diskinfo

#diskinfo /dev/rdsk/cXtYdZ

where X = Card instance number
Y= scsi id of drive
Z= Lun number normally 0

Solution

Re: Total size of hardisk

Hi Mehul

As ram said #diskinfo /dev/rdsk/cXtYdZ
will do.

Even you can use pvdisplay /dev/dsk/cXtYdZ
to collect pv information of the disk,then Multiply PE Size with Total PE to get the total PV size ie disk capacity

regards
SK
sunilhcl@rediffmail.com
Your imagination is the preview of your life's coming attractions
Muthukumar_5
Honored Contributor

Re: Total size of hardisk

You can use bdf to get file system status with available and free there.

More,

You can use sam as,

sam --> performance monitor --> system performance --> memory

will give all informations.

HTH.

Easy to suggest when don't know about the problem!
kamal_9
Super Advisor

Re: Total size of hardisk

Hi
For Checking the filesystem total physical size you can use diskinfo
For getting the total memory use demsg and look for physical memory value
Fadia Almarei
Super Advisor

Re: Total size of hardisk

Mehul
do the following
1-ioscan -funC disk
this command will show you the disks you have and there formula /dev/rmt/cxtxdx
2-then do the following command for all the disks you have
diskinfo /dev/rmt/cxtxdx
fadia.marei
Bharat Katkar
Honored Contributor

Re: Total size of hardisk

HI Mehul,
Yes diskinfo is the right command.
Identify the disk you want to see using:

# ioscan -funC disk

For e.g. i have disk /dev/rdsk/c2t0d0 then it show the output as below:

# diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 36.4G
product id: ST336753LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
#

So my disk is 36.4 GB and i get the formatted disk space of around 34GB.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know