<div style="font-family: Helvetica; font-size: 13px; ">I have found the problem, thank you!</div><div style="font-family: Helvetica; font-size: 13px; "><br></div><div style="font-family: Helvetica; font-size: 13px; ">Debian shows me installed version 3.8.13, but module was 3.8.7 (see in dmesg). Then I installed linux-image-3.2.0 and drbd8-utils. </div><div style="font-family: Helvetica; font-size: 13px; "><br></div><div style="font-family: Helvetica; font-size: 13px; ">When I loaded the module, dmesg shows me that drbd id 3.8.11 version, so drbd finds all 35 Tb of data and when sync started I have successfully mounted /dev/drbd1 with ext4 fs.</div><div style="font-family: Helvetica; font-size: 13px; "><br></div><div style="font-family: Helvetica; font-size: 13px; ">Thank you!</div>
<div><div><br></div><div>-- </div><div>Vasiliy I Ozerov</div><div><br></div></div>
<p style="color: #A0A0A8;">вторник, 28 мая 2013 г. в 14:31, Vasiliy I Ozerov написал:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<div style="font-family: Helvetica; font-size: 13px; ">I used it on ext3 filesystem (about 120Gb) and it works fine. I can mount drbd1 to /mnt or to /home and work with the data while it syncs.<div><br></div><div>And now I am not really understand is it problem with ext4, with disk size 35 Tb or with meta-data disk….</div><div><br></div><div>Thank you!</div></div>
<div><div><br></div><div>-- </div><div>Vasiliy I Ozerov</div><div><br></div></div>
<p style="color: #A0A0A8;">вторник, 28 мая 2013 г. в 14:22, Dirk Bonenkamp - ProActive написал:</p><blockquote type="cite"><div>
<span><div><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
No, that's only the case when you want to use dual primary mode.<br>
<br>
I'm not sure how things work with existing data on a partition,
never did that. Maybe someone else can say something about that.<br>
<br>
Cheers,<br>
<br>
Dirk<br>
<br>
<br>
<div>Op 28-5-2013 11:50, Steve Kieu schreef:<br>
</div><blockquote type="cite"><div>
<div dir="ltr">
<div>
<div>
<div>I believe that you need a network filesystem on top of
DRDB rather.<br>
<br>
</div>
Example like Redhat GFS, ocfs2 etc..<br>
<br>
</div>
ext4 is not network aware FS.<br>
<br>
</div>
cheers<br>
</div>
<div>
<br>
<br>
<div>On Tue, May 28, 2013 at 6:50 PM,
Vasiliy I Ozerov <span dir="ltr"><<a moz-do-not-send="true" href="mailto:vozerov@2reallife.com" target="_blank">vozerov@2reallife.com</a>></span>
wrote:<br><blockquote type="cite"><div>
<div>Good day! </div>
<div><br>
</div>
<div>I have a little problem running drbd.</div>
<div><br>
</div>
<div>System: Debian Squeeze 6.0.6</div>
<div>Kernel: 2.6.32-5-amd64</div>
<div>DRBD: 8.3.13-2</div>
<div><br>
</div>
<div>Config for home resource:</div>
<div><br>
</div>
<div>
<div>resource home {</div>
<div><span style="white-space:pre-wrap"> </span>on backup
{</div>
<div><span style="white-space:pre-wrap"> </span>device
/dev/drbd1;</div>
<div><span style="white-space:pre-wrap"> </span>disk
/dev/sda5;</div>
<div><span style="white-space:pre-wrap"> </span>address
<a moz-do-not-send="true" href="http://78.47.3.54:7789" target="_blank">78.47.3.54:7789</a>;</div>
<div><span style="white-space:pre-wrap"> </span>meta-disk
/dev/ram0[14];</div>
<div><span style="white-space:pre-wrap"> </span>}</div>
<div><br>
</div>
<div><span style="white-space:pre-wrap"> </span>on
backup2 {</div>
<div><span style="white-space:pre-wrap"> </span>device
/dev/drbd1;</div>
<div><span style="white-space:pre-wrap"> </span>disk
/dev/sda4;</div>
<div><span style="white-space:pre-wrap"> </span>address
<a moz-do-not-send="true" href="http://78.47.3.86:7789" target="_blank">78.47.3.86:7789</a>;</div>
<div><span style="white-space:pre-wrap"> </span>meta-disk
internal;</div>
<div><span style="white-space:pre-wrap"> </span>}</div>
<div>}</div>
<div><br>
</div>
<div>
<div>ram0 - 2Gb Size</div>
<div><br>
</div>
</div>
<div>I make the following actions:</div>
<div><br>
</div>
<div># drbdadm create-md home</div>
<div># /etc/init.d/drbd start</div>
<div><br>
</div>
<div>
Then I see the following:</div>
<div><br>
</div>
<div>
<div>root@backup2 /etc/drbd.d # cat /proc/drbd</div>
<div>version: 8.3.7 (api:88/proto:86-91)</div>
<div>srcversion: EE47D8BF18AC166BE219757</div>
<div><br>
</div>
<div> 1: cs:Connected ro:Secondary/Secondary
ds:Inconsistent/Inconsistent B r----</div>
<div> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0
ap:0 ep:1 wo:b oos:4293787648</div>
</div>
</div>
<div>
<div><br>
</div>
<div>Then I started sync:</div>
<div><br>
</div>
<div>root@backup /etc/drbd.d # drbdadm --
--overwrite-data-of-peer primary home</div>
<div>
<div>root@backup /etc/drbd.d # cat /proc/drbd</div>
<div>version: 8.3.7 (api:88/proto:86-91)</div>
<div>srcversion: EE47D8BF18AC166BE219757</div>
<div><br>
</div>
<div> 1: cs:SyncSource ro:Primary/Secondary
ds:UpToDate/Inconsistent B r----</div>
<div> ns:11232 nr:0 dw:0 dr:11436 al:0 bm:0 lo:0
pe:21 ua:0 ap:0 ep:1 wo:b oos:4293777088</div>
<div><span style="white-space:pre-wrap"> </span>[>....................]
sync'ed: 0.1% (4193140/4193152)M</div>
<div>
<span style="white-space:pre-wrap"> </span>finish:
110:26:11 speed: 10,560 (10,560) K/sec</div>
</div>
<div><br>
</div>
<div>It's ok. </div>
<div><br>
</div>
<div>But when I try to mount /dev/drbd1 I see the
following:</div>
<div><br>
</div>
<div>
<div>root@backup /etc/drbd.d # mount -t ext4 /dev/drbd1
/home/</div>
<div>mount: wrong fs type, bad option, bad superblock on
/dev/drbd1,</div>
<div> missing codepage or helper program, or other
error</div>
<div> In some cases useful info is found in syslog
- try</div>
<div> dmesg | tail or so</div>
</div>
<div><br>
</div>
<div>And in dmesh I saw, that drbd started to sync only
4Tb:</div>
<div><br>
</div>
<div>
<div>[37354503.285925] block drbd1: Forced to consider
local data as UpToDate!</div>
<div>[37354503.285972] block drbd1: Creating new current
UUID</div>
<div>[37354509.351392] block drbd1: drbd_sync_handshake:</div>
<div>[37354509.351424] block drbd1: self
ACD94469A7E81D3F:0000000000000004:0000000000000000:0000000000000000
bits:1073446912 flags:0</div>
<div>[37354509.351478] block drbd1: peer
0000000000000004:0000000000000000:0000000000000000:0000000000000000
bits:1073446912 flags:0</div>
<div>[37354509.351531] block drbd1: uuid_compare()=2 by
rule 30</div>
<div>[37354509.351557] block drbd1: Becoming sync source
due to disk states.</div>
<div>[37354509.351585] block drbd1: Writing the whole
bitmap, full sync required after drbd_sync_handshake.</div>
<div>[37354509.401466] block drbd1: meta data flush
failed with status -5, disabling md-flushes</div>
<div>[37354509.401501] block drbd1: 4095 GB (1073446912
bits) marked out-of-sync by on disk bit-map.</div>
<div>[37354509.401540] block drbd1: conn( Connected
-> WFBitMapS )</div>
<div>[37354511.724636] block drbd1: conn( WFBitMapS
-> SyncSource )</div>
<div>[37354511.724676] block drbd1: Began resync as
SyncSource (will sync 4293787648 KB [1073446912 bits
set]).</div>
</div>
<div><br>
</div>
<div>I tried to use flexible-meta-disk, but with no luck.</div>
<div><br>
</div>
<div>Can you help me to solve this problem?</div>
<div><br>
</div>
<div>Thank you!</div>
<span><font color="#888888">
<div>
-- </div>
<div>Vasiliy I Ozerov</div>
<div><br>
</div>
</font></span></div>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a moz-do-not-send="true" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a moz-do-not-send="true" href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br>
</div></blockquote></div>
<br>
<br clear="all">
<br>
-- <br>
Steve Kieu
</div>
<br>
<fieldset></fieldset>
<br>
<pre wrap="">_______________________________________________
drbd-user mailing list
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</div></blockquote><br>
<div>-- <br>
<title>ProActive Software</title>
<a href="http://www.proactive.nl"><img alt="" src="cid:part6.06070204.09040408@proactive.nl" height="105" width="84" border="0"></a><br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="20">T</td>
<td>023 - 5422299</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><a href="http://www.proactive.nl">www.proactive.nl</a></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><a href="http://nl.linkedin.com/in/dirkbonenkamp"><img src="cid:part9.04080108.01040507@proactive.nl" border="0"></a></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><a href="skype:dirkbonenkamp?call"><img src="cid:part11.03010402.07060305@proactive.nl" style="border: none;" alt="My status" height="20" width="114"></a></td>
</tr>
</tbody>
</table>
<br>
</div>
</div><div><div>_______________________________________________</div><div>drbd-user mailing list</div><div><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a></div><div><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a></div></div></div></span>
</div></blockquote><div>
<br>
</div>
</div></div></span>
</blockquote>
<div>
<br>
</div>