Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ceph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonio Falabella
ceph
Commits
8f01c9d9
Commit
8f01c9d9
authored
4 years ago
by
Antonio Falabella
Browse files
Options
Downloads
Patches
Plain Diff
Maintenance guide
parent
30ab50fa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
manual_maintenance.md
+43
-0
43 additions, 0 deletions
manual_maintenance.md
with
44 additions
and
0 deletions
README.md
+
1
−
0
View file @
8f01c9d9
...
...
@@ -11,4 +11,5 @@
*
[
Cheatsheet
](
cheatsheet.md
)
*
[
inotify
](
inotify.md
)
*
[
Manual installation
](
manual_installation.md
)
*
[
Manual maintenance
](
manual_maintenance.md
)
*
[
Puppet module
](
puppet_module.md
)
This diff is collapsed.
Click to expand it.
manual_maintenance.md
0 → 100644
+
43
−
0
View file @
8f01c9d9
### Manual Maintenance
## Clean OSD removal
```
ceph osd safe-to-destroy osd.0
ceph osd out <ID>
systemctl stop ceph-osd.<ID>
ceph osd crush remove osd.<ID>
ceph osd down 0
ceph auth del osd.<ID>
ceph osd rm <ID>
```
Remove the logical volumes, volume groups and physical volumes
```
lvremove <list of volumes>
vgremove <list of volume groups>
pvremove <list of physical volumes>
```
## Clean mds removal
```
systemctl stop ceph-mds@<id>.service
rm -rf /var/lib/ceph/mds/ceph-<id>
ceph auth rm mds.<id>
```
## Clean mgr removal
```
systemctl stop ceph-mds@<id>.service
rm -rf /var/lib/ceph/mds/ceph-<id>
ceph auth rm mds.<id>
```
## Clean mon removal
```
systemctl stop ceph-mon@<id>.service
rm -rf /var/lib/ceph/mon/ceph-<id>
ceph auth rm mon.<id>
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment