Hi all.<br><br>I have a device /dev/drbd0 on which I have an ext3 filesystem. It needs fsck because there are problems on it.<br>I want to stop drbd beetwen two nodes, then run fsck on primary. Then when I will have problems on primary I will be able to use the secondary node with its /dev/drbd0 (no changes from fsck).<br>
<br>I plan to:<br>primary&secondary: drbdadm disconnect r0<br>primary: umount /xxx<br>primary: e2fsck -y /dev/drbd0<br>after fsck:<br>primary: drbdadm connect r0<br>secondary: <span class="Apple-style-span" style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);font-size:small;display:inline!important;float:none">drbdadm -- --discard-my-data
connect r0</span><span class="Apple-style-span" style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);font-size:small;display:inline!important;float:none"><span class="Apple-converted-space"><br>
primary: mount /xxx<br><br></span></span><a href="http://www.gossamer-threads.com/lists/drbd/users/14980">http://www.gossamer-threads.com/lists/drbd/users/14980</a><br><br>Is it a good way?<br><br>Best regards,<br>Rafal.<br>