Skip to content

[fstrim] limit smartctl execution time to 30 seconds#1850

Merged
yxieca merged 1 commit intosonic-net:masterfrom
yxieca:fstrim
Sep 30, 2021
Merged

[fstrim] limit smartctl execution time to 30 seconds#1850
yxieca merged 1 commit intosonic-net:masterfrom
yxieca:fstrim

Conversation

@yxieca
Copy link
Copy Markdown
Contributor

@yxieca yxieca commented Sep 30, 2021

What I did

At early boot up time, smartctl is observed could stuck forever, which causes fstrim service to be stuck in pre-start state forever.
This is a transient issue. The periodic retry will go through when pmon docker is healthy.

How to verify it

This issue is not highly repeatable. Tested on the device hit the issue.

Signed-off-by: Ying Xie [email protected]

At early boot up time, smartctl is observed could stuck forever,
which causes fstrim service to be stuck in pre-start state forever.
This is a transient issue. The periodic retry will go through when
pmon docker is healthy.

Signed-off-by: Ying Xie <[email protected]>
@yxieca yxieca merged commit 5bdf270 into sonic-net:master Sep 30, 2021
@yxieca yxieca deleted the fstrim branch September 30, 2021 23:33
yxieca added a commit that referenced this pull request Oct 2, 2021
What I did
At early boot up time, smartctl is observed could stuck forever, which causes fstrim service to be stuck in pre-start state forever.
This is a transient issue. The periodic retry will go through when pmon docker is healthy.

How to verify it
This issue is not highly repeatable. Tested on the device hit the issue.

Signed-off-by: Ying Xie [email protected]
judyjoseph pushed a commit that referenced this pull request Oct 14, 2021
What I did
At early boot up time, smartctl is observed could stuck forever, which causes fstrim service to be stuck in pre-start state forever.
This is a transient issue. The periodic retry will go through when pmon docker is healthy.

How to verify it
This issue is not highly repeatable. Tested on the device hit the issue.

Signed-off-by: Ying Xie [email protected]
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 18, 2022
* 647f01f 2021-09-30 | [fstrim] limit smartctl execution time to 30 seconds (sonic-net#1850) (HEAD -> 202012, github/202012) [Ying Xie]
* 371970e 2021-09-30 | [202012][show techsupport] address show techsupport return none zero code issue (sonic-net#1847) [Ying Xie]
* 81a8386 2021-09-30 | Disable pfcwd forward action config for cisco-8000. (sonic-net#1848) [Alpesh Patel]

Signed-off-by: Ying Xie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants