How to run FSTRIM on RBD devices which acts as the backend for OpenStack VM?
Issue
- How to run
fstrim
onrbd
devices
which acts as the backend forOpenStack
VM
? - When trying to mount an
RBD image
it showsunknown filesystem type
error.
# mount /dev/rbd0 /mnt/image
mount: /dev/rbd0 is write-protected, mounting read-only
mount: unknown filesystem type '(null)'
Environment
- Red Hat OpenStack 13.
- Red Hat Ceph Storage 3,4.
- RBD
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.