mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-15 10:00:34 +00:00
ceph: add a bit to discard/trim
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
af6f59f49f
commit
835f322d94
@ -758,11 +758,13 @@ pveceph osd destroy <id>
|
|||||||
Replace the old disk with the new one and use the same procedure as described
|
Replace the old disk with the new one and use the same procedure as described
|
||||||
in xref:pve_ceph_osd_create[Create OSDs].
|
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.
|
It is a good measure to run 'fstrim' (discard) regularly on VMs or containers.
|
||||||
This releases data blocks that the filesystem isn’t using anymore. It reduces
|
This releases data blocks that the filesystem isn’t 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]]
|
[[pveceph_scrub]]
|
||||||
Scrub & Deep Scrub
|
Scrub & Deep Scrub
|
||||||
|
Loading…
Reference in New Issue
Block a user