PowerFlex 3.x eventlog.db檔案填滿而未旋轉

Summary: PowerFlex 版本 3.0.1.6、3.5.1.4 和 3.6.0.2 及更低版本存在一個錯誤,導致eventlog.db檔案的旋轉機制根本無法運作,導致檔案大小持續增加。

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

隨著時間的推移,檔大小變得太大,永遠不會旋轉,歷史數據檔永遠不會被刪除。
/opt 掛載點會填滿,當達到 100% 已用容量時,可能會導致 MDM 服務當機。 

[root@test_largedb ~]# cd /opt/emc/scaleio/mdm/logs
[root@test_largedb logs]# ls -lrth
total 35G
-rw-------. 1 root root 0 Oct 5 2021 umt.0
-rw-r--r--. 1 root root 387 Oct 5 2021 emc-scaleio-mdm-install.log
-rw-------. 1 root root 2.1K Oct 6 2021 license.key
-rw-r--r--. 1 root root 32K Nov 22 2021 eventlog.db_2021_11_22_20_31_05_300
-rw-r--r--. 1 root root 59M Nov 23 2021 eventlog.db_2021_11_23_09_13_02_696
-rw-r--r--. 1 root root 8.9M Nov 23 2021 eventlog.db_2021_11_23_22_33_39_606
-rw-r--r--. 1 root root 24K Nov 23 2021 eventlog.db_2021_11_23_22_33_41_609
-rw-r--r--. 1 root root 17M Nov 26 2021 eventlog.db_2021_11_26_20_38_37_371
-rw-r--r--. 1 root root 12K Nov 26 2021 eventlog.db_2021_11_26_20_38_38_217
-rw-------. 1 root root 3.3M Feb 15 2022 volume_migration.0
-rw-------. 1 root root 51M Sep 24 01:05 trc.z.4
-rw-------. 1 root root 51M Sep 25 16:59 trc.z.3
-rw-------. 1 root root 51M Sep 27 09:02 trc.z.2
-rw-------. 1 root root 32K Sep 28 19:26 cmatrix_00.0
-rw-------. 1 root root 2.7M Sep 28 19:27 balance_00.0
-rw-------. 1 root root 189 Sep 28 19:37 signal.0
-rw-------. 1 root root 389 Sep 28 19:37 exp.0
-rw-------. 1 root root 2.6K Sep 28 19:37 trc.z.rescue.0
-rw-------. 1 root root 1.3K Sep 28 20:00 trc.0
-rw-r--r--. 1 root root 35G Sep 28 20:00 eventlog.db   <<<
-rw-------. 1 root root 51M Sep 30 05:46 trc.z.1
-rw-------. 1 root root 9.3M Oct 3 08:52 trc.z.0
[root@test_largedb logs]# df -kh /opt
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_data_os-lv_opt 40G 35G 5G 87.5% /opt   <<<

Cause

eventlog.db是處理eventlog.db輪換機制的腳本。
該腳本是使用 Python 版本 2 語法編寫的。
對於預設 Python 版本為 Python3 的作業系統(例如僅運行 Python3 的 Red Hat 8),腳本將始終失敗並顯示語法錯誤,這會導致無法輪換eventlog.db檔,並且大小會無休止地增加,直到服務終止。

Resolution

升級至已解決 Python 相容性問題的修正版本 - PowerFlex 版本 3.0.1.7、3.5.1.5 和 3.6.0.3

Affected Products

PowerFlex rack, PowerFlex Appliance, PowerFlex custom node, PowerFlex Software
Article Properties
Article Number: 000205077
Article Type: Solution
Last Modified: 17 Feb 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.