On 04/12/2012 08:09 PM, Matt Graham wrote:
> From: Rasto Levrinc <[email protected]>
>> > 2012/4/12 Rafał Radecki <[email protected]>:
>>> >> I have a device /dev/drbd0 on which I have an ext3 filesystem. It
>>> >> needs fsck because there are problems on it. I want to stop drbd
>>> >> between the two nodes, then run fsck on primary. Then [if] I have
>>> >> problems [after fscking the] primary, I will be able to use the
>>> >> secondary node [even though fsck failed miserably].
> [snip]
>> > You can omit --discard-my-data, the fsck repairs will be replicated to
>> > the secondary.
> Except Rafal doesn't want to do that.  He wants to stop the secondary before
> fscking, in case e2fsck destroys the data on the primary.

Yes, but still - after it's all done, you will connect the secondary,
and you will not need to discard any data.

The data *must* be discarded from the damaged (fsck'd) node in case the
OP wants to revert to the state of the former secondary.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to