Motoharu Kubo
mkubo****@3ware*****
2012年 5月 31日 (木) 19:52:45 JST
久保です。 「2号機 drbdadm down oradata 後」の2号機のGIの状態は、私も初めて見たので すが、明らかに異常ですね。 http://www.drbd.jp/users-guide/s-gi.html によると、down後のセカンダリ側ではGIの値は変化しないはずです。Connected であったときの FF9033734F12F1BC:0000000000000000:83CF3F7442F2E4D2:83CE3F7442F2E4D3 を維持することが期待されます。しかし実際には0x4:0x0:0x0:0x0という値に変 化してしまっています。 なぜこうなるのか私にも想像つかないので、少し調べてみます。 (2012年05月31日 15:57), 清水 純 wrote: > 久保様 > > 清水です。 > > show-gi の結果が得られましたのでご確認願えますでしょうか? > > 同期中(1号機:Primary、2号機:Secondary) > ---1号機 > +--< Current data generation UUID >- > | +--< Bitmap's base data generation UUID >- > | | +--< younger history UUID >- > | | | +-< older history >- > V V V V > FF9033734F12F1BD:0000000000000000:83CF3F7442F2E4D3:83CE3F7442F2E4D3:1:1:1:1:0:0:0 > ^ ^ ^ ^ ^ ^ ^ > -< Data consistency flag >--+ | | | | | | > -< Data was/is currently up-to-date >--+ | | | | | > -< Node was/is currently primary >--+ | | | | > -< Node was/is currently connected >--+ | | | > -< Node was in the progress of setting all bits in the bitmap >--+ | | > -< The peer's disk was out-dated or inconsistent >--+ | > -< This node was a crashed primary, and has not seen its peer since >--+ > > flags: Primary, Connected, UpToDate > --- > --- 2号機 > +--< Current data generation UUID >- > | +--< Bitmap's base data generation UUID >- > | | +--< younger history UUID >- > | | | +-< older history >- > V V V V > FF9033734F12F1BC:0000000000000000:83CF3F7442F2E4D2:83CE3F7442F2E4D3:1:1:0:1:0:0:0 > ^ ^ ^ ^ ^ ^ ^ > -< Data consistency flag >--+ | | | | | | > -< Data was/is currently up-to-date >--+ | | | | | > -< Node was/is currently primary >--+ | | | | > -< Node was/is currently connected >--+ | | | > -< Node was in the progress of setting all bits in the bitmap >--+ | | > -< The peer's disk was out-dated or inconsistent >--+ | > -< This node was a crashed primary, and has not seen its peer since >--+ > > flags: Secondary, Connected, UpToDate > > 2号機 drbdadm down oradata 後 > ---1号機 > +--< Current data generation UUID >- > | +--< Bitmap's base data generation UUID >- > | | +--< younger history UUID >- > | | | +-< older history >- > V V V V > 12AF6FFBEE332663:FF9033734F12F1BD:83CF3F7442F2E4D3:83CE3F7442F2E4D3:1:1:1:0:0:0:0 > ^ ^ ^ ^ ^ ^ ^ > -< Data consistency flag >--+ | | | | | | > -< Data was/is currently up-to-date >--+ | | | | | > -< Node was/is currently primary >--+ | | | | > -< Node was/is currently connected >--+ | | | > -< Node was in the progress of setting all bits in the bitmap >--+ | | > -< The peer's disk was out-dated or inconsistent >--+ | > -< This node was a crashed primary, and has not seen its peer since >--+ > > flags: Primary, StandAlone, UpToDate > --- > ---2号機 > +--< Current data generation UUID >- > | +--< Bitmap's base data generation UUID >- > | | +--< younger history UUID >- > | | | +-< older history >- > V V V V > 0000000000000004:0000000000000000:0000000000000000:0000000000000000:0:0:0:0:0:0:0 > ^ ^ ^ ^ ^ ^ ^ > -< Data consistency flag >--+ | | | | | | > -< Data was/is currently up-to-date >--+ | | | | | > -< Node was/is currently primary >--+ | | | | > -< Node was/is currently connected >--+ | | | > -< Node was in the progress of setting all bits in the bitmap >--+ | | > -< The peer's disk was out-dated or inconsistent >--+ | > -< This node was a crashed primary, and has not seen its peer since >--+ > > flags: Secondary, StandAlone, Inconsistent > zero size device -- never seen peer yet? > --- > > 2号機 drbdadm up oradata 後 > ---1号機 > +--< Current data generation UUID >- > | +--< Bitmap's base data generation UUID >- > | | +--< younger history UUID >- > | | | +-< older history >- > V V V V > 12AF6FFBEE332663:FF9133734F12F1BD:FF9033734F12F1BD:83CF3F7442F2E4D3:1:1:1:1:0:1:0 > ^ ^ ^ ^ ^ ^ ^ > -< Data consistency flag >--+ | | | | | | > -< Data was/is currently up-to-date >--+ | | | | | > -< Node was/is currently primary >--+ | | | | > -< Node was/is currently connected >--+ | | | > -< Node was in the progress of setting all bits in the bitmap >--+ | | > -< The peer's disk was out-dated or inconsistent >--+ | > -< This node was a crashed primary, and has not seen its peer since >--+ > > flags: Primary, Connected, UpToDate, peer Outdated > --- > ---2号機 > +--< Current data generation UUID >- > | +--< Bitmap's base data generation UUID >- > | | +--< younger history UUID >- > | | | +-< older history >- > V V V V > FF9133734F12F1BC:0000000000000000:0000000000000000:0000000000000000:0:0:0:1:0:0:0 > ^ ^ ^ ^ ^ ^ ^ > -< Data consistency flag >--+ | | | | | | > -< Data was/is currently up-to-date >--+ | | | | | > -< Node was/is currently primary >--+ | | | | > -< Node was/is currently connected >--+ | | | > -< Node was in the progress of setting all bits in the bitmap >--+ | | > -< The peer's disk was out-dated or inconsistent >--+ | > -< This node was a crashed primary, and has not seen its peer since >--+ > > flags: Secondary, Connected, Inconsistent > --- > > 2号機側で一旦 down した後の show-gi にて確認した時点でメタデータのGIが空になって > しまっているように見えますが、その認識で合っていますでしょうか? > > このような場合の対処法としてはどのような方法がとれるかご存知でしょうか? > > お手数をおかけしますがよろしくお願いします。 > -- ---------------------------------------------------------------------- 久保 元治 (株)サードウェア Motoharu Kubo 274-0815 千葉県船橋市西習志野3-39-8 mkubo****@3ware***** URL: http://www.3ware.co.jp/ Phone: 047-496-3341 03-4530-0521 (内線201) Fax: 047-496-3370 携帯: 090-6171-5545 GPG fingerprint: D2B0 F02A 4A7F 3FD2 1A66 EF2E F990 D04B 2A83 D477 ★弊社からのメールはZ-Linuxメールフィルタで全数検査しています★ ★ ブログを始めました http://blogs.itmedia.co.jp/ossway/ ★