Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> The heartbeat is mounting /dev/drbd0 in secondary server, but when primary server is up, the datas created in secondary server aren't copied to primary server. > > Is there a solution from this ? > When not aiming for a primary-primary cluster, in other words only one side of the cluster is primary and can read/write to the file system,: you should not mount the drbd device on the secondary while the primary has it in-use. When these are your first steps with drbd, I would advise to take it step by step without heartbeat. Test the basics first. Have the primary connect to the secondary, monitor the traffic, disk I/O lights etc (verify the replication is working). # watch -n 1 "cat /proc/drbd" # iostat -dk 1 on both servers Stop activity on the mount point, unmount it. Make the primary, secondary. On the new primary, make it primary. Mount it there and verify the last written files are there. Take it from there to your clustering software. -- Leroy