查看分区信息
oracle@itgs1:/home/oracle$ lparstat -i
Node Name : itgs1
Partition Name : LPV_YSGITGS1
Partition Number : 7
Type : Shared-SMT-4
Mode : Uncapped
Entitled Capacity : 0.20
Partition Group-ID : 32775
Shared Pool ID : 0
Online Virtual CPUs : 2
Maximum Virtual CPUs : 4
Minimum Virtual CPUs : 1
Online Memory : 12288 MB
Maximum Memory : 24576 MB
Minimum Memory : 3072 MB
Variable Capacity Weight : 128
Minimum Capacity : 0.10
Maximum Capacity : 4.00
Capacity Increment : 0.01
Maximum Physical CPUs in system : 64
Active Physical CPUs in system : 64
Active CPUs in Pool : 62
Shared Physical CPUs in system : 62
Maximum Capacity of Pool : 6200
Entitled Capacity of Pool : 6180
Unallocated Capacity : 0.00
Physical CPU Percentage : 10.00%
Unallocated Weight : 0
Memory Mode : Dedicated
Total I/O Memory Entitlement : -
Variable Memory Capacity Weight : -
Memory Pool ID : -
Physical Memory in the Pool : -
Hypervisor Page Size : -
Unallocated Variable Memory Capacity Weight: -
Unallocated I/O Memory entitlement : -
Memory Group ID of LPAR : -
Desired Virtual CPUs : 2
Desired Memory : 12288 MB
Desired Variable Capacity Weight : 128
Desired Capacity : 0.20
Target Memory Expansion Factor : -
Target Memory Expansion Size : -
Power Saving Mode : Disabled
查看磁盘头信息
root@itgs1:/$ lquerypv -h hdisk7
============= B: HEADER /dev/rhdisk7 =============
00000000 00820101 00000000 80000003 AB36078C |.............6..|
00000010 00000000 00000000 00000000 00000000 |................|
00000020 4F52434C 4449534B 00000000 00000000 |ORCLDISK........|
00000030 00000000 00000000 00000000 00000000 |................|
00000040 0B200000 00030103 44415441 5F303030 |. ......DATA_000|
00000050 33000000 00000000 00000000 00000000 |3...............|
00000060 00000000 00000000 44415441 00000000 |........DATA....|
00000070 00000000 00000000 00000000 00000000 |................|
00000080 00000000 00000000 44415441 5F303030 |........DATA_000|
00000090 33000000 00000000 00000000 00000000 |3...............|
000000A0 00000000 00000000 00000000 00000000 |................|
000000B0 00000000 00000000 00000000 00000000 |................|
000000C0 00000000 00000000 01F720EF 36E71C00 |.......... .6...|
000000D0 01F82F4A 66327000 02001000 00100000 |../Jf2p.........|
000000E0 0001BC80 00019000 00000002 00000001 |................|
000000F0 00000002 00000000 00000000 00000000 |................|
============= E: HEADER =============
查看磁盘的属性信息,其中reserve_policy对于集群来说比较重要。
root@itgs1:/dev$ lsattr -El hdisk4
PCM PCM/friend/NetAppDefaultPCM Path Control Module False
PR_key_value none Persistant Reserve Key Value True
algorithm round_robin Algorithm True
clr_q no Device CLEARS its Queue on error True
dist_err_pcnt 0 Distributed Error Sample Time True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_cmd inquiry Health Check Command True
hcheck_interval 30 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
location Location Label True
lun_id 0x1000000000000 Logical Unit Number ID False
lun_reset_spt yes LUN Level Reset True
max_transfer 0x40000 Maximum TRANSFER Size True
node_name 0x500a09808f40d1d2 FC Node Name False
pvid none Physical volume identifier False
q_err yes Use QERR bit True
q_type simple Queuing TYPE True
queue_depth 8 Queue DEPTH True
reassign_to 120 REASSIGN time out value True
reserve_policy no_reserve Reserve Policy True
rw_timeout 30 READ/WRITE time out value True
scsi_id 0x92e00 SCSI ID False
start_timeout 60 START unit time out value True
ww_name 0x500a09859f40d1d2 FC World Wide Name False
root@itgs1:/dev$
可通过对比 dfY3KZlXzMTL来比较两个节点的磁盘是否为同一块磁盘
oracle@itgs1:/dev$ lscfg -vpl hdisk4
hdisk4 U9179.MHC.1010B0T-V7-C11-T1-W500A09859F40D1D2-L1000000000000 MPIO NetApp FCP Default PCM Disk
Manufacturer................NETAPP
Machine Type and Model......LUN
ROS Level and ID............811a
Serial Number...............dfY3KZlXzMTL
Device Specific.(Z0)........FAS6240
PLATFORM SPECIFIC
Name: disk
Node: disk
Device Type: block