<br><br>i tried with ext3 and i have the same problem<br><br>some suggestions ????? pls<br><br><br><br><div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">cosmih</b> <<a href="mailto:cosmih@gmail.com">
cosmih@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>hi,<br><br><br>i try to change a drbd partition in the secondary state and make the other one in primary mode
<br>but i can change the state from primary to secondary<br><br>the drbd0 was formated with reiserfs beacause on this partition is alot of small files and a lot od dirs and subdirs
<br><br>the drbd0 disk was unmount and lsof output is shows that isn't any process that use drbd<br><br>please help<br><br><br>drbdadm secondary all<br>---------------------------------<br><div><span>
State change failed: (-12) Device is held open by someone
<br></span>Command 'drbdsetup /dev/drbd0 secondary' terminated with exit code 11<br>drbdsetup exited with code 11<br><br>cat /proc/drbd<br>---------------------<br>version: 8.0.4 (api:86/proto:86)<br>SVN Revision: 2947 build by
portage@olanda01, 2007-07-03 12:14:14<br> 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---<br> ns:2040996 nr:0 dw:988324 dr:3351781 al:530 bm:258 lo:0 pe:0 ua:0 ap:0<br> resync: used:0/31 hits:65663 misses:129 starving:0 dirty:0 changed:129
<br> act_log: used:0/257 hits:246551 misses:569 starving:0 dirty:39 changed:530<br></div><br><br>lsof | grep drbd<br>----------------------<br>drbd0_wor 5308 root cwd DIR 8,2 4096 2 /<br>
drbd0_wor 5308 root rtd DIR 8,2 4096 2 /<br>drbd0_wor 5308 root txt unknown <div> /proc/5308/exe<br>drbd0_rec 5326 root cwd DIR 8,2 4096 2 /
<br>drbd0_rec 5326 root rtd DIR 8,2 4096 2 /<br>drbd0_rec 5326 root txt unknown /proc/5326/exe<br>drbd0_ase 5899 root cwd DIR 8,2 4096 2 /
<br>drbd0_ase 5899 root rtd DIR 8,2 4096 2 /<br>drbd0_ase 5899 root txt unknown /proc/5899/exe<br><br>ps aux | grep 5308<br>---------------------------<br>root 5308
0.0 0.0 0 0 ? S Jul03 0:04 [drbd0_worker]<br>ps aux | grep 5326<br>---------------------------<br>root 5326 0.0 0.0 0 0 ? S Jul03 0:04 [drbd0_receiver]<br>ps aux | grep 5899
<br>---------------------------<br>root 5899 0.0 0.0 0 0 ? S Jul03 0:01 [drbd0_asender]<br><br>from dmesg<br>-----------------<br>drbd0: State change failed: Device is held open by someone<br>
drbd0: state = { cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate r--- }
<br>drbd0: wanted = { cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate r--- }<br>drbd0: State change failed: Device is held open by someone<br>drbd0: state = { cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate r--- }
<br>drbd0: wanted = { cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate r--- }<div><div><span><br></span></div></div></div><br>
</blockquote></div><br>