自動化スクリプトで作成されたクローンが原因でSnapshotの作成が失敗する
環境
問題
- クローンを作成しています。これらのクローン作成は、Snapshotの作成時間と競合しています。
- 理由:Snapshotから作成されたクローンが原因で、Snapshot処理を実行できません。
- イベントログから:
Wed Jan 17 23:05:03 +1100 [nasknx10cn02: snapd_cmode: wafl.snap.create.skip.reason:error]: p_gmr_curves_data fd4261e3-e128-11ea-8e99-00a098ef4c06: Skipping creation of hourly.2024-01-17_2305 Snapshot copy (Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime.).
Wed Jan 17 23:05:03 +1100 [nasknx10cn02: snapd_cmode: wafl.snap.create.skip.reason:error]: p_gmr_asi_data fd4261e3-e128-11ea-8e99-00a098ef4c06: Skipping creation of hourly.2024-01-17_2305 Snapshot copy (Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime.).
Wed Jan 17 21:05:02 +1100 [nasknx10cn04: snapd_cmode: wafl.snap.create.skip.reason:error]: p_gmr_other_data fd4261e3-e128-11ea-8e99-00a098ef4c06: Skipping creation of hourly.2024-01-17_2105 Snapshot copy (Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime.).
Wed Jan 17 22:05:02 +1100 [nasknx10cn04: snapd_cmode: wafl.snap.create.skip.reason:error]: p_gmr_fra_data fd4261e3-e128-11ea-8e99-00a098ef4c06: Skipping creation of hourly.2024-01-17_2205 Snapshot copy (Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime.).
- スクリプトから記録されたイベント:
2023-12-22 00:53:37,100 ERROR toaster.py:642 Failed to create snapshot "snapshot_20231222_XXXX" of volume "Volume_xxxx" on Vserver "svm_xxxx". Reason: Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime. Errno 307. Retrying in 30 seconds...
2023-12-22 00:54:07,450 INFO toaster.py:1092 Current value of perf counter 'clone_unsplit_size' for volume p_gmr_nzl_data is 81408000
2023-12-22 00:54:07,450 ERROR toaster.py:638 Exhausted 16 retry attempts trying to create snapshot snapshot_20231222_xxxx in volume Volume_xxxx, proceeding
2023-12-22 01:33:03,166 ERROR toaster.py:642 Failed to create snapshot "snapshot_20231222_XXXX" of volume "Volume_xxxx" on Vserver "svm_xxxx". Reason: Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime. Errno 307. Retrying in 30 seconds...
2023-12-22 01:33:33,465 INFO toaster.py:1092 Current value of perf counter 'clone_unsplit_size' for volume p_gmr_curves_data is 32819200
2023-12-22 01:33:33,466 ERROR toaster.py:638 Exhausted 16 retry attempts trying to create snapshot snapshot_20231222_XXXX in volume Volume_xxxx, proceeding
2023-12-22 02:30:48,969 ERROR toaster.py:642 Failed to create snapshot "snapshot_20231222_XXXX" of volume "Volume_xxxx" on Vserver "svm_xxxx". Reason: Snapshot operation not allowed due to clones backed by snapshots. Try again after sometime. Errno 307. Retrying in 30 seconds...
2023-12-22 02:31:19,305 INFO toaster.py:1092 Current value of perf counter 'clone_unsplit_size' for volume Volume_xxxx is 78848000
2023-12-22 02:31:19,306 ERROR toaster.py:638 Exhausted 16 retry attempts trying to create snapshot p_mktr