Update Proxmox/Archive/CephCluster.md

This commit is contained in:
2025-08-14 09:53:19 +00:00
parent da2fc1a5bb
commit 22c147e92d

View File

@@ -0,0 +1,38 @@
# Ceph itself
## Install Ceph
**Node01**
```python
pveceph install --repository no-subscription --version reef
pveceph init --network 10.0.0.81/29
pveceph mon create --mon-address 10.0.0.81
```
**Node02**
```python
pveceph install --repository no-subscription --version reef
pveceph mon create --mon-address 10.0.0.82
```
**Node03**
```python
pveceph install --repository no-subscription --version reef
pveceph mon create --mon-address 10.0.0.83
```
## Remove Ceph completly
```python
killall -9 ceph-mon ceph-mgr ceph-mds
pveceph purge
apt purge -y ceph-mon ceph-osd ceph-mgr ceph-mds
rm -rf /etc/systemd/system/ceph*
rm -rf /var/lib/ceph/mon/
rm -rf /var/lib/ceph/osd
rm -rf /var/lib/ceph/mgr/
rm -rf /var/lib/ceph/mds/
rm -rf /etc/init.d/ceph
rm -rf /etc/ceph
rm -rf /etc/pve/ceph.conf
apt autoremove -y
```