On Thu, 16 Sep 2010, Jakov Sosic wrote:

On 09/15/2010 03:06 PM, [email protected] wrote:
I have a ext3 filesystem on drbd
When I run fsck should I run it on all nodes

Are you using Primary/Secondary setup? If you do, then you fsck on the
primary. Device is locked on the secondary.

Yes I have Primary/Secondary setup
It probably seems ridiculous but I thought I might have to switch each node to the primary role and fsck each one
When in doubt I ask

Thanks



Also remember that you should fsck /dev/drbdX and not the underlying
/dev/sdaY...

If you use Primary/Primary with ext3, then you can do operations with FS
only on ONE node at a time... eg you can mount it on node1, and when
it's mounted you shouldn't mount it on other node because it will
corrupt the filesystem metadata. If you fsck it on one node, don't fsck
it on another while first fsck is running.





--
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to