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

Updating virt-sparsify feature page parts related to iSCSI and NFS #1535

Merged
merged 1 commit into from Mar 1, 2018
Merged

Updating virt-sparsify feature page parts related to iSCSI and NFS #1535

merged 1 commit into from Mar 1, 2018

Conversation

smelamud
Copy link
Member

  • Adding hints for making virt-sparsify to work on iSCSI.
  • Adding note about bug 1489262 that prevents virt-sparsify from working
    on NFS partitions under RHEL 7.4.

I confirm that this pull request was submitted according to the contribution guidelines: @smelamud

This pull request needs review by: @ahadas

@@ -41,6 +41,18 @@ Added "Sparsify" button to Disks subtab of Virtual Machines main tab. This butto
* Cinder disks cannot be sparsified.
* Pre-allocated disks cannot be sparsified. `virt-sparsify` works on pre-allocated disks, but its usage is not justified for this case. User chooses pre-allocated option if she needs better performance, because no additional allocation and no fragmentation will occur when the disk is used. Deallocating some clusters as result of sparsification will overturn this advantage. If user wants to save space at cost of some performance decrease, she can select thin-provisioned option.
* Disks on NFS storage may be sparsified only if NFS version >= 4.2.
* For an iSCSI volume to be sparsified, support of both host kernel and the actual backing store is required.

Also it depends on various SCSI flags reported by the device. These are contained in the SCSI "VPD" data. It might be interesting to run `sg_inq` and `sg_vpd` (from `sg3_utils`) on the device:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrase 'Also it depends' to something like - you can verify this support via various SCSI flags...

Copy link
Member Author

@smelamud smelamud Feb 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mykaul Done.

* Adding note about bug 1489262 that prevents virt-sparsify from working
on RHEL 7.4.
@mykaul
Copy link

mykaul commented Mar 1, 2018

@ahadas - can you review and approve?

@michalskrivanek
Copy link
Member

I reviewed that and it looks good. The "Limitations" seem helpful

@mykaul mykaul merged commit 5dd7faf into oVirt:master Mar 1, 2018
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.

None yet

3 participants