Locating a node flash drive using the CLI

You can identify the drive slot where a flash drive is located in a SAN Volume Controller 2145-CG8 or 2145-CF8 node by using the SAN Volume Controller CLI.

About this task

To identify the node slot that a flash drive is located in, run the lsmdisk command. To identify additional information about a flash drive, run the lsnodevpd command.

Procedure

  1. To locate a flash drive, run the following command:
    lsmdisk mdisk_name | mdisk_id

    Where mdisk_name | mdisk_id is the name or ID of the MDisk that is a flash drive.

    Output is similar to the following example. The node_id and node_name fields identify the node that the flash drive is installed in. The location field indicates the drive slot that the flash drive is located in. If the field is blank, the MDisk is not a flash drive in a SAN Volume Controller node.
    id 0
    name mdisk0
    status online
    mode managed
    mdisk_grp_id 1
    mdisk_grp_name ssd_n1
    capacity 136.7GB
    quorum_index
    block_size 512
    controller_name controller0
    ctrl_type 6
    ctrl_WWNN 5005076801E00047
    controller_id 0
    path_count 1
    max_path_count 1
    ctrl_LUN_# 0000000000000000
    UID 5000a7200000839100000000000000000\
    0000000000000000000000000000000
    preferred_WWPN 5000A72A00008391
    active_WWPN 5000A72A00008391
    node_id 1
    node_name node1
    location 2
  2. Run the following command to list additional details about the flash drive, including the serial number and firmware level.
    lsnodevpd node_name | node_id

    Where node_name | node_id is the name or ID of the node that contains the flash drive.

    Output is similar to the following example. The drive_location identifies the specific flash drive that is listed:
    drive_location 2
    manufacturer IBM
    model Z16IZD2B-73
    capacity 00014337400
    serial_number S092901FG008
    label_serial_number S092901F
    supplier_serial_number S092901F
    part_number 41Y8476
    firmware_level G008
    FPGA_revision F5
    type SSD
    speed
    enclosure
    connection_type SAS