[DRBD-user] drbd and fsck

lxnf98mm at comcast.net lxnf98mm at comcast.net
Thu Sep 16 15:19:39 CEST 2010

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


On Thu, 16 Sep 2010, Jakov Sosic wrote:

> On 09/15/2010 03:06 PM, lxnf98mm at comcast.net 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.
>
>
>
>

-- 



More information about the drbd-user mailing list