[Linux-ha-jp] DRBD の再起動のたびに再同期が必要となる?

Back to archive index

清水 純 jun.s****@centr*****
2012年 5月 31日 (木) 11:08:04 JST


池田様

ご連絡ありがとうございます。

ちょっと環境をOS毎一から作り直しているのですぐに試せませんが
試してみようと思います。

ちなみに、METAデータをローカルHDD上に保存するよう外部メタデータを
使用した際には同じ設定でちゃんと動きました。

以下はdrbdadm down 後に up したときのログの抜粋です。

-- 成功例(内臓ディスク)
block drbd2: Starting worker thread (from drbdsetup [3406])
block drbd2: disk( Diskless -> Attaching )
block drbd2: No usable activity log found.
block drbd2: Method to ensure write ordering: drain
block drbd2: drbd_bm_resize called with capacity == 16064937
block drbd2: resync bitmap: bits=2008118 words=31377 pages=62
block drbd2: size = 7844 MB (8032468 KB)
block drbd2: bitmap READ of 62 pages took 0 jiffies
block drbd2: recounting of set bits took additional 0 jiffies
block drbd2: 0 KB (0 bits) marked out-of-sync by on disk bit-map.

-- 失敗例(ioDrive)
block drbd1: Starting worker thread (from drbdsetup [3523])
block drbd1: disk( Diskless -> Attaching )
block drbd1: No usable activity log found.
block drbd1: Method to ensure write ordering: drain
block drbd1: max BIO size = 4096
block drbd1: drbd_bm_resize called with capacity == 16064368
block drbd1: resync bitmap: bits=2008046 words=31376 pages=62
block drbd1: size = 7844 MB (8032184 KB)
block drbd1: Writing the whole bitmap, size changed
block drbd1: bitmap WRITE of 62 pages took 1 jiffies
block drbd1: 7844 MB (2008046 bits) marked out-of-sync by on disk bit-map.
block drbd1: bitmap READ of 62 pages took 4 jiffies
block drbd1: recounting of set bits took additional 0 jiffies
block drbd1: 7844 MB (2008046 bits) marked out-of-sync by on disk bit-map.

bitmap(METAデータ?)を読み込むべき部分でなぜか書き込みを行っている
ように見えますが、原因がわかりません。

このログからなにかわかるでしょうか?

(2012/05/29 22:38), Junko IKEDA wrote:
> 清水様
> 
> NTTデータ先端技術の池田です。
> 
> after-sb-*pri の設定ですが、0pri, 1pri, 2pri 全てを
> disconnect に設定して動作を確認していただくことは可能でしょうか。
> 
>> after-sb-0pri discard-zero-changes;
>> after-sb-1pri discard-secondary;
>> after-sb-2pri disconnect;
> 
> これらのパラメータはスプリットブレイン発生後の動作を
> 定義するものなので、今回のケース(ノード停止)には
> 関係ないかもしれませんが…。
> 
> また、DRBDのログ(RHELでは/var/log/messagesに出力されます)を
> 開示していただくことは可能でしょうか。
> 
> 以上よろしくお願いいたします。
> 
> 池田淳子
> 
> 
> _______________________________________________
> Linux-ha-japan mailing list
> Linux****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan

-- 
*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*
 セントラル短資FX株式会社 システム事業部 開発課 
           清水 純
      E-mail:jun.s****@centr*****
      TEL:03-5419-3280 FAX:03-6833-0243
*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜*〜* 





Linux-ha-japan メーリングリストの案内
Back to archive index