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>