Operating System - HP-UX
1833838 Members
2449 Online
110063 Solutions
New Discussion

Re: How to find the number of physical hard disks in the LUN of storage from server

 
Jestin John Chacko
Regular Advisor

How to find the number of physical hard disks in the LUN of storage from server

Hai to all,

I need to get the information about the number of hard disks added in the lun which i am using for one of my volume group.

Is it possible for me to get the details through any option of xpinfo command as if i am using xp1200 storage.

i had provided xpinfo -i which gives five diffrent LUN numbers but all with the same target

18 REPLIES 18
Jaime Bolanos Rojas.
Honored Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

Jestin,

This is a long shot, I do not have an xp array, never use one before, the xpinfo -x will give you more information. Take a look at that one to see if you find what you are looking for.

Regards,

Jaime.
Work hard when the need comes out.
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

IMHO you should use CV XP or the webconsole for the array. However, xpinfo will list an info like this:

Device File : /dev/rdsk/c4t0d0
...
Disk Mechs : R1408 R1508 R1608 R1708



Is this what you are looking for?

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!   
Tingli
Esteemed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

Under 11.23, you can use sam to get a clearer picture of the disks.
Mel Burslan
Honored Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

From the server side, you are restricted to see what has been provisioned (zoned) to this server as far as I can guess. xpinfo will not let you cross over the zoning boundaries. So, the answer will be NO you will not get the whole picture of the frame using xpinfo, unless the whole frame is attached to your server and nobody else.

As suggested above, to get the hardware picture of an XP frame, you will need the command-view station.
________________________________
UNIX because I majored in cryptology...
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

Still not sure if this is what you are looking for ...



However, try

# xpinfo -r

ACP RAID RAID RAID Disk
Device File Pair Level Type Group Mechanisms
===============================================================================================
/dev/rdsk/c4t0d0 1 RAID6 --- 1-3 R0002 R0102 R0202 R0302 R0412 R0512 R0612 R0712


or



# xpinfo -l

Device File : /dev/rdsk/c4t0d0 Model : XP24000
...

RAID Level : RAID6 RAID Type : ---
RAID Group : 1-3 ACP Pair : 1
Disk Mechs : R0002 R0102 R0202 R0302
R0412 R0512 R0612 R0712




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!   
Jestin John Chacko
Regular Advisor

Re: How to find the number of physical hard disks in the LUN of storage from server

Dear to all

Can anyone explain what DISK mechs in the output of xpinfo defines



Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

This is a bit complicated and requires some knowledge about XP arrays. What positions do you get?




What do you **really** want to know and why?

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!   
Jestin John Chacko
Regular Advisor

Re: How to find the number of physical hard disks in the LUN of storage from server

Dear Torsten

Its very urgent for me to determine the no of hard disks used for a particular server in the storage as the customer is asking frequently for that.

i need to explain before them i had gone through the document

xp lun configuration and security manager user guide

please help me
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

Disk Mechs lists the positions of the involved disks.

But there are soooo many possibilities to "build" or define LUNs - you need to use the array management tools to get detailed information.

Without a deeper knowledge of XP arrays you will probably not understand what you see ...



Better to ask administrator of the array!

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!   
Berd
Trusted Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

Jestin,

Disk Mechs refers to the physical disks within the array that are used to make up your presented LUN. Depending on how the HP installation engineer carved up the disk at install will dictate over how many physical disks each LUN is spread. In your case, it looks like have a raid 7+1 setup.

HTH

Regards,
Berd
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

@Berd:
"In your case, it looks like have a raid 7+1 setup."

Sorry, where can you see this?

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!   
Jestin John Chacko
Regular Advisor

Re: How to find the number of physical hard disks in the LUN of storage from server

Dear

I am providing the output i got by xpinfo -r referring this can you please tell how many hard disks are being used by me for that particular lun in my storage.



Please find the attachment
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

You have mirrors - 2 disks mirrored to 2 disks.

Disk positions are in the right column.

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!   
Jestin John Chacko
Regular Advisor

Re: How to find the number of physical hard disks in the LUN of storage from server

Dear Torsten,

Thanks for your extreme support

so can i conclude that

R0416 R0516 R0616 R0716

means 4 hard disk in the respective slots

Please give me the solution
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

Yes, these are the positions.

R0416 R0516 R0616 R0716

All are in the main chassis, 2 in front (HDU 4 and 5), 2 in the back (HDU 6 and 7) - "16" is the slot in each HDU.

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!   
Jestin John Chacko
Regular Advisor

Re: How to find the number of physical hard disks in the LUN of storage from server

Dear Torsten,

I am very happy with your answer .Still i want to disturb u a little more

Is it possible to create two different LUN,s on the hard disks above mentioned ,i got this doubt as if i had seen the first two entries of the attachment

/dev/rdsk/c4t0d0 R0416 R0516 R0616 R0716
/dev/rdsk/c4t0d1 R0416 R0516 R0616 R0716

Thanks in advance
Torsten.
Acclaimed Contributor

Re: How to find the number of physical hard disks in the LUN of storage from server

As said earlier, there are many many options to create LUNs. In general (to keep it simple now), physical disks will be "somehow partinioned", LUNs are build based on this "partitions", so you can have multiple LUNs on the same disks.

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

Re: How to find the number of physical hard disks in the LUN of storage from server

jestin.

use xpinfo -f /dev/rdsk for each cu:ldev listed in xpinfo -i. It does not matter which cXtYdZ you use. It will give you an idea of HOW many disks or from what Disk Mechs your XP luns were carved from.

For example:

# xpinfo -f /dev/rdsk/c120t4d1

Device File : /dev/rdsk/c120t4d1 Model : XP12000
Port : CL3D Serial # : 00030017
Host Target : 04 Code Rev : 5001
Array LUN : 221 Subsystem : 0014
CU:LDev : 10:69 CT Group : ---
Type : OPEN-V CA Volume : SMPL
Size : MB BC0 (MU#0) : SMPL
ALPA : d2 BC1 (MU#1) : SMPL
Loop Id : 0d BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 15-15 ACP Pair : SMPL
Disk Mechs : L200E L210E L220E L230E
FC-LUN : 0000753f00001069 Port WWN : 50060e8004753f23
HBA Node WWN: 500110a0003db8fb HBA Port WWN: 500110a0003db8fa
Vol Group : tmp_grf Vol Manager : VXVM
Mount Points: ---
DMP Paths : c120t4d1 c170t4d1 CLPR : ---

In the above case, the LUN is carved from a RAID Group ( RAID Group : 15-15) which is composed of a 4 physical disks. Note some LUNs could be carved from the same "Raid Group" too.

Hope this helps.
Hakuna Matata.