Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtIO-SCSI-Ceph UNMAP #374

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

VirtIO-SCSI-Ceph UNMAP #374

wants to merge 2 commits into from

Conversation

mchtech
Copy link

@mchtech mchtech commented Apr 23, 2018

Allow to recycle unused space of Ceph Virtual Disk to Ceph RBD.

  1. Enable VirtIOSCSI on (root)Volume 【CreateSystemTag 'capability::virtio-scsi' with type 'VolumeVO' on rootVolumeUuid】
  2. Enable Discard support on guest OS 【set 'issue_discards = 1' in /etc/lvm.conf on Linux; do nothing on Windows】
  3. Run command on guest OS 【fstrim -av or fstrim -v SOMEMOUNTPOINT on Linux, defrag.exe /L C: on Windows】

@MatheMatrix
Copy link
Member

Thanks for your patch! Patch for virtio-scsi is also welcome.

Your patch is testing on our CI system, it will merge if CI passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants