[DRBD-user] DRBD resource can not stop remaines bussy

Theophanis Kontogiannis theophanis_kontogiannis at yahoo.gr
Sat Mar 15 12:46:26 CET 2008

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


Hello,

I see the following.

I have two primary/primary resources (r0 and r1).

On one of the nodes (node B) I do "service drbd stop".

I get the message:

Stopping all DRBD resourcesState change failed: (-12) Device is held open by
someone
Command '/sbin/drbdsetup /dev/drbd1 down' terminated with exit code 11
command exited with code 11
ERROR: Module drbd is in use

However "cat /proc/drbd" gives:


version: 8.2.1 (api:86/proto:86-87)
GIT-hash: 318925802fc2638479ad090b73d7af45503dd184 build by bachbuilder@,
2008-03-10 03:11:47
 0: cs:Unconfigured
 1: cs:Connected st:Primary/Primary ds:UpToDate/UpToDate C r---
    ns:0 nr:0 dw:0 dr:472 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0


So doing "lsof | grep drbd" I get:

drbd1_wor  2573      root  cwd       DIR                9,1     4096
2 /
drbd1_wor  2573      root  rtd       DIR                9,1     4096
2 /
drbd1_wor  2573      root  txt   unknown
/proc/2573/exe
drbd1_rec  2612      root  cwd       DIR                9,1     4096
2 /
drbd1_rec  2612      root  rtd       DIR                9,1     4096
2 /
drbd1_rec  2612      root  txt   unknown
/proc/2612/exe
drbd1_ase 10887      root  cwd       DIR                9,1     4096
2 /
drbd1_ase 10887      root  rtd       DIR                9,1     4096
2 /
drbd1_ase 10887      root  txt   unknown
/proc/10887/exe

ps -aux | grep drbd
root      2573  0.0  0.0      0     0 ?        S    Mar14   0:00
[drbd1_worker]
root      2612  0.0  0.0      0     0 ?        S    Mar14   0:00
[drbd1_receiver]
root     12042  0.0  0.0      0     0 ?        S    13:44   0:00
[drbd1_asender]

Kill -KILL for the above processes does not work

Anyone knows what is going on?

Thank you All for your time.

Theophanis Kontogiannis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080315/833a6625/attachment.htm>


More information about the drbd-user mailing list