No, it is not mount. it is why i did the option -l on umount<br><br>
primary# umount -l /mnt/drbd7<br><br>I was saving files on this partition with Xen hypervisor.<br>If I test the same thing with out Xen, everything works fine.<br><br>I just have to know how to force to make it secondary. For this time I rebbot the machine and I get to put to secondary. But I have to simulate it with out rebooting.<br>
<br>Thanks<br>Felipe<br><br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 9:27 AM, Anoop <span dir="ltr"><<a href="mailto:anoop_mohan@geojit.com" target="_blank">anoop_mohan@geojit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Check if the mounted directory is open.
Logout the session and relogin again and check.<br>
<br>
Anoop Mohan<div><div class="h5"><br>
<br>
On 2/26/2013 5:34 PM, Felipe Gutierrez wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">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 href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>
-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
drbd-user mailing list
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
<br>
<div>-- <br>
<img src="cid:part3.02080103.04020806@geojit.com" border="0"></div>
</div>
<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>
<br>_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b>