Displaying 1 result from an estimated 1 matches for "localdiskstate".
2007 Jul 16
9
DRBD facts
...(\d+): cs:Unconfigured/
        device = $1
        result["drbdconnectionstate#{device}"] = "Unconfigured"
      elsif l =~ /(\d+): cs:(\w+) st:(\w+)\/(\w+) ds:(\w+)\/(\w+)/
        device = $1
        connectionstate = $2
        localstate = $3
        peerstate = $4
        localdiskstate = $5
        peerdiskstate = $6
        result["drbdconnectionstate#{device}"] = connectionstate
        result["drbdlocalstate#{device}"] = localstate
        result["drbdpeerstate#{device}"] = peerstate
        result["drbdlocaldiskstate#{device}"] = local...