Featured post

Quiz: Data PreProcessing

Monday, 5 December 2016

AIX: Difference Between HDisk and Hdiskpower:

Difference Between HDisk and Hdiskpower:

All the physical partitions in a volume group are the same size, although different volume groups can have different PP sizes.

The hdiskpower devices are logical pointers to hdisks. Hdiskpower are EMC devices created by EMC software in order provide load balancing and fault tolerance, so and hdiskpower device is one, two, four hdisks depending on how many paths (FC Cards) to the EMC controller (switch) your server has.

# lspv
hdisk0          00c32b87a77983ca                    rootvg          active     
hdisk1          00cd1fc6f1839e04                    rootvg          active     
hdisk2          none                                None                       
hdisk3          00c32b87a77983ca                    rootvg          active     
hdisk4          00cd1fc6f1839e04                    rootvg          active     
hdisk5          none                                None                       
hdisk6          00c32b87a77983ca                    rootvg          active     
hdisk7          00cd1fc6f1839e04                    rootvg          active     
hdisk8          none                                None                       
hdisk9          00c32b87a77983ca                    rootvg          active     
hdisk10         00cd1fc6f1839e04                    rootvg          active     
hdisk11         none                                None                       
hdiskpower0     none                                None                        
hdiskpower1     none                                None                       
hdiskpower2     00c32b87ad9198ad                    auq4073lT2P     active    

# powermt display
Symmetrix logical device count=3
CLARiiON logical device count=0
Hitachi logical device count=0
HP xp logical device count=0
Ess logical device count=0
Invista logical device count=0
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
   0 fscsi0                        optimal       3      0       -     0      0
   1 fscsi1                        optimal       3      0       -     0      0
   2 fscsi2                        optimal       3      0       -     0      0
   3 fscsi3                        optimal       3      0       -     0      0

It says 3 logical device, which can be seen in lspv command (hdiskpower0/1/2).
Below will show you which hdisks belong to which hdiskpower and the current path status.

# powermt display dev=all
Pseudo name=hdiskpower0
Symmetrix ID=000492600083
Logical device ID=4EE0
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
   0 fscsi0                   hdisk0    FA  7eB   active  alive       0      0
   1 fscsi1                   hdisk3    FA  8eB   active  alive       0      0
   2 fscsi2                   hdisk6    FA  9eB   active  alive       0      0
   3 fscsi3                   hdisk9    FA 10eB   active  alive       0      0

Pseudo name=hdiskpower1
Symmetrix ID=000492600083
Logical device ID=4EE4
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
   3 fscsi3                   hdisk10   FA 10eB   active  alive       0      0
   0 fscsi0                   hdisk1    FA  7eB   active  alive       0      0
   1 fscsi1                   hdisk4    FA  8eB   active  alive       0      0
   2 fscsi2                   hdisk7    FA  9eB   active  alive       0      0

Pseudo name=hdiskpower2
Symmetrix ID=000492600083
Logical device ID=4EE8
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
   3 fscsi3                   hdisk11   FA 10eB   active  alive       0      0
   0 fscsi0                   hdisk2    FA  7eB   active  alive       0      0
   1 fscsi1                   hdisk5    FA  8eB   active  alive       0      0
   2 fscsi2                   hdisk8    FA  9eB   active  alive       0      0

# lsdev -Cc disk
hdisk0      Available 41-T1-01 EMC Symmetrix FCP VRAID
hdisk1      Available 41-T1-01 EMC Symmetrix FCP VRAID
hdisk2      Available 41-T1-01 EMC Symmetrix FCP VRAID
hdisk3      Available 42-T1-01 EMC Symmetrix FCP VRAID
hdisk4      Available 42-T1-01 EMC Symmetrix FCP VRAID
hdisk5      Available 42-T1-01 EMC Symmetrix FCP VRAID
hdisk6      Available 61-T1-01 EMC Symmetrix FCP VRAID
hdisk7      Available 61-T1-01 EMC Symmetrix FCP VRAID
hdisk8      Available 61-T1-01 EMC Symmetrix FCP VRAID
hdisk9      Available 62-T1-01 EMC Symmetrix FCP VRAID
hdisk10     Available 62-T1-01 EMC Symmetrix FCP VRAID
hdisk11     Available 62-T1-01 EMC Symmetrix FCP VRAID
hdiskpower0 Available 62-T1-01 PowerPath Device
hdiskpower1 Available 62-T1-01 PowerPath Device
hdiskpower2 Available 62-T1-01 PowerPath Device


$ lspv -M hdisk2
0516-1396 : The physical volume hdisk2, was not found in the
system database.

lspv Command

Purpose

       Displays information about a physical volume within a volume group.

Lists the following fields for each logical volume on the physical volume:

            PVname:PPnum [LVname: LPnum [:Copynum] [PPstate]]


$ lspv -M hdisk0
hdisk0:1        hd5:1  
hdisk0:2        hd5:2  
hdisk0:3        hd5:3  
hdisk0:4        hd5:4  
hdisk0:5        bos_hd5:1      
hdisk0:6        bos_hd5:2      
hdisk0:7        bos_hd5:3      
hdisk0:8        bos_hd5:4      
hdisk0:9-23
hdisk0:24       dump00:15      
hdisk0:25       dump00:16      
hdisk0:26       dump00:17      
hdisk0:27       aconnect:1     
hdisk0:28       aconnect:2     
hdisk0:29       aconnect:3     
hdisk0:30       aconnect:4     
hdisk0:31       aconnect:5     
hdisk0:32       aconnect:6     
hdisk0:33       aconnect:7     
hdisk0:34       aconnect:8      
hdisk0:35       dump00:1       

$ lsvg
rootvg
auq4073lT2P

$ lsvg -m rootvg
Logical Volume    Copy 1            Copy 2            Copy 3           
hd5               None              None              None              
hd6               None              None              None             
hd8               None              None              None             
hd4               None              None              None             
hd2               None              None              None             
hd9var            None              None              None             
hd3               None              None              None             
hd1               None              None              None              
hd10opt           None              None              None             
hd11admin         None              None              None             
livedump          None              None              None             
hd12audit         None              None              None             
bos_hd5           None              None              None             
osysadm           None              None              None             
voperf            None              None              None              
actmagent         None              None              None             
dump00            None              None              None             
aconnect          None              None              None             
bos_hd4           None              None              None             
bos_hd2           None              None              None             
bos_hd9var        None              None              None             
bos_hd10opt       None              None              None              

$ lsvg -m auq4073lT2P
Logical Volume    Copy 1            Copy 2            Copy 3           
aihs              None              None              None             
aMDM              None              None              None             
apatrol           None              None              None             
aoraclient        None              None              None             
vMDM              None              None              None             
aWebSphere        None              None              None             
vWebSphere        None              None              None             
nmonperf          None              None              None     

$ lslv -m hd5
hd5:N/A
LP    PP1  PV1               PP2  PV2               PP3  PV3
0001  0001 hdisk9           
0002  0002 hdisk9           
0003  0003 hdisk9           
0004  0004 hdisk9           
$ lslv -m voperf
voperf:/var/opt/perf
LP    PP1  PV1               PP2  PV2               PP3  PV3
0001  0052 hdisk9           
0002  0049 hdisk9           
0003  0050 hdisk9           
0004  0051 hdisk9           

No comments:

Post a Comment