- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- finding internal disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 03:41 AM
08-25-2009 03:41 AM
finding internal disk
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 03:51 AM
08-25-2009 03:51 AM
Re: finding internal disk
If you have the block diagram of the server, you can look for the HW address of the drives and make out which drive is internal/external.
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 03:55 AM
08-25-2009 03:55 AM
Re: finding internal disk
Which model exactly? You need the backplane geometry of the server model and observe where the hardware paths are. (the hardware paths look like /0/0/1/2/0.0.1.0). Then you match the hardware path with a device file from the ioscan listing. If you have online diags installed (STM) you can also run the STM tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 04:01 AM
08-25-2009 04:01 AM
Re: finding internal disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 04:30 AM
08-25-2009 04:30 AM
Re: finding internal disk
This might help.
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 06:05 AM
08-25-2009 06:05 AM
Re: finding internal disk
I would start with ioscan -fn
this lists all the devices and their paths, and in most cases the make and model of the disks.
The path to physical slot tables are in the hardware manuals for each server.
As indicated above the stm command will give you more detail about the cards installed and their location in the machine.
If the disks are plain disks (jbod) then the lvm commands such as vgdisplay -v and lvdisplay will give you the groupings logical volume and mirroring settings.
If the disks are external arrays with the raid recovery managed inside the array then you will have to use the commands and tools relevant to the particular disk array to get the low level details.
The lvm commands will still show how the luns are used by the logical volumes and the operating system .
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 06:39 AM
08-25-2009 06:39 AM
Re: finding internal disk
If you attach an "ioscan -fn" let's say from an L-class I can tell you most of the things you want to know.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 08:42 AM
08-25-2009 08:42 AM
Re: finding internal disk
Check this out:
This scans the internal scsi paths and finds the internal hardisks on the system.
find_int_disks_on_hpux_11iv1.v2.v3.sc
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2009 09:34 AM
08-25-2009 09:34 AM
Re: finding internal disk
I currently have no system to test, but I wonder how you decide between internal and external disks - do you have a sample output and an ioscan?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 02:25 AM
08-26-2009 02:25 AM
Re: finding internal disk
Your script needs more work.
I have tried it on a my rp3440 which has three internal disks the first two are in vg00 which it finds , It fails to place the third in vg01 and then places two external disks also in vg01 into vg00.
It also fails to detect the NEC DVD RW drive.
balaji
As Torsten says if you are able to post the ioscan -fn we can try and help
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:06 AM
08-26-2009 03:06 AM
Re: finding internal disk
Balaji pls post ioscan -fnC disk & ioscan output . and it will be figured out easily.
Cheers,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:18 AM
08-26-2009 03:18 AM
Re: finding internal 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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:29 AM
08-26-2009 03:29 AM
Re: finding internal disk
# ioscan -fnCdisk
then note all disk character device file name
then try this:
# diskinfo -v /dev/rdsk/cxtxdx to get more information and obtain an eye sight to which one is external. .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:34 AM
08-26-2009 03:34 AM
Re: finding internal disk
# stm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:36 AM
08-26-2009 03:36 AM
Re: finding internal disk
Consult the servers manual and look up the hardware path for a specific slot or 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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:40 AM
08-26-2009 03:40 AM
Re: finding internal disk
And there are controllers that have both internal and external connectors on the same bus so there is no telling which disk is internal or external.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:46 AM
08-26-2009 03:46 AM
Re: finding internal disk
The upper internal disk is sharing the bus with the external connector.
If you find a disk with a SCSI ID other than 2 on this "special" bus, it is external - a disk with ID 2 is internal. A lovely cause for issues ...
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 03:47 AM
08-26-2009 03:47 AM
Re: finding internal disk
fyi..I had rx6600 with raid and Serial Attached scsi controller with 16 Internal Serial attached disk,
And so there cannot be a single general script for this task, best way it needs to be figured out manualy from ioscan, diskinfo output(s).
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 04:13 AM
08-26-2009 04:13 AM
Re: finding internal disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2009 04:18 AM
08-26-2009 04:18 AM
Re: finding internal disk
All of the above is also greatly assisted by the eyeball utility. Balaji If you can get somebody to have a look at the physical arrangements for you and describe what they see this should assist you.
Mike