How to check Write Journal is active?

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

  1. Machiasiaweb

    Machiasiaweb Mega Poster

    Messages:
    169
    Hello,

    Does any method to check write Journal is active and linked to which location?

    Also, anything can check Journal statistics. I can see by

    pstorage -c pcs1 mnt-top

    one item called

    "Cache hits: 1.5% (3.8% average)"

    Not sure is regarding read cache or write journal?

    Thanks!
     
  2. Pavel

    Pavel A.I. Auto-Responder Odin Team

    Messages:
    432
    mnt-top will show you read cache information only, it will not show write cache information.
    Regarding write cache (journal) - check "pstorage- c <CLUSTER> top" command, press "i" to scroll to "FLAGS" column and check if "J" is present. If it is - journal is active.

    To check where journal is located you'll have to do some manual work:

    1) find path to CS:
    Code:
    [root@pcs-3rdline-7 ~]# pstorage -c 3rdline list-services 
    TYPE  ID  STATUS  DEVICE/VOLUME GROUP  DEVICE INFO  PATH 
    CS  1038  running [2938]  vg_pcs3rdline1  LVM (sdb2)  /pstorage/3rdline-cs7 
    
    2) append "/control/journal" to this path to find journal location:
    Code:
    [root@pcs-3rdline-7 ~]# ls -la /pstorage/3rdline-cs7/control/journal 
    lrwxrwxrwx 1 pstorage pstorage 12 Июн  9 13:08 /pstorage/3rdline-cs7/control/journal -> /ssd/journal
    [root@pcs-3rdline-7 ~]#  
    
     
    Machiasiaweb likes this.

Share This Page