[DRBD-user] secondary/primary on primary

Tom Brown brown at esteem.com
Sun Jun 13 21:08:55 CEST 2004


Well, I found one dumb thing I did wrong: the disk-size is incorrect. It 
should be:
disk-size=114801548k

On Sunday 13 June 2004 08:42, Tom Brown wrote:
> os: RedHat 8.0
> kernel: 2.4.18
> drbd: 0.6.4
>
> I have a primary sever (zan) and secondary server (jayna). Each have a
> 250GB disk with two 120GB partitions. Both partitions are mirrored (see
> drbd.conf below). Heartbeat and drbd startup just fine with one exception:
> the second partion comes up as secondary/primary on the primary server. The
> first partition comes up correctly as primary/secondary on the primary
> server. The logs do not indicate any errors. Any ideas why this occurs?
>
> Thanks,
> Tom
>
> drbd.conf:
> resource drbd0 {
>   protocol=C
>   fsckcmd=/bin/true
>   skip-wait
>   inittimeout=120
>
>   disk {
>     disk-size=28696291k
>   }
>
>   net {
>     #skip-sync
>     sync-max=12M
>     tl-size=10000
>   }
>
>   on zan {
>     device=/dev/nb0
>     disk=/dev/hdb1
>     address=192.168.1.3
>     port=7788
>   }
>
>   on jayna {
>     device=/dev/nb0
>     disk=/dev/hdb1
>     address=192.168.1.4
>     port=7788
>   }
>
> }
>
> resource drbd1 {
>   protocol=C
>   fsckcmd=/bin/true
>   skip-wait
>   inittimeout=120
>
>   disk {
>     disk-size=28696291k
>   }
>
>   net {
>     #skip-sync
>     sync-max=12M
>     tl-size=10000
>   }
>
>   on zan {
>     device=/dev/nb1
>     disk=/dev/hdb2
>     address=192.168.1.3
>     port=7789
>   }
>
>   on jayna {
>     device=/dev/nb1
>     disk=/dev/hdb2
>     address=192.168.1.4
>     port=7789
>   }
>
> }
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list