PowerFlex:機能MosAsyncIO_ReqAccountingでSDSプロセスがパニック状態になり続ける

Summary: PowerFlexコンポーネントの手動またはPFMP SVM変換と手動アップグレード中に、rep_tgt.txtファイルが正しく作成されていないと、SDSが継続的に失敗する可能性があります。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

SDSプロセスで、次のスタック トレースでパニックが継続的に発生します。

2024/05/27 08:11:10.051615 Panic in file /data/build/workspace/ScaleIO-Common-Job/src/mos/usr/linux/mos_async_io.c, line 1107, function mosAsyncIO_ReqAccounting, PID 21157.Panic Expression pOsReq->accounting.totalLenSubmittedBytes == pReq->bytesIO
/opt/emc/scaleio/sds/bin/sds-4.5.2000.135(mosDbg_PanicPrepare+0xf4) [0x936f74]
/opt/emc/scaleio/sds/bin/sds-4.5.2000.135(mosAsyncIO_ReqAccounting+0x26b) [0x95398b]
/opt/emc/scaleio/sds/bin/sds-4.5.2000.135() [0x953b4e]
/opt/emc/scaleio/sds/bin/sds-4.5.2000.135(mosAsyncIO_Reaper+0xab8) [0x959dc8]
/opt/emc/scaleio/sds/bin/sds-4.5.2000.135(mosOsThrd_StartFunc+0x15a) [0x94056a]
/lib64/libpthread.so.0(+0xa6ea) [0x7f0629c166ea]
[(nil)]

 

SDSパニックが発生する前は、SDSトレース ログに/opt/emc/scaleio/sds/cfg/rep_tgt.txtからの読み取り中に問題が示されていました。

2024/05/27 08:10:36.501247 LOW:7fa41442ddb0:mos_ReadParamFromSysPath:01442: ERROR: Failed to stat sys file /sys/dev/block/0:55/partition, errno: 2
2024/05/27 08:10:36.501253 MED:7fa41442ddb0:mos_GetDevMaxIoSizeBytesFromFD:01565: Could not read parameter for file 28 (path /sys/dev/block/0:55/partition), assuming 256.
2024/05/27 08:10:36.501260 MED:7fa41442ddb0:mosAsyncIO_OpenFileEx:00463: Opened file /opt/emc/scaleio/sds/cfg/rep_tgt.txt (fd 28), maxInflight 8, maxIoSize 256, ptr 0x7fa42c14a450

 

対象製品: PowerFlex 3.xおよび4.x

Cause

rep_tgt.txtファイルにアクセスしようとしているときに、SDSに問題があります。

 

Resolution

「Fusion」 rep_tgt.txt 存在しない:

      1. プライマリーMDMから必要なIDを取得します。

        • 入手MDM_ID:
          scli --query_all | grep ID | head -n1
        • 入手SDS_ID: (問題のSDSを参照)
          scli --query_all_sds
      2. を作成します。 rep_tgt.txt ファイルを取得した ID で作成します。上記の出力のMDM_IDとSDS_IDを置き換えます

        echo -n "mdmId=<MDM_ID>,tgtId=<SDS_ID>" > /opt/emc/scaleio/sds/cfg/rep_tgt.txt truncate -s 4096 /opt/emc/scaleio/sds/cfg/rep_tgt.txt

        Example:

        echo -n "mdmId=e7db67b7c2e2190f,tgtId=2514c01a00000003" > /opt/emc/scaleio/sds/cfg/rep_tgt.txt truncate -s 4096 /opt/emc/scaleio/sds/cfg/rep_tgt.txt
      3. SDSデーモンを開始します。

        /opt/emc/scaleio/sds/bin/create_service.sh

         


「Fusion」 rep_tgt.txt 存在:

    1. 正しいMDM IDとSDS IDがファイル内にあることを確認します。

      cat /opt/emc/scaleio/sds/cfg/rep_tgt.txt

       

    2. ファイル サイズを確認します(4096バイトである必要があります)。

      ls -l /opt/emc/scaleio/sds/cfg/rep_tgt.txt

       

    3. ファイルが4096バイトより小さい場合:

      1. 既存のファイルをバックアップします。
        cp /opt/emc/scaleio/sds/cfg/rep_tgt.txt /opt/emc/scaleio/sds/cfg/rep_tgt.txt.bak
      2. ファイルのサイズを変更します。

         

        truncate -s 4096 /opt/emc/scaleio/sds/cfg/rep_tgt.txt

         

      3. 新しいファイル サイズを確認します
         
    4. SDSデーモンを開始します。
      /opt/emc/scaleio/sds/bin/create_service.sh


回避策を実行した後もSDSパニックが引き続き発生する場合は、Dellサポート にお問い合わせください。

Affected Products

PowerFlex Software

Products

PowerFlex rack, PowerFlex Appliance
Article Properties
Article Number: 000226538
Article Type: Solution
Last Modified: 11 Jun 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.