CS server init failed

Discussion in 'General Questions' started by Mikhaylov9, Mar 17, 2016.

  1. Mikhaylov9

    Mikhaylov9 Kilo Poster

    Messages:
    10
    Hello! i have a server with 3 CS server. I got the error with my CS like this:
    TYPE ID STATUS DEVICE/VOLUME GROUP DEVICE INFO PATH
    CS 1036 running [91726] /dev/sdb1 TOSHIBA THNSNJ51 /var/run/pstorage/hotplug/pstorage-boIXHaxI/cs
    CS 1035 running [91765] /dev/sdd1 TOSHIBA THNSNJ51 /var/run/pstorage/hotplug/pstorage-cA5rUjnq/cs
    CS init failed [91802] /dev/sda1 TOSHIBA THNSNJ51 /var/run/pstorage/hotplug/pstorage-ezsLZaRL/cs
    MDS 4 running [3531] vg_vzsrvhost001 LVM (sdc2) /pstorage/vz-cs-cluster-001-mds2

    all disk and cs are simmular. how can i debug init error? thanks.
     
  2. Pavel

    Pavel A.I. Auto-Responder Odin Team

    Messages:
    416
    Hello,

    Each service has its own logs. You can easily find them by following my example:
    Code:
    [root@pcs-3rdline-7 ~]# pstorage -c 3rdline list-services
    TYPE    ID    STATUS                 DEVICE/VOLUME GROUP            DEVICE INFO                         PATH
    CS    1038    running [3409]         vg_pcs3rdline1                 LVM (sdb2)                          /pstorage/3rdline-cs7
    [root@pcs-3rdline-7 ~]# ls -la /pstorage/3rdline-cs7/logs/
    total 1113004
    drwxrwx--- 2 root     pstorage      4096 Mar 16 18:34 .
    drwxr-xr-x 6 root     root          4096 Mar 18 09:24 ..
    -rw-r--r-- 1 pstorage pstorage  90914155 Mar 18 12:26 cs.log.gz
    -rw-r--r-- 1 pstorage pstorage 104866189 Mar 16 18:34 cs.log.gz.0
    -rw-r--r-- 1 pstorage pstorage 104858287 Mar 12 17:27 cs.log.gz.1
    -rw-r--r-- 1 pstorage pstorage 104888458 Mar  9 12:17 cs.log.gz.2
    -rw-r--r-- 1 pstorage pstorage 104909095 Mar  4 12:54 cs.log.gz.3
    -rw-r--r-- 1 pstorage pstorage 104876998 Mar  3 15:22 cs.log.gz.4
    -rw-r--r-- 1 pstorage pstorage 104860216 Mar  2 13:03 cs.log.gz.5
    -rw-r--r-- 1 pstorage pstorage 104858122 Feb 27 03:10 cs.log.gz.6
    -rw-r--r-- 1 pstorage pstorage 104857823 Feb 21 14:17 cs.log.gz.7
    -rw-r--r-- 1 pstorage pstorage 104858271 Feb 19 00:52 cs.log.gz.8
    -rw-r--r-- 1 pstorage pstorage 104861826 Feb 17 12:49 cs.log.gz.9
    -rw-r--r-- 1 root     root         16506 Jul 20  2015 fatal.log
    [root@pcs-3rdline-7 ~]# 
    
    So, you just append "logs" to the path returned by "list-services".
    Note the "fatal.log". If service is unable to start you'll get some valuable information there.
     

Share This Page