Search
Join the Technical Preview Program
See how NVMe-oF removes iSCSI
bottlenecks in your HCI
The Best Hyperconverged
Infrastructure
(HCI) for Enterprise
ROBO, SMB & Edge
The Best Virtual SAN
for Enterprise ROBO, SMB & Edge

How to Remove Ceph from Proxmox VE: Step-by-Step Guide

  • August 6, 2025
  • 8 min read
Cloud and Virtualization Architect and System Engineer. Paolo is the author of nolabnoparty.com. A VCP-DCV and vExpert, he holds elite VMCE and Veeam Vanguard status. Paolo specializes in data protection, disaster recovery, and vSphere infrastructure, delivering high-authority technical guides for enterprise virtualization and backup solutions.
Cloud and Virtualization Architect and System Engineer. Paolo is the author of nolabnoparty.com. A VCP-DCV and vExpert, he holds elite VMCE and Veeam Vanguard status. Paolo specializes in data protection, disaster recovery, and vSphere infrastructure, delivering high-authority technical guides for enterprise virtualization and backup solutions.

To remove Ceph datastore from Proxmox several steps are involved, especially if you want to completely clear Ceph from your system.

Before proceeding, keep in mind that this process will permanently delete all data stored on the Ceph datastore. Make sure to have a working backup of any critical data before proceeding.

Migrate VM disks off Ceph datastore

Before removing the Ceph datastore, move the virtual machines or container disks to a different datastore.

Select the VM you want to migrate then navigate to Hardware section. Select the hard disk to move then select Disk Action > Move storage.

A screenshot of a computer AI-generated content may be incorrect.

 

From the dropdown menu select the new datastore (NFS in the example) as Target Storage.

A screenshot of a computer AI-generated content may be incorrect.

 

Click Move disk.

A screenshot of a computer AI-generated content may be incorrect.

 

The disks have been moved to the chosen NFS datastore.

A screenshot of a computer AI-generated content may be incorrect.

 

Repeat this operation for all VMs running in your infrastructure to remove all disks from the Ceph datastore.

A screenshot of a computer AI-generated content may be incorrect.

 

Remove Ceph datastore from Proxmox

To remove Ceph datastore from the Proxmox, from the web GUI navigate to Datacenter > Storage and select the Ceph datastore to remove. Click Remove.

A screenshot of a computer AI-generated content may be incorrect.

 

Click Yes to confirm.

A screenshot of a computer AI-generated content may be incorrect.

 

The Ceph datastore has been removed from the Proxmox configuration.

A screenshot of a computer AI-generated content may be incorrect.

 

Remove Ceph Pools

Removing Ceph from the configuration is not enough to clean the system. Ceph Pools or OSDs are still in place and to remove them correctly, they shouldn’t be in use.

Select a Proxmox node and navigate to Ceph > Pools. Select the Pools to remove (one at time) and click the Destroy button.

A screenshot of a computer AI-generated content may be incorrect.

 

Click Yes to proceed.

A screenshot of a computer AI-generated content may be incorrect.

 

All Ceph Pools have been removed successfully.

A screenshot of a computer AI-generated content may be incorrect.

 

Remove OSDs

To successfully remove Ceph datastore, OSDs must be removed from the configuration. OSDs removal is a three step procedure:

  • Stop
  • Out
  • Destroy

Select a Proxmox node and navigate to Ceph > OSD. Select the OSD to stop and click Stop. The OSD Status will be reported as down.

A screenshot of a computer AI-generated content may be incorrect.

 

Make sure all OSDs are in a down Status.

A screenshot of a computer AI-generated content may be incorrect.

 

From Ceph > OSD, select the OSD to remove and click Out.

A screenshot of a computer AI-generated content may be incorrect.

 

Repeat this step for all configured OSDs.

A screenshot of a computer AI-generated content may be incorrect.

 

After stopping, the last step involves the removal of the OSDs. Select the OSD to destroy and click Destroy.

A screenshot of a computer AI-generated content may be incorrect.

 

Enable the Cleanup Disks option then click Remove.

A screenshot of a computer AI-generated content may be incorrect.

 

The selected OSD is being removed.

A screenshot of a computer AI-generated content may be incorrect.

 

Repeat these steps for all OSDs to remove.

A screenshot of a computer AI-generated content may be incorrect.

 

Clean up Ceph from Proxmox

To fully remove all Ceph components and configurations from your Proxmox system, you must perform additional steps on all Proxmox nodes that were part of the Ceph cluster.

First you must stop the running services. Navigate to >_Shell area and run the following commands:

# systemctl stop ceph-mon.target

# systemctl stop ceph-mgr.target

# systemctl stop ceph-mds.target

# systemctl stop ceph-osd.target

 

A computer screen with text on it AI-generated content may be incorrect.

 

Disable Ceph daemons.

# systemctl disable ceph-mon.target

# systemctl disable ceph-mgr.target

# systemctl disable ceph-mds.target

# systemctl disable ceph-osd.target

 

A screen shot of a computer AI-generated content may be incorrect.

 

Purge Ceph configuration.

# pveceph purge

A black screen with white text AI-generated content may be incorrect.

 

Remove startup files and processes.

# rm -rf /etc/systemd/system/ceph*

# killall -9 ceph-mon ceph-mgr ceph-mds ceph-osd

A black screen with yellow text AI-generated content may be incorrect.

 

Remove Ceph data directories and check the actual removal.

# rm -rf /var/lib/ceph/mon/

# rm -rf /var/lib/ceph/mgr/

# rm -rf /var/lib/ceph/mds/

# rm -rf /var/lib/ceph/osd/

# ls -l /var/lib/ceph/

A computer screen with white text AI-generated content may be incorrect.

 

Remove Ceph configuration files.

# rm -rf /etc/ceph/*

# rm -rf /etc/pve/ceph.conf

# rm -rf /etc/pve/priv/ceph.*

A black screen with yellow text AI-generated content may be incorrect.

 

Remove Ceph packages. Type Y then Enter to proceed.

# apt purge ceph-mon ceph-osd ceph-mgr ceph-mds ceph-base ceph-mgr-modules-core

A computer screen shot of white text AI-generated content may be incorrect.

 

When the removal process is completed, make a note of any directory not deleted by the apt command. You will remove these directories after rebooting the node.

A computer screen with white text AI-generated content may be incorrect.

 

Now run the following command. Type Y then Enter to proceed. # apt autoremove –purge

A computer screen shot of white text AI-generated content may be incorrect.

 

Packages have been purged from the system.

A computer screen with white text AI-generated content may be incorrect.

 

Reboot the node.

# reboot

A black screen with white text AI-generated content may be incorrect.

 

Repeat the same procedure for all nodes members of the Ceph cluster.

By following this procedure, the Ceph datastore should be successfully removed from the system. Again, make sure to have a working backup before proceeding.

During the removal of Ceph from a multi-node cluster, ensure the cluster remains healthy throughout the process.

Hey! Found Paolo’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!