Skip to content
Snippets Groups Projects
Commit 8f01c9d9 authored by Antonio Falabella's avatar Antonio Falabella
Browse files

Maintenance guide

parent 30ab50fa
No related branches found
No related tags found
No related merge requests found
......@@ -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)
### 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>
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment