Proxmox. Mount Ceph RBD image
Версия от 14:54, 12 сентября 2022; Cless (обсуждение | вклад)
Description
Mount Ceph RBD device (for VM disks and Containers)
Yes, Snapshots snapshots are supported
Links
https://pve.proxmox.com/wiki/Storage:_RBD
Proxmox CLI
Get user admin auth Keyring from Ceph server
mkdir /etc/pve/priv/ceph
scp ceph01.local:/etc/ceph/ceph.client.admin.keyring /etc/pve/priv/ceph/ceph-rbd01.keyring
Proxmox Web-interface
- Datacenter - Storage - Add RBD:
- ID: ceph-rbd01
- Pool: rbd01
- Monitor(s): 192.168.199.121 192.168.199.122 192.168.199.123 # IPs of ceph nodes with MONITORs
- User name: admin
- Keyring: <key> # Get keyring on the Ceph Server:
cat /etc/ceph/ceph.client.admin.keyring
Show RBD and Snapshots Info. You can see it only in the terminal of the Ceph Server, not in the PVE terminal
RBD info
RBD pools info
ceph osd lspools
1 .mgr 2 cephfs01_data 3 cephfs01_metadata 4 rbd01
rbd ls -p rbd01
ceph-rbd01 vm-100-disk-0
Optionally. RBD Snap info
rbd snap ls vm-100-disk-0 -p rbd01
SNAPID NAME SIZE PROTECTED TIMESTAMP 4 clean 5 GiB Mon Sep 12 12:03:18 2022