I have found the problem, thank you!
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.
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.
Thank you!
--
Vasiliy I Ozerov
вторник, 28 мая 2013 г. в 14:31, Vasiliy I Ozerov написал:
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.And now I am not really understand is it problem with ext4, with disk size 35 Tb or with meta-data disk….Thank you!--Vasiliy I Ozerovвторник, 28 мая 2013 г. в 14:22, Dirk Bonenkamp - ProActive написал:
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:
cheersext4 is not network aware FS.I believe that you need a network filesystem on top of DRDB rather.Example like Redhat GFS, ocfs2 etc..
On Tue, May 28, 2013 at 6:50 PM, Vasiliy I Ozerov <[email protected]> wrote:Good day!
I have a little problem running drbd.
System: Debian Squeeze 6.0.6Kernel: 2.6.32-5-amd64DRBD: 8.3.13-2
Config for home resource:
resource home {on backup {device /dev/drbd1;disk /dev/sda5;address 78.47.3.54:7789;meta-disk /dev/ram0[14];}
on backup2 {device /dev/drbd1;disk /dev/sda4;address 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@backup2 /etc/drbd.d # cat /proc/drbdversion: 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@backup /etc/drbd.d # drbdadm -- --overwrite-data-of-peer primary homeroot@backup /etc/drbd.d # cat /proc/drbdversion: 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)Mfinish: 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@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 errorIn some cases useful info is found in syslog - trydmesg | 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
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user
--
Steve Kieu
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________drbd-user mailing list
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user


