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

Document spacewalk-data-fsck (troubleshooting) #3632

Open
keichwa opened this issue Jan 22, 2025 · 1 comment
Open

Document spacewalk-data-fsck (troubleshooting) #3632

keichwa opened this issue Jan 22, 2025 · 1 comment

Comments

@keichwa
Copy link
Contributor

keichwa commented Jan 22, 2025

spacewalk-data-fsck is a debugging and troubleshooting tool. It helps after fatal crashes when inconsistencies are detected. You do not need it to remove packages from disk after using of spacewalk-remove-channel.

I would move this into the troubleshooting section.

Originally posted by @mcalmer in #3631 (comment)

@keichwa
Copy link
Contributor Author

keichwa commented Jan 22, 2025

Proposal for inspiration:

===  Remove the Packages from the Filesystem

.Procedure: Removing the Packages from the Filesystem
. The following command checks for anything that still exists in the filesystem, but not in the {productname} database, and removes it.
  On the command line of the container host, run the following command:
+
----
mgrctl exec -ti -- spacewalk-data-fsck -r -S -C -O
----

[NOTE]
====
The final cleanup command can take several minutes, or even hours to complete.
====

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant