Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

yxieca
Copy link
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 ying.xie@microsoft.com

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 <ying.xie@microsoft.com>
@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 ying.xie@microsoft.com
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 ying.xie@microsoft.com
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 <ying.xie@microsoft.com>
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