Listing Disk Information

This procedure describes how to list information about disks and storage pools in HPE Ezmeral Data Fabric on Kubernetes on HPE Ezmeral Runtime Enterprise.

Prerequisites

Required access rights: Platform Administrator or Kubernetes Cluster Administrator access rights are required to download the admin kubeconfig file, which is needed to access Kubernetes cluster pods (see Downloading Admin Kubeconfig).

About this task

For disks that are a part of HPE Ezmeral Data Fabric on Kubernetes, the maprcli disk list command does not display the labels attached to a storage pool. This behavior differs from the output of the command when used on bare-metal implementations of HPE Ezmeral Data Fabric.

For storage pools in HPE Ezmeral Data Fabric on Kubernetes, you use the mrconfig sp list -v command.

Procedure

  1. Access the pod that contains the disks.

    In the following example, the pod is mfs-1.

    kubectl exec -it mfs-1 -n mydfcluster -- /bin/bash
  2. To display the list of storage pools, enter the following command:
    /opt/mapr/server/mrconfig sp list -v

    For example:

    /opt/mapr/server/mrconfig sp list -v
    ListSPs resp: status 0:2
    No. of SPs (2), totalsize 2990781 MB, totalfree 2978132 MB
    
    SP 0: name SP1, Online, size 1495390 MB, free 1483814 MB, path /var/mapr/edf-disks/drive_nvme_0, log 200 MB, port 5660, guid 7ec6fc921e4312bb00617cf69603fbb9, clusterUuid -8211577265220812227--4311821546211161841, disks /var/mapr/edf-disks/drive_nvme_0 /var/mapr/edf-disks/drive_nvme_1 /var/mapr/edf-disks/drive_nvme_2, dare 0, label ssd:5
    SP 1: name SP2, Online, size 1495390 MB, free 1494317 MB, path /var/mapr/edf-disks/drive_nvme_3, log 200 MB, port 5660, guid f6e3590203f5120400617cf69702d7a7, clusterUuid -8211577265220812227--4311821546211161841, disks /var/mapr/edf-disks/drive_nvme_3 /var/mapr/edf-disks/drive_nvme_4 /var/mapr/edf-disks/drive_nvme_5, dare 0, label hdd:6