Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi all I'm new to drbd, and would like to implement it on a machine which has RAID-1 & LVM running, but don't seem to understand the concept very clearly. Can someone please point me into the right direction? The problem I'm having, is that the data on the one PC doesn't sync on the other PC. backup2:~ # cat /proc/drbd version: 0.7.22 (api:79/proto:74) SVN Revision: 2554 build by lmb at dale, 2006-10-30 22:52:11 0: cs:Connected st:Secondary/Secondary ld:Inconsistent ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 My setup is as follows: I have 2 PC's, each with 2x 160GB SATA II HDD's Then I have setup software RAID-1 on each, and LVM on top of it, as follows: /dev/sda ? 149.0 GB ? ?MAXTOR-STM316021 ? ? ? ? /dev/sda1 ? 101.9 MB | ?Linux RAID ? ?md0 ? ? /dev/sda2 ? 2.0 GB ? ?Linux swap ?swap ? ? ? /dev/sda3 ? 146.9 GB ? ?Linux RAID ? ?md1 ? ? /dev/sdb ? 149.0 GB ? ?MAXTOR-STM316021 ? ? ? ? /dev/sdb1 ? 101.9 MB ? ?Linux RAID ? ?md0 ? ? /dev/sdb2 ? 2.0 GB | ?Linux swap ?swap ? ? ? /dev/sdb3 ? 146.9 GB ? ?Linux RAID ? ?md1 ? ? /dev/md0 ? 101.8 MB | ?MD Raid ?/boot ? ? ? /dev/md1 | 146.9 GB ? ?MD Raid ? ?LVM system ? ? /dev/system ? 146.9 GB ? ?LVM2 system ? ? ? ? /dev/system/home ? 80.0 GB ? ?LV ?/home | ? ? /dev/system/opt ? 20.0 GB ? ?LV ?/opt | ? ? /dev/system/root ? 10.0 GB ? ?LV ?/ ? ? ? /dev/system/share ? 36.9 GB ? ?LV |/share * ? ? | This is my /etc/drbd.conf file: resource r0 { protocol C; # incon-degr-cmd "halt -f"; incon-degr-cmd "echo 'DRBD: primary requested but inconsistent!' | wall; sleep 3000"; # incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60"; startup { wfc-timeout 0; degr-wfc-timeout 120; } # disk { on-io-error detach; } # or panic, ... syncer { group 0; rate 600M; } on backup1 { device /dev/drbd0; disk /dev/mapper/system-share; meta-disk internal; address 192.168.1.11:7788; } on backup2 { device /dev/drbd0; disk /dev/mapper/system-share; meta-disk internal; address 192.168.1.12:7788; } } -- Kind Regards Rudi Ahlers CEO, SoftDux Tel: 087 508-9573 Cell: 082 554 7532 Web: http://www.SoftDux.com Forum: http://Forum.SoftDux.com Join SA WebHostingTalk today, on http://www.WebHostingTalk.co.za -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20071005/8ff6320e/attachment.htm>