[DRBD-user] drbd replicates errors too!

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Thu Apr 26 16:38:14 CEST 2007

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, Apr 26, 2007 at 10:32:53AM -0400, Charles Bennington wrote:
> Just running fsck on /dev/drbd0 will require bringing the cluster off
> lines so that I can umount the filesystem -- which isn't really an
> option.  So it sounds like I really am stuck with taking one node off
> line to perform the fsck and then switching over to it so that it
> becomes master and then re-syncing the other node?

If you're willing to do that then I suppose you can use the cluster in
read-only mode. If that's so, then you can:

mount /cluster -o remount,ro
e2fsck -f /dev/drdb0
echo 3 > /proc/sys/vm/drop_caches
mount /cluster -o remount,rw

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20070426/67b1cab6/attachment.pgp>


More information about the drbd-user mailing list