Member-only story
Setting up Proxmox and Ceph for a home lab
This is just some high level notes of how I set up a Proxmox and Ceph server for my personal use. The hardware was a AMD Ryzen 5900x with 64MB ECC DRAM, and 3 x 8TB HDD.
First, enable CPU virtualisation options in your BIOS (for me this was the SVM option)
Install proxmox by making a bootable USB, and then just following the installation instructions.
Update the repository to use the no-subscription repository (unless you have a paid subscription)
cd /etc/apt/sources.list.d/
nano pve-enterprise.list # comment out the line by adding a #
nano pve-no-subscription.list # and add the following line:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscriptionapt update
Now you should be able to update the installation by clicking upgrade in the updates menu of the GUI
Install Ceph by clicking install ceph on the ceph page of the GUI
Create OSDs by clicking on Create OSD from the Ceph/OSD page of the GUI. Note: if the drives that you wish to use have previously been used then you will need to zap them first to clear them of data. This can be done with the command: ceph-volume lvm zap /dev/sdX
If you only have a single server, then ceph will not work as it wants to store data across multiple hosts. This can be changed by updating the crushmap to allow replication across osd’s rather than hosts as follows: