[DRBD-user] FSCK on DRBD resource.

Rafał Radecki radecki.rafal at gmail.com
Thu Apr 12 16:27:50 CEST 2012

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


Hi all.

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 beetwen two nodes, then run fsck on primary. Then when
I will have problems on primary I will be able to use the secondary node
with its /dev/drbd0 (no changes from fsck).

I plan to:
primary&secondary: drbdadm disconnect r0
primary: umount /xxx
primary: e2fsck -y /dev/drbd0
after fsck:
primary: drbdadm connect r0
secondary: drbdadm -- --discard-my-data connect r0
primary: mount /xxx

http://www.gossamer-threads.com/lists/drbd/users/14980

Is it a good way?

Best regards,
Rafal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120412/2e7876af/attachment.htm>


More information about the drbd-user mailing list