2012/4/12 Rafał Radecki <[email protected]>:
> 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

You can omit --discard-my-data, the fsck repairs will be replicated to
the secondary. Also make sure that a resource manager doesn't come in
the way.


> primary: mount /xxx
>
> http://www.gossamer-threads.com/lists/drbd/users/14980

your case is a little bit simpler.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
[email protected]
Linux Cluster Management Console
http://lcmc.sf.net/
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to