Skip to content

Instantly share code, notes, and snippets.

View prestonvanloon's full-sized avatar
⛓️
Buidl ETH2

Preston Van Loon prestonvanloon

⛓️
Buidl ETH2
View GitHub Profile

Proxmox with LVM-thin and why we should use Trim/Discard

Excerpts from the Proxmox VE Administration Guide]

LVM normally allocates blocks when you create a volume. LVM thin pools instead allocates blocks when they are written. This behaviour is called thin-provisioning, because volumes can be much larger than physically available space.

8.10.2. Trim/Discard It is good practice to run fstrim (discard) regularly on VMs and containers. This releases data blocks that the filesystem isn’t using anymore. It reduces data usage and resource load. Most modern operating systems issue such discard commands to their disks regularly. You only need to ensure that the Virtual Machines enable the disk discard option.

@michaelneuder
michaelneuder / eip7251.md
Last active March 19, 2024 01:44
eip7251 related work