<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Check if the mounted directory is open.
Logout the session and relogin again and check.<br>
<br>
Anoop Mohan<br>
<br>
On 2/26/2013 5:34 PM, Felipe Gutierrez wrote:<br>
</div>
<blockquote
cite="mid:CAPOsGyYTudKt8M3478GCDCOhbtvrFf3Q3_dQpmoen7N2sKprAQ@mail.gmail.com"
type="cite">Hi everyone,<br>
<br>
I am trying to do a failover system only with drbd. When my
primary node get out of the network, the secondary node became
primary and I mount the filesystem.<br>
secondary# drbdadm primary r7<br>
secondary# mount /dev/drbd7 /mnt/drbd7/<br>
<br>
Until that every thing is ok.<br>
At this time, my old primary node has to became the secondary and
I have to discard my changes.<br>
primary# umount -l /mnt/drbd7<br>
primary# drbdadm secondary r7<br>
7: State change failed: (-12) Device is held open by someone<br>
Command 'drbdsetup 7 secondary' terminated with exit code 11<br>
primary# drbdadm -- --discard-my-data connect r7<br>
<br>
Does anyone have a hint?<br>
Thnaks in advance!<br>
Felipe<br clear="all">
<br>
-- <br>
<b>--<br>
-- Felipe Oliveira Gutierrez<br>
-- <a moz-do-not-send="true"
href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>
-- <a moz-do-not-send="true"
href="https://sites.google.com/site/lipe82/Home/diaadia"
target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part3.02080103.04020806@geojit.com" border="0"></div>
</body>
<pre>
------------------------------------------------------------------------
The information contained in this electronic message and its attachments
(the "message") is intended solely for the addressees and is confidential
and privileged. If you are not the intended recipient, please notify the
sender by reply e-mail and then destroy the message. Any dissemination,
distribution, forwarding, copying, printing or disclosure, either whole
or partial, is prohibited and may be unlawful.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
------------------------------------------------------------------------
</pre>
</html>