Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
No, it is not mount. it is why i did the option -l on umount primary# umount -l /mnt/drbd7 I was saving files on this partition with Xen hypervisor. If I test the same thing with out Xen, everything works fine. 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. Thanks Felipe On Tue, Feb 26, 2013 at 9:27 AM, Anoop <anoop_mohan at geojit.com> wrote: > Check if the mounted directory is open. Logout the session and relogin > again and check. > > Anoop Mohan > > > On 2/26/2013 5:34 PM, Felipe Gutierrez wrote: > > Hi everyone, > > 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. > secondary# drbdadm primary r7 > secondary# mount /dev/drbd7 /mnt/drbd7/ > > Until that every thing is ok. > At this time, my old primary node has to became the secondary and I have > to discard my changes. > primary# umount -l /mnt/drbd7 > primary# drbdadm secondary r7 > 7: State change failed: (-12) Device is held open by someone > Command 'drbdsetup 7 secondary' terminated with exit code 11 > primary# drbdadm -- --discard-my-data connect r7 > > Does anyone have a hint? > Thnaks in advance! > Felipe > > -- > *-- > -- Felipe Oliveira Gutierrez > -- Felipe.o.Gutierrez at gmail.com > -- https://sites.google.com/site/lipe82/Home/diaadia* > > _______________________________________________ > drbd-user mailing listdrbd-user at lists.linbit.comhttp://lists.linbit.com/mailman/listinfo/drbd-user > > > > -- > > ------------------------------------------------------------------------ > 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. > > ------------------------------------------------------------------------ > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > > -- *-- -- Felipe Oliveira Gutierrez -- Felipe.o.Gutierrez at gmail.com -- https://sites.google.com/site/lipe82/Home/diaadia* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130226/255b5e0e/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 9268 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130226/255b5e0e/attachment.jpeg>