[DRBD-user] 0: State change failed: (-12) Device is held open by someone

Edwige Odedele odedele at popsicube.fr
Thu May 19 11:09:48 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.


Hi ,

I want to secondary  my master node and it failed  because  can’t
deactivating one of my logical volume used by drbd.

Root1:/# cd /tmp

Root1:/ tmp# secondary-me

ifdown: interface eth0:0 not configured

  LV data/mysql in use: not deactivating

  LV data/www in use: not deactivating

0: State change failed: (-12) Device is held open by someone

Command 'drbdsetup 0 secondary' terminated with exit code 11

 

Root1:/# lvchange -an /dev/data/www

  LV data/www in use: not deactivating

 

 Then  these commands : “ lsof /dev/data/www and 

fuser /dev/data/www “ show nothing



  Is there a way to force deactivating of lv?

 

 

Regard, 

 

Cordialement,

 

 

Edwige ODEDELE
Apprentie Réseaux et Sécurité 



Work: +33 1 80 90 50 80

Direct: +33 1 80 90 50 88

Email: odedele at popsicube.fr
Fax: +33 1 80 90 50 89

Description : popsicube_sign

 <http://www.popsicube.fr/> POPSI CUBE
6 rue Jean-Pierre Timbaud
<http://maps.google.com/maps?q=12+avenue+des+pr%E9s%2C78059+St+Quentin+en+Yv
elines+cedex%2CFRANCE&hl=en> – A1 Sud
78180 Montigny le Bretonneux 

FRANCE

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110519/dd4abca8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2139 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110519/dd4abca8/attachment.gif>


More information about the drbd-user mailing list