[DRBD-user] drbd 35Tb disk with ext4

Dirk Bonenkamp - ProActive dirk at proactive.nl
Tue May 28 12:22:54 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


No, that's only the case when you want to use dual primary mode.

I'm not sure how things work with existing data on a partition, never
did that. Maybe someone else can say something about that.

Cheers,

Dirk


Op 28-5-2013 11:50, Steve Kieu schreef:
> I believe that you need a network filesystem on top of DRDB rather.
>
> Example like Redhat  GFS, ocfs2 etc..
>
> ext4 is not network aware FS.
>
> cheers
>
>
> On Tue, May 28, 2013 at 6:50 PM, Vasiliy I Ozerov
> <vozerov at 2reallife.com <mailto:vozerov at 2reallife.com>> wrote:
>
>     Good day!
>
>     I have a little problem running drbd.
>
>     System: Debian Squeeze 6.0.6
>     Kernel: 2.6.32-5-amd64
>     DRBD: 8.3.13-2
>
>     Config for home resource:
>
>     resource home {
>     on backup {
>     device    /dev/drbd1;
>     disk      /dev/sda5;
>     address   78.47.3.54:7789 <http://78.47.3.54:7789>;
>     meta-disk /dev/ram0[14];
>     }
>
>     on backup2 {
>     device    /dev/drbd1;
>     disk      /dev/sda4;
>     address   78.47.3.86:7789 <http://78.47.3.86:7789>;
>     meta-disk internal;
>     }
>     }
>
>     ram0 - 2Gb Size
>
>     I make the following actions:
>
>     # drbdadm create-md home
>     # /etc/init.d/drbd start
>
>     Then I see the following:
>
>     root at backup2 /etc/drbd.d # cat /proc/drbd
>     version: 8.3.7 (api:88/proto:86-91)
>     srcversion: EE47D8BF18AC166BE219757
>
>      1: cs:Connected ro:Secondary/Secondary
>     ds:Inconsistent/Inconsistent B r----
>         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
>
>     Then I started sync:
>
>     root at backup /etc/drbd.d # drbdadm -- --overwrite-data-of-peer
>     primary home
>     root at backup /etc/drbd.d # cat /proc/drbd
>     version: 8.3.7 (api:88/proto:86-91)
>     srcversion: EE47D8BF18AC166BE219757
>
>      1: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent B
>     r----
>         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
>     [>....................] sync'ed:  0.1% (4193140/4193152)M
>     finish: 110:26:11 speed: 10,560 (10,560) K/sec
>
>     It's ok. 
>
>     But when I try to mount /dev/drbd1 I see the following:
>
>     root at backup /etc/drbd.d # mount -t ext4 /dev/drbd1 /home/
>     mount: wrong fs type, bad option, bad superblock on /dev/drbd1,
>            missing codepage or helper program, or other error
>            In some cases useful info is found in syslog - try
>            dmesg | tail  or so
>
>     And in dmesh I saw, that drbd started to sync only 4Tb:
>
>     [37354503.285925] block drbd1: Forced to consider local data as
>     UpToDate!
>     [37354503.285972] block drbd1: Creating new current UUID
>     [37354509.351392] block drbd1: drbd_sync_handshake:
>     [37354509.351424] block drbd1: self
>     ACD94469A7E81D3F:0000000000000004:0000000000000000:0000000000000000 bits:1073446912
>     flags:0
>     [37354509.351478] block drbd1: peer
>     0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:1073446912
>     flags:0
>     [37354509.351531] block drbd1: uuid_compare()=2 by rule 30
>     [37354509.351557] block drbd1: Becoming sync source due to disk
>     states.
>     [37354509.351585] block drbd1: Writing the whole bitmap, full sync
>     required after drbd_sync_handshake.
>     [37354509.401466] block drbd1: meta data flush failed with status
>     -5, disabling md-flushes
>     [37354509.401501] block drbd1: 4095 GB (1073446912 bits) marked
>     out-of-sync by on disk bit-map.
>     [37354509.401540] block drbd1: conn( Connected -> WFBitMapS )
>     [37354511.724636] block drbd1: conn( WFBitMapS -> SyncSource )
>     [37354511.724676] block drbd1: Began resync as SyncSource (will
>     sync 4293787648 KB [1073446912 bits set]).
>
>     I tried to use flexible-meta-disk, but with no luck.
>
>     Can you help me to solve this problem?
>
>     Thank you!
>     -- 
>     Vasiliy I Ozerov
>
>
>     _______________________________________________
>     drbd-user mailing list
>     drbd-user at lists.linbit.com <mailto:drbd-user at lists.linbit.com>
>     http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
>
>
> -- 
> Steve Kieu
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
ProActive Software <http://www.proactive.nl>
T 	023 - 5422299
 
www.proactive.nl <http://www.proactive.nl>
 
<http://nl.linkedin.com/in/dirkbonenkamp>
 
My status <skype:dirkbonenkamp?call>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130528/8a3db7c2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.gif
Type: image/gif
Size: 3966 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130528/8a3db7c2/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.gif
Type: image/gif
Size: 1965 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130528/8a3db7c2/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirkbonenkamp
Type: image/png
Size: 755 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130528/8a3db7c2/attachment.png>


More information about the drbd-user mailing list