1837193 Members
2525 Online
110114 Solutions
New Discussion

Hard disk Capacity

 
Sridhar R
Regular Advisor

Hard disk Capacity

Hi,
1. i am having a 3 node rx8640 server (itanium) in HP-UX. I need to know the harddisk capacity of the server. will "machinfo" command give the required output. Or is there any alternate command to find out.
2. Also MP IP of one of one particular node is not pinging and the link is not coming up. Will that be a cable problem or any other.

Any help would be appreciated

Regards
Sridhar


3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Hard disk Capacity

Does "3 node rx8640 server) means there are 3 nPars on 1 box?

There is no single command to get the total harddisk capacity.
You need to log on to each nPar and get some information. If the disks are all part of LVM, you can use "vgdisplay -v vgnn" to get the used/available space. Otherwise you should run "ioscan -fnCdisk" to get the disks devices and diskinfo to get the capacity.

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!   
whiteknight
Honored Contributor

Re: Hard disk Capacity


Sridar,

You can use

#diskinfo -v /dev/rdsk/cxtydz

it will tell you the disk size as well. Of course LVM - namely vgdisplay, pvdisplay commands

WK
please assign points
Problem never ends, you must know how to fix it
AwadheshPandey
Honored Contributor

Re: Hard disk Capacity

machinfo can not give you disksize,
use this loop to get size of all disks
for disk in `ioscan -funCdisk|grep rdsk|awk '{print $2}'`
> do
> echo $disk
> diskinfo $disk|grep -i size
> done

2: cable problem you need to trace by yourself. see the lan setting of configured mp by serial console.
It's kind of fun to do the impossible