[DRBD-user] How to invalidate external meta-data during boot?

Little, Kevin klittle at verivue.com
Mon Jun 29 17:57:32 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello, List.

I have the following scenario:
1) On a custom kernel, DRBD can be disabled via a boot flag;
2) DRBD, when enabled, has been configured to use external meta-data;
3) The disk partition dedicated to the external meta-data is NOT disturbed if Linux boots with DRBD disabled;
4) The corresponding user-data disk partition that is mirrored when DRBD is enabled is mounted directly, and written to, when DRBD is disabled;
5) Thus there is a skew between the user-data partition and the meta-data.

Questions:
A) When DRBD is re-enabled on a subsequent reboot, does it detect the skew between the user-data partition and the meta-data partition?
B) What is the best way to automatically invalidate, somewhere in the init scripts, the meta-data when booting with DRBD disabled?

Thanks in advance!

           -k

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090629/833c31f7/attachment.htm>


More information about the drbd-user mailing list