ESX Common Command


Mpath check.
# esxcfg-scsidevs -m
naa.600137205c43a3000fcdc22f58d9b9d8:5                           /dev/sdc5            48883c24-b7cfc0e0-69b8-0013725ed1a4  0  Storage1
naa.6090a0185041ae29c482b4040000504f:1                           /dev/sdf1            482c166d-947ad9f0-f810-0013725ed1a4  0  iSCSI2
naa.6090a0185041ee6a7784d40a000030ee:1                           /dev/sdd1            48479fe1-9c832868-7a46-000e1e0102dd  0  iSCSI1
naa.6090a01850417e2cc482e4040000f0bd:1                           /dev/sde1            482c16a3-222a3a78-1f1c-0013725ed1a4  0  iSCSI3

# esxcfg-nmp -l -d naa.6090a0185041ee6a7784d40a000030ee
naa.6090a0185041ee6a7784d40a000030ee
   Selected Paths : vmhba3:C0:T66:L0
   Storage Array Type: SATP_EQL
   Storage Array Type Device Config:
   Path Policy: PSP_FIXED
   PSP Config String: {preferred=vmhba3:C0:T66:L0;current=vmhba3:C0:T66:L0}
   Preferred Path: vmhba3:C0:T66:L0

# esxcfg-mpath -l -d naa.6090a0185041ee6a7784d40a000030ee
iqn.2000-04.com.qlogic:qle4062c.gs40810a13611.2-3,iqn.2001-05.com.equallogic:0-8a0906-6aee41501-ee3000000ad48477-iscsi-01,t,1-naa.6090a0185041ee6a7784d40a000030ee
   Runtime Name: vmhba3:C0:T66:L0
   Device: naa.6090a0185041ee6a7784d40a000030ee
   Adapter: vmhba3 Channel: 0 Target: 66 LUN: 0
   Adapter Identifier: iqn.2000-04.com.qlogic:qle4062c.gs40810a13611.2
   Target Identifier: 3,iqn.2001-05.com.equallogic:0-8a0906-6aee41501-ee3000000ad48477-iscsi-01,t,1
   Plugin: NMP
   State: active
   Transport: iscsi
   Adapter Transport Details: iqn.2000-04.com.qlogic:qle4062c.gs40810a13611.2
   Target Transport Details: IQN=iqn.2001-05.com.equallogic:0-8a0906-6aee41501-ee3000000ad48477-iscsi-01 Alias=iSCSI-01 Session=3 PortalTag=1

iqn.2000-04.com.qlogic:qle4062c.gs40810a13611.1-6,iqn.2001-05.com.equallogic:0-8a0906-6aee41501-ee3000000ad48477-iscsi-01,t,1-naa.6090a0185041ee6a7784d40a000030ee
   Runtime Name: vmhba2:C0:T70:L0
   Device: naa.6090a0185041ee6a7784d40a000030ee
   Adapter: vmhba2 Channel: 0 Target: 70 LUN: 0
   Adapter Identifier: iqn.2000-04.com.qlogic:qle4062c.gs40810a13611.1
   Target Identifier: 6,iqn.2001-05.com.equallogic:0-8a0906-6aee41501-ee3000000ad48477-iscsi-01,t,1
   Plugin: NMP
   State: active
   Transport: iscsi
   Adapter Transport Details: iqn.2000-04.com.qlogic:qle4062c.gs40810a13611.1
   Target Transport Details: IQN=iqn.2001-05.com.equallogic:0-8a0906-6aee41501-ee3000000ad48477-iscsi-01 Alias=iSCSI-01 Session=6 PortalTag=1

PS300E
prme-stiscsi-eqlgrp1> volume select iSCSI-04 access create ipaddress 10.115.114.21

prme-stiscsi-eqlgrp1> volume select iSCSI-04 access show

prme-stiscsi-eqlgrp1> volume select iSCSI-04 show
_____________________________ Volume Information ______________________________
Name: iSCSI-04                         Size: 100GB
VolReserve: 100GB                      VolReserveInUse: 7.88GB
ReplReserveInUse: 0MB                  iSCSI Alias: iSCSI-04
iSCSI Name:                            ActualMembers: 1
  iqn.2001-05.com.equallogic:0-8a0906- Snap-Warn: 10%
  100e41501-28d00000140486df-iscsi-04  Snap-Depletion: delete-oldest
Description:                           Snap-Reserve: 0%
Snap-Reserve-Avail: 0% (0MB)           Permission: read-write
DesiredStatus: online                  Status: online
Connections: 0                         Snapshots: 0
Bind:                                  Type: not-replicated
ReplicationReserveSpace: 0MB           Replicas: 0
ReplicationPartner:                    Pool: default
Transmitted-Data: 871.57GB             Received-Data: 446.89GB
Pref-Raid-Policy: none                 Pref-Raid-Policy-Status: none
Thin-Provision: disabled               Thin-Min-Reserve: 0% (0MB)
Thin-Growth-Warn: 0% (0MB)             Thin-Growth-Max: 0% (0MB)
ReplicationTxData: 7.88GB
_______________________________________________________________________________


_______________________________ Access Records ________________________________


ID  Initiator                     Ipaddress       AuthMethod UserName   Apply-To

--- ----------------------------- --------------- ---------- ---------- --------

1                                 10.115.114.21   none                  both

2                                 10.115.114.22   none                  both

3                                 10.115.114.23   none                  both

4                                 10.115.114.24   none                  both

5                                 10.115.114.25   none                  both

6                                 10.115.114.26   none                  both

7                                 10.115.114.27   none                  both

8                                 10.115.114.28   none                  both

 

____________________________ Operations InProgress ____________________________


ID StartTime            Progress Operation Details

-- -------------------- -------- ----------------------------------------------

 

Reproduced in: https: //www.cnblogs.com/licheng/archive/2008/07/30/1256145.html

Guess you like

Origin blog.csdn.net/weixin_34292959/article/details/93800857