Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi Guys,
I just started to use drbd 7.8 to replicate two servers (centOS 4.4).
Here is the configuration.
both servers use /dev/sda4 as drbd device.
[root at m2 ~]# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 12761 102398310 83 Linux
/dev/sda3 12762 13016 2048287+ 82 Linux swap
/dev/sda4 13017 19457 51737332+ 83 Linux
after do drbdadm primary r0 in primary server, the sync started and finished without problem (both consistent).
[root at m1 ~]# cat /proc/drbd
version: 0.7.8 (api:77/proto:74)
SVN Revision: 1725 build by root at m1, 2006-12-06 10:45:39
0: cs:Connected st:Primary/Secondary ld:Consistent
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
but when I run mkfs.ext3 /dev/drbd0 on primary and try to mount the device the machine crashed and lost connection.
any helps will be highly appreciated!
Thanks!
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.