-
Notifications
You must be signed in to change notification settings - Fork 675
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
Improve SONiC disk checker to handle disk full case and mount overlay fs to allow remote user login. #3700
Open
liuh-80
wants to merge
22
commits into
sonic-net:master
Choose a base branch
from
liuh-80:dev/liuh/improve_full_disk
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+159
−21
Open
Improve SONiC disk checker to handle disk full case and mount overlay fs to allow remote user login. #3700
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c8a77df
Update disk_check.py
liuh-80 f47ef4b
Update disk_check.py
liuh-80 b6dc4c1
Fix UT
liuh-80 d375bf2
Update disk_check_test.py
liuh-80 08c514b
Update disk_check_test.py
liuh-80 14db2bd
Update disk_check_test.py
liuh-80 cd9ef1b
Update disk_check_test.py
liuh-80 0c2f047
Update disk_check_test.py
liuh-80 074fb4a
Update disk_check_test.py
liuh-80 7a555cd
Update disk_check_test.py
liuh-80 2cd6323
Reorder test_diskfull function parameters
liuh-80 ff540d5
Add event parameter to event_pub function
liuh-80 f067be5
"Add argument to event_pub call"
liuh-80 118f051
Add disk full check and overlay prefix
liuh-80 c6416c7
Fix formatting and add missing newline
liuh-80 b5eedc5
Add mocks for os.access and os.statvfs
liuh-80 1b2c781
Remove unused mock in disk check test
liuh-80 4ce6676
Add new disk full and unmount tests
liuh-80 e119b7b
Add shutil.rmtree mock and update test
liuh-80 52a715e
Update do_unmnt test with overlay_prefix
liuh-80 0b77af0
Update disk_check.py to handle disk space issues
liuh-80 05a4a6b
Remove trailing whitespace in disk_check.py
liuh-80 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the unit? could you add code comment? #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, unit is file system block, on ext4 this means 1024*4096 = 4MB