Libro sobre Proxmox maestria
Proxmox Troubleshooting blocks for Ceph
To properly trim unused blocks for virtual disks stored on the Ceph storage, perform the following steps:
1. Use a virtio disk type for a virtual disk.
2. Enable the discard option through <vm_id>. conf. Add discard-on to the drive properties of virtio0 as shown in the following command line: <rbd_storage>: <virtual_disk>, cache-writethrough, size=50G, discard=on
The 'RBD Couldn't Connect To Cluster (500)' error when connecting Ceph with Proxmox
Authentication failure is the most common cause for this error when Ceph RBD storage cannot connect to Proxmox. Proxmox requires a copy of the Ceph admin keyring to authenticate. The name of the keyring must match with the storage ID assigned through a Proxmox GUI as shown in the following screenshot:
In the previous example, the Ceph admin keyring name must match with the storage ID rbd-store-01 and stored as /etc/pve/priv/ceph/rbd-store-01.keyring.
Changing the storage type from ide to virtio
If IDE was used during the initial VM setup and if it needs to be changed to virtio later, it can be done through the Proxmox GUI without reinstalling the OS. The VM will need to be powered off first and then the virtual disk needs to be removed through the Proxmox GUI. Clicking on Remove will cause the virtual disk to become unused, as shown in the following screenshot: