[DRBD-user] fsck on DRBD partition questions

Mike Sweetser - Adhost mikesw at adhost.com
Tue Jul 1 15:44:24 CEST 2008

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


Hello:

I kinda figured as much.  So there's no way to just run part of it as read-only, run the checks on the other half, and then make the checked half the primary, after invalidating the read-only part and making the checked half copy over?

Thanks,
Mike Sweetser

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com on behalf of Florian Haas
Sent: Tue 7/1/2008 12:39 AM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] fsck on DRBD partition questions
 
Mike Sweetser - Adhost wrote:
> Hello,
> 
> We have a DRBD partition mounted right now on its primary server that is
> reporting the need for a fsck to be run.  Naturally, we want to minimize
> the downtime on this, if not eliminating it entirely, so I wanted to see
> if there was any easy way to do this.
> 
> Would something like this be possible?
> 
> * Fail over to the failover server, but mount as read-only
> * Run the fsck on the primary server's copy
> * Rejoin the two and have primary copy to failover
> 
> Are we totally off base here?  Would this work?  Is there another way to
> do this?

Yes you are off base, and this won't work. There's no way for DRBD to
"merge" the fsck modifications on one node with the modifications the
application makes on the other. And there _will_ be modifications (to
the filesystem metadata) on the other node even if you mount there
read-only.

Florian

-- 
: Florian G. Haas
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria

Enterprise consultancy and support for DRBD is available from LINBIT. If
you are interested, Please go to http://www.linbit.com/en/contact and
leave your contact details.

When replying, there is no need to CC my personal address. I monitor the
list on a daily basis. Thank you.
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080701/6031f2fe/attachment.htm>


More information about the drbd-user mailing list