ceph: add a bit to discard/trim

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-06 18:56:53 +01:00
parent af6f59f49f
commit 835f322d94

View File

@ -758,11 +758,13 @@ pveceph osd destroy <id>
Replace the old disk with the new one and use the same procedure as described
in xref:pve_ceph_osd_create[Create OSDs].
Run fstrim (discard)
~~~~~~~~~~~~~~~~~~~~
Trim/Discard
~~~~~~~~~~~~
It is a good measure to run 'fstrim' (discard) regularly on VMs or containers.
This releases data blocks that the filesystem isnt using anymore. It reduces
data usage and the resource load.
data usage and the resource load. Most modern operating systems issue such
discard commands to their disks regurarly. You only need to ensure that the
Virtual Machines enable the xref:qm_hard_disk_discard[disk discard option].
[[pveceph_scrub]]
Scrub & Deep Scrub