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.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to