Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Tuesday 17 March 2009 10:39:15 Lars Ellenberg wrote: > rather implement a "ping to disk". > have one file / block on the drbd, and write to that every few seconds. > then DRBD can detect if the actual remote _disk_ is responding, > and not just the kernel thread ;-) > > and its just a matter of > cd /into/mounted/drbd > while sleep 10; do > dd conv=fsync if=/dev/zero of=__probe__ bs=1b count=1 > done Wouldn't a simple: while sleep 10; do touch __probe__ ; done be enough? Updates to meta data are sufficient to write something to the disk and the dd-call has to write that byte _and_ update the meta data. Regards, Stefan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090317/9da48e68/attachment.pgp>