Operating System - HP-UX
1823959 Members
4424 Online
109667 Solutions
New Discussion юеВ

Re: How to find out internel and externel disks in hp-ux

 
vvsha
Frequent Advisor

How to find out internel and externel disks in hp-ux

How to find out internel and externel disks in hp-ux
11 REPLIES 11
Torsten.
Acclaimed Contributor

Re: How to find out internel and externel disks in hp-ux

This may be some tricky, because HP-UX does not know about and does not care.

If you post

model
ioscan -fn

we can probably help you.


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!   
vvsha
Frequent Advisor

Re: How to find out internel and externel disks in hp-ux

Can anyone please help me to find out Total size of Internal Hard Disk and External harddik
Torsten.
Acclaimed Contributor

Re: How to find out internel and externel disks in hp-ux

If the disk is already a LVM disk, you can use "pvdisplay -v ...". Otherwise use "diskinfo -v ..."

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!   
V. Nyga
Honored Contributor

Re: How to find out internel and externel disks in hp-ux

Hi,

maybe it depends on the models, but from my experience you have to go to the server/workstation and write down all external disks.
Then compare it to the ioscan output and document it for yourself.

Reasons are, that the disk buses start internal, but can continue external.

Only from the description (from ioscan) you could be able to make a search at hp partsurfer and recognize if a disk model has a case and therefore sould be external.

Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: How to find out internel and externel disks in hp-ux

'to find out Total size of Internal Hard Disk and External harddisk'
Start 'SAM' go to 'Disk and File Systems' then 'Disk Devices' - there 'Total MBytes' are listed.

Do you also have some informations for us?
For example hardware, os?

Volkmar
*** Say 'Thanks' with Kudos ***
Torsten.
Acclaimed Contributor

Re: How to find out internel and externel disks in hp-ux

Many ways to get information about the available disk space.

Another one:

run /opt/igite/bin/print_manifest

and read the section "Storage devices".

Example output:

Storage devices HW Path Interface
HP HSV200 69632 Mb 1/0/5/1/0/4/0.12.0.0.0.1.5 FCP Array Interf
ace
HP HSV200 69632 Mb 3/0/14/1/0/4/0.13.4.0.0.1.6 FCP Array Inter
face
...


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!   
Victor Fridyev
Honored Contributor

Re: How to find out internel and externel disks in hp-ux

It's almost impossible to separate "external" and "internal" disks, thgis highly depends on the computer model.
In order to see a disk size, you can use

diskinfo /dev/rdsk/YYYYYY
for each disk

HTH
Entities are not to be multiplied beyond necessity - RTFM
Sp4admin
Trusted Contributor

Re: How to find out internel and externel disks in hp-ux

You can do "ioscan -fnC disk" this should show all the drives.

sp,
Bill Hassell
Honored Contributor

Re: How to find out internel and externel disks in hp-ux

There are dozens of server models, and each model has a different I/O numbering scheme. Use:

ioscan -kfC disk

to see all your disks and the I/O address where they are located. The disk ID information may help identify external devices if you know the manufacturer of the disk.

Now you need to read the hardware service manual or check with your hardware vendor to see if they have a hardware map. What is the model of your computer?


Bill Hassell, sysadmin
SGUX
Valued Contributor

Re: How to find out internel and externel disks in hp-ux

probably xstm can help you in combination with the ioscan-output.
xstm can give you a more "visual" display of your system.
Torsten.
Acclaimed Contributor

Re: How to find out internel and externel disks in hp-ux

Regarding the ioscan - this is not comparable. But you can have a look below the /proc/scsi "directory", this can give you a lot of info too.

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!