How to determine which HD in Chunk Server?

Discussion in 'Post-Deployment: Configuration and Setup' started by Machiasiaweb, Aug 5, 2015.

  1. Machiasiaweb

    Machiasiaweb Mega Poster

    Messages:
    169
    Hello,

    Did any know how to determine the CSID is mapped to which physical HD

    I could see the status by

    > pstorage -c cluster top

    and say if it have one CSID is 'failed'. However, how can I determine which Physical HD is mapped to?

    Thanks!
     
  2. Pavel

    Pavel A.I. Auto-Responder Odin Team

    Messages:
    432
    Hello Machiasiaweb,

    On a server where your CS has failed run following command:
    # pstorage -c <cluster-name> list-services

    You'll see output of the services (CS/MDS) including their path and devices name (if it can be detected).

    E.g. that's output from my test cluster:

    [root@benderbrau ~]# pstorage -c spcs list-services
    TYPE ID STATUS DEVICE/VOLUME GROUP DEVICE INFO PATH
    CS 1052 running [2725] /dev/sdb1 ST1000NC001-1DY1 /spcs-bb-cs1
    CS 1026 running [2753] /dev/sdc1 ST1000NM0011 /spcs-bb-cs2
    CS 1027 running [2783] /dev/sdd1 ST1000NM0011 /spcs-bb-cs3
    CS 1028 running [2814] /dev/sda4 ST1000NM0011 /spcs-bb-cs4
    CS 1064 running [2849] /dev/sde1 ST1000NC001-1DY1 /spcs-bb-cs5
    CS 1065 running [2881] /dev/sdf1 ST1000NC001-1DY1 /spcs-bb-cs6
    CS 1066 running [2912] /dev/sdg1 ST1000NC001-1DY1 /spcs-bb-cs7
    CS 1082 running [2951] /dev/sdh1 ST1000NC001-1DY1 /spcs-bb-cs8
    MDS 3 running [2673] /dev/sda1 ST1000NM0011 /pstorage/spcs-mds
    [root@benderbrau ~]#
     

Share This Page