[DRBD-user] after "service drbd restart " drbd become cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----

Felix Frank ff at mpexnet.de
Wed May 18 09:12:53 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.


On 05/17/2011 05:00 PM, Edwige Odedele wrote:
> root1:~# cd /tmp
> 
> root1:/tmp# secondary-me  *brings this error:*

Not very helpful: I don't know what's in that script.

> LV data/confwebmin in use: not deactivating
> 
>   LV data/mysql in use: not deactivating
> 
>   LV data/www in use: not deactivating

Is any of these LVs mounted? Are they opened by any process?
Have you tried lsof and fuser?

>  
> 
> 0: State change failed: (-12) Device is held open by someone
> 
> Command 'drbdsetup 0 secondary' terminated with exit code 11
> 

Again, try lsof and fuser. There may be more hints out there to find out
what's holding your device.



More information about the drbd-user mailing list