CLI を使用した MDisk のリスト作成
コマンド・ライン・インターフェース (CLI) を使用して、MDisk をリストできます。
始める前に
以下の手順を実行して、MDisk の名前、状況、およびモードをリストします。
手順
-
次の CLI コマンドを使用します。
lsmdisk delim :以下に、
lsmdisk delim :コマンドを使用したときの表示内容の例を示します。id:name:status:mode:mdisk_grp_id:mdisk_grp_name:capacity:ctrl_LUN_#:controller_name:UID:tier:encrypt:site_id:site_name:distributed 0:mdisk0:online:unmanaged:::500.0GB:0000000000000000:controller1:600a0b8000689e710000c0d255823cdb00000000000000000000000000000000:enterprise:no:::no 1:mdisk1:online:unmanaged:::500.0GB:0000000000000001:controller1:600a0b80004942be000001e9558261c300000000000000000000000000000000:enterprise:no:::no 2:mdisk2:online:unmanaged:::100.0GB:0000000000000002:controller1:600a0b8000689e710000c0d555823d4d00000000000000000000000000000000:enterprise:no:::no 3:mdisk3:online:unmanaged:::100.0GB:0000000000000003:controller1:600a0b80004942be000001ea558261e500000000000000000000000000000000:enterprise:no:::no 4:mdisk4:online:unmanaged:::100.0GB:0000000000000004:controller1:600a0b8000689e710000c0d655823d5d00000000000000000000000000000000:enterprise:no:::no 5:mdisk5:online:unmanaged:::100.0GB:0000000000000005:controller1:600a0b80004942be000001eb5582624100000000000000000000000000000000:enterprise:no:::no 6:mdisk6:online:unmanaged:::150.0GB:0000000000000006:controller1:600a0b8000689e710000c0d755823d8400000000000000000000000000000000:enterprise:no:::no 7:mdisk7:online:unmanaged:::100.0GB:0000000000000000:controller3:60050763008181b6d80000000000061100000000000000000000000000000000:enterprise:no:::no 8:mdisk8:online:unmanaged:::100.0GB:0000000000000001:controller3:60050763008181b6d80000000000060f00000000000000000000000000000000:enterprise:no:::no 9:mdisk9:online:unmanaged:::100.0GB:0000000000000002:controller3:60050763008181b6d80000000000060900000000000000000000000000000000:enterprise:no:::no 10:mdisk10:online:unmanaged:::100.0GB:0000000000000003:controller3:60050763008181b6d80000000000061400000000000000000000000000000000:enterprise:no:::no 11:mdisk11:online:unmanaged:::100.0GB:0000000000000004:controller3:60050763008181b6d80000000000060800000000000000000000000000000000:enterprise:no:::no 12:mdisk12:online:unmanaged:::100.0GB:0000000000000005:controller3:60050763008181b6d80000000000060a00000000000000000000000000000000:enterprise:no:::no 13:mdisk13:online:unmanaged:::100.0GB:0000000000000006:controller3:60050763008181b6d80000000000060b00000000000000000000000000000000:enterprise:no:::no 14:mdisk14:online:unmanaged:::100.0GB:0000000000000007:controller3:60050763008181b6d80000000000061200000000000000000000000000000000:enterprise:no:::no 15:mdisk15:online:unmanaged:::100.0GB:0000000000000008:controller3:60050763008181b6d80000000000060e00000000000000000000000000000000:enterprise:no:::no 16:mdisk16:online:unmanaged:::100.0GB:0000000000000009:controller3:60050763008181b6d80000000000060c00000000000000000000000000000000:enterprise:no:::no 17:mdisk17:online:unmanaged:::100.0GB:000000000000000A:controller3:60050763008181b6d80000000000060d00000000000000000000000000000000:enterprise:no:::no 18:mdisk18:online:unmanaged:::100.0GB:000000000000000B:controller3:60050763008181b6d80000000000061300000000000000000000000000000000:enterprise:no:::no 19:mdisk19:online:unmanaged:::100.0GB:000000000000000C:controller3:60050763008181b6d80000000000060700000000000000000000000000000000:enterprise:no:::no 20:mdisk20:online:unmanaged:::100.0GB:000000000000000D:controller3:60050763008181b6d80000000000060600000000000000000000000000000000:enterprise:no:::no 21:mdisk21:online:unmanaged:::100.0GB:000000000000000E:controller3:60050763008181b6d80000000000061000000000000000000000000000000000:enterprise:no:::no -
MDisk の状況を知るには、「状況 (
status)」列を見ます。すべての MDisk がオンラインであることに注意してください。MDisk には、以下の状況が考えられます。- Online
- Offline
- 除外
- 劣化ポート
- 劣化パス
-
ディスクの状況を知るには、「モード (
mode)」列を見ます。モードが非管理であることに注意してください。MDisk には、以下のモードが考えられます。- 管理対象
- 非管理
- イメージ
-
ID が 3 である MDiskの詳細情報を表示するには、
lsmdisk delim : 3コマンドを使用します。以下に、その表示内容の例を示します。id:3 name:mdisk3 status:offline mode:managed mdisk_grp_id:3 mdisk_grp_name:SSD3 capacity:136.7GB quorum_index: block_size:512 controller_name SSD ctrl_type:6 ctrl_WWNN:5005076801E87502 controller_id:1 path_count:0 max_path_count:0 ctrl_LUN_#:0000000000000000 UID:5000a72000008fbb000000000000000000000000000000000000000000000000 preferred_WWPN:5000A72A00008FBB active_WWPN:5000A72A00008FBB node_id:10 node_name:destiny location:1 fast_write_state:empty raid_status:online raid_level:raid0 redundancy:0 strip_size:256 spare_goal:2 spare_protection_min:2 balanced:yes tier:generic_ssd site_id:3 site_name:Quorum slow_write_priority fabric_type iscsi easy_tier_load high encrypt no distributed no drive_class_id drive_count 0 stripe_width 0 rebuild_areas_total rebuild_areas_available rebuild_areas_goal dedupe no preferred_iscsi_port_id 127 active_iscsi_port_id 127iSCSI コントローラーに属する MDisk の場合、
lsmdisk出力のiscsi_port_idフィールドは、iSCSI イニシエーター・セッションの詳細を示すlsiscsistorageport出力の行を指しています。 MDisk が劣化やオフラインの状態でも、lsiscsistorageportのstatusフィールドおよびiogroup_listフィールドを使用して、iSCSI コントローラー・セッションがダウンしているかどうかを知ることができます。以下に、表示内容の例を示します。id:0 name:mdisk0 status:online mode:unmanaged mdisk_grp_id: mdisk_grp_name: capacity:100.0GB quorum_index: block_size:512 controller_name:controller0 ctrl_type:4 ctrl_WWNN:200400A0B85AD3B7 controller_id:0 path_count:2 max_path_count:2 ctrl_LUN_#:0000000000000000 UID:600a0b800076b42000002a1755e4f5e200000000000000000000000000000000 preferred_WWPN:202500A0B85AD3B7 active_WWPN:202500A0B85AD3B7 fast_write_state:empty raid_status: raid_level: redundancy: strip_size: spare_goal: spare_protection_min: balanced: tier:enterprise slow_write_priority: fabric_type:fc site_id: site_name: easy_tier_load:medium encrypt:no distributed:no drive_class_id: drive_count:0 stripe_width:0 rebuild_areas_total: rebuild_areas_available: rebuild_areas_goal: dedupe:no preferred_iscsi_port_id: active_iscsi_port_id: