[DRBD-user] Dual primary// GFS2// Cannot mount /dev/drbd0 on second DRBD node

Daniel Meszaros spam at meszi.de
Wed Aug 10 09:51:10 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Daniel Meszaros:
> Daniel Meszaros:
>> # service cman restart
>> Stopping cluster:
>>    Leaving fence domain... [  OK  ]
>>    Stopping gfs_controld... [  OK  ]
>>    Stopping dlm_controld... [  OK  ]
>>    Stopping fenced... [  OK  ]
>>    Stopping cman... [  OK  ]
>>    Unloading kernel modules... [  OK  ]
>>    Unmounting configfs... [  OK  ]
>> Starting cluster:
>>    Checking Network Manager... NetworkManager: unknown service
>>
>> Network Manager is configured to run. Please disable it in the cluster.
>> [FAILED]
> I am running this on a Debian 6.0.2 machine and I don't see any 
> Network Manager configured nor installed. :-/
I guess I found it....

# less /etc/init.d/cman
[...]
network_manager_enabled()
{
         if type chkconfig >/dev/null 2>&1 && chkconfig NetworkManager; then
                 errmsg="\nNetwork Manager is configured to run. Please 
disable it in the cluster."
                 return 1
         fi

         if status NetworkManager > /dev/null 2>&1 || \
            status network-manager > /dev/null; then
                 errmsg="\nNetwork Manager is running. Please disable it 
in the cluster."
                 return 1
         fi
         return 0
}
[...]

I installed "chkconfig" in the meantime and that obviously caused the 
problem. I removed it now and ...

# service cman restart
Stopping cluster:
    Leaving fence domain... [  OK  ]
    Stopping gfs_controld... [  OK  ]
    Stopping dlm_controld... [  OK  ]
    Stopping fenced... [  OK  ]
    Stopping cman... [  OK  ]
    Unloading kernel modules... [  OK  ]
    Unmounting configfs... [  OK  ]
Starting cluster:
    Checking Network Manager... [  OK  ]
    Global setup... [  OK  ]
    Loading kernel modules... [  OK  ]
    Mounting configfs... [  OK  ]
    Starting cman... [  OK  ]
    Waiting for quorum... [  OK  ]
    Starting fenced... [  OK  ]
    Starting dlm_controld... [  OK  ]
    Starting gfs_controld... [  OK  ]
    Unfencing self... [  OK  ]
    Joining fence domain... [  OK  ]

Stay tuned... ;-)

CU,
Mészi.





More information about the drbd-user mailing list