Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A arch-boxes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch Linux
  • arch-boxes
  • Merge requests
  • !108

Improve disk compaction by trimming the disk

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kristian Klausen requested to merge klausenbusk/arch-boxes:fstrim into try-software-mode Aug 01, 2020
  • Overview 6
  • Commits 1
  • Pipelines 3
  • Changes 4
This only affect the qemu and virtualbox image. I'm not sure how you
enable trim support in VMware and the documentation is spare.

Tested with: packer build -only=qemu local.json
698M	Arch-Linux-x86_64-libvirt-2020-08-01.box <- before
425M	Arch-Linux-x86_64-libvirt-2020-08-01.box <- after

Fix #106 

I haven't been able to test this with VirtualBox as it crash (guru meditation).

I did consider removing the write_zeroes logic, but it could still be useful for VMware users. Should we remove it?

Edited Aug 01, 2020 by Kristian Klausen
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fstrim