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

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


I got the solution

 

 



  

 

Cordialement,

 

 

Edwige ODEDELE
Apprentie Réseaux et Sécurité 



Work: +33 1 80 90 50 80

Direct: +33 1 80 90 50 88

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

Description : popsicube_sign

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

FRANCE

 

 

De : drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] De la part de Edwige Odedele
Envoyé : jeudi 19 mai 2011 11:10
À : drbd-user at lists.linbit.com
Objet : [DRBD-user] 0: State change failed: (-12) Device is held open by
someone

 

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/a22b8551/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/a22b8551/attachment.gif>


More information about the drbd-user mailing list