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

Edwige Odedele odedele at popsicube.fr
Mon May 16 17:36:46 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.


Bonjour,

 

Merci à vous mon système drbd fonctionne ou presque .

Mais j’ai toujours une erreur quand je veux changer le statu ( passer de
primary à secondary).

 

SUR LE SERVEUR MAITRE (PRIMARY)

root1:~# cat /proc/drbd

version: 8.3.7 (api:88/proto:86-91)

GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root1, 2011-

05-03 16:52:00

 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----

    ns:1816336116 nr:0 dw:3894692 dr:1812460118 al:1248 bm:110821 lo:0 pe:0
ua:0

 ap:0 ep:1 wo:b oos:0



  

root1:~# cd /tmp

root1:/tmp# secondary-me

 * Stopping web server apache2
[

Mon May 16 17:16:06 2011] [warn] NameVirtualHost *:80 has no VirtualHosts

                                                                         [
OK ]

 * Stopping Postfix Mail Transport Agent postfix                         [
OK ]

 * Stopping ftp server proftpd                                           [
OK ]

Rather than invoking init scripts through /etc/init.d, use the service(8)

utility, e.g. service mysql stop

 

Since the script you are attempting to invoke has been converted to an

Upstart job, you may also use the stop(8) utility, e.g. stop mysql

Rather than invoking init scripts through /etc/init.d, use the service(8)

utility, e.g. service cron stop

 

Since the script you are attempting to invoke has been converted to an

Upstart job, you may also use the stop(8) utility, e.g. stop cron

 * Stopping domain name service... bind9
r

ndc: connect failed: 127.0.0.1#953: connection refused

[: 130: 10847: unexpected operator

                                                                         [
OK ]

Stopping Webmin server in /usr/share/webmin

kill: 4: No such process

 

 * Stopping IMAP/POP3 mail server dovecot                                [
OK ]

umount: /etc/webmin: n'est pas monté

umount: /usr/share/webmin: n'est pas monté

umount: /etc/apache2: n'est pas monté

umount: /var/lib/mysql: n'est pas monté

umount: /var/www: n'est pas monté

umount: /var/log/apache2: n'est pas monté

umount: /home: n'est pas monté

umount: /var/spool/cron: n'est pas monté

umount: /etc/bind: n'est pas monté

umount: /var/cache/bind: n'est pas monté

umount: /var/archives: n'est pas monté

ifdown: interface eth0:0 not configured

  LV data/confwebmin in use: not deactivating

  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

 

 

SUR LE SERVEUR ESCLAVE (SECONDARY)

 

root2:~# cat /proc/drbd

version: 8.3.7 (api:88/proto:86-91)

GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root2, 2011-

05-04 10:47:00

 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----

    ns:0 nr:1816336116 dw:1816336116 dr:0 al:0 bm:110821 lo:0 pe:0 ua:0 ap:0
ep:

1 wo:b oos:0

root2:~# cd /tmp

root2:/tmp# secondary-me

 * Stopping web server apache2
[

Mon May 16 17:30:26 2011] [warn] NameVirtualHost *:80 has no VirtualHosts

                                                                         [
OK ]

 * Stopping Postfix Mail Transport Agent postfix                         [
OK ]

 * Stopping ftp server proftpd                                           [
OK ]

Rather than invoking init scripts through /etc/init.d, use the service(8)

utility, e.g. service mysql stop

 

Since the script you are attempting to invoke has been converted to an

Upstart job, you may also use the stop(8) utility, e.g. stop mysql

Rather than invoking init scripts through /etc/init.d, use the service(8)

utility, e.g. service cron stop

 

Since the script you are attempting to invoke has been converted to an

Upstart job, you may also use the stop(8) utility, e.g. stop cron

 * Stopping domain name service... bind9
r

ndc: connect failed: 127.0.0.1#953: connection refused

[: 130: 1240: unexpected operator

                                                                         [
OK ]

Stopping Webmin server in /usr/share/webmin

cat: /var/webmin/miniserv.pid: Aucun fichier ou dossier de ce type

kill: 4: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or

kill -l [exitstatus]

 * Stopping IMAP/POP3 mail server dovecot                                [
OK ]

umount: /etc/webmin: n'est pas monté

umount: /usr/share/webmin: n'est pas monté

umount: /etc/apache2: n'est pas monté

umount: /var/lib/mysql: n'est pas monté

umount: /var/www: n'est pas monté

umount: /var/log/apache2: n'est pas monté

umount: /home: n'est pas monté

umount: /var/spool/cron: n'est pas monté

umount: /etc/bind: n'est pas monté

umount: /var/cache/bind: n'est pas monté

umount: /var/archives: n'est pas monté

ifdown: interface eth0:0 not configured

  Volume group "data" not found

  Skipping volume group data

 

 

 

Je vous remercie d’avance

 

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


More information about the drbd-user mailing list