Yes, I have already done the echo "$DESTDIR/$SNAPUID/$ROLE" > /root/test.txt
task. After I executed the fdb> snapshot /root/snap_create.sh --destdir /fdb/backup
command, it did not generate /root/test.txt
file.
<Event Severity="10" Time="1694136256.780877" DateTime="2023-09-08T01:24:16Z" Type="SnapCommitProxy_SnapReqEnter" ID="0000000000000000" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.780877" DateTime="2023-09-08T01:24:16Z" Type="BinPath" ID="0000000000000000" Value="/root/snap_create.sh" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.780877" DateTime="2023-09-08T01:24:16Z" Type="Element" ID="0000000000000000" Value="/root/snap_create.sh" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.780877" DateTime="2023-09-08T01:24:16Z" Type="SetDDEnabled" ID="0000000000000000" Status="0" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.780877" DateTime="2023-09-08T01:24:16Z" Type="DatabaseContextCreated" ID="e202de8eccfc123c" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x4328d58 0x37fc125 0x37ff6ed 0x276abb9 0x175159b 0x1751925 0x1752044 0x17539bf 0xffe6a7 0x40e1738 0x40e1ab8 0x42b2f48 0xdb5eff 0x7f525dabe555" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.780877" DateTime="2023-09-08T01:24:16Z" Type="SnapDataDistributor_WriteFlagAttempt" ID="0000000000000000" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.783581" DateTime="2023-09-08T01:24:16Z" Type="WriteRecoveryKeySet" ID="2e9624c709777485" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.784754" DateTime="2023-09-08T01:24:16Z" Type="SnapDataDistributor_SnapReqEnter" ID="0000000000000000" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.784754" DateTime="2023-09-08T01:24:16Z" Type="SnapDataDistributor_AfterDisableTLogPop" ID="0000000000000000" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.785254" DateTime="2023-09-08T01:24:16Z" Type="SnapDataDistributor_GotStorageWorkers" ID="0000000000000000" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.785254" DateTime="2023-09-08T01:24:16Z" Type="SlowTask" ID="0000000000000000" TaskID="5000" MClocks="191.967" Duration="0.070785" SampleRate="0.0191967" NumYields="1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="20" Time="1694136256.856278" DateTime="2023-09-08T01:24:16Z" Type="GrvProxyRateLeaseExpired" ID="3ff2c3db7c158b4d" SuppressedEventCount="2" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.886248" DateTime="2023-09-08T01:24:16Z" Type="ExecTraceWorker" ID="0000000000000000" Uid="ba89149bf68f2cd180e382a89b9de090" Status="1" Role="storage" Value="/var/lib/foundationdb/data/4500" ExecPayload="/root/snap_create.sh --destdir /fdb/backup" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.886248" DateTime="2023-09-08T01:24:16Z" Type="ExecHelperError" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="30" Time="1694136256.886248" DateTime="2023-09-08T01:24:16Z" Type="SpawnProcessFailure" ID="0000000000000000" Reason="Command failed" Cmd="/root/snap_create.sh" Args="/root/snap_create.sh --destdir /fdb/backup --path /var/lib/foundationdb/data/4500 --version 7.1.33 --role storage --uid ba89149bf68f2cd180e382a89b9de090" Errno="1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SnapDataDistributor_ReqError" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" Peer="172.20.32.128:4500" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SnapDataDistributor_SnapReqExit" ID="0000000000000000" Error="snap_storage_failed" ErrorDescription="Failed to snapshot storage nodes" ErrorCode="2501" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="EnableTLogPlayAllIgnoredPops2" ID="f6122bee9d110899" UidStr="ba89149bf68f2cd180e382a89b9de090" IgnorePopUid="ba89149bf68f2cd180e382a89b9de090" IgnorePopDeadline="1.69414e+09" PersistentDataVersion="6486319105452" PersistentDataDurableVersion="6486319105452" QueueCommittedVersion="6486320954833" Version="6486320954833" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="ResetIgnorePopRequest" ID="f6122bee9d110899" IgnorePopDeadline="0" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SnapDDCreateError" ID="0000000000000000" Error="snap_storage_failed" ErrorDescription="Failed to snapshot storage nodes" ErrorCode="2501" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SetDDEnabled" ID="0000000000000000" Status="1" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SnapCommitProxy_DDSnapResponseError" ID="0000000000000000" Error="snap_storage_failed" ErrorDescription="Failed to snapshot storage nodes" ErrorCode="2501" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SnapCommitProxy_SnapReqError" ID="0000000000000000" Error="snap_storage_failed" ErrorDescription="Failed to snapshot storage nodes" ErrorCode="2501" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136256.887142" DateTime="2023-09-08T01:24:16Z" Type="SnapCommitProxy_SnapReqExit" ID="0000000000000000" SnapPayload="/root/snap_create.sh --destdir /fdb/backup" SnapUID="ba89149bf68f2cd1" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />
<Event Severity="10" Time="1694136257.018768" DateTime="2023-09-08T01:24:17Z" Type="LBDistant" ID="0000000000000000" SuppressedEventCount="10" Distance="2" BackOff="0" TriedAllOptions="0" Alternatives="19b0b6861664b01c" Token="db97cde4bc29b1f1" Total="1" Best="1" Attempts="0" ThreadID="16589683274705674741" Machine="172.20.32.128:4500" LogGroup="default" Roles="CC,CD,CP,DD,GP,MS,RK,RV,SS,TL" />