Sparseness is not preserved on volume live migration

Bug #2023079 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

When doing a live volume migration (swap volume) thin volumes effectively become thick because all bytes are copies from the source to the destination.

I understand that only the filesystem can know about the block that are unallocated, but Nova can set the "detect_zeroes" when doing the block mirroring.

This doesn't seem to work for all drivers, but I have confirmed that it works for NFS and RBD volumes. Probably someone more knowledgeable should look into why it doesn't work for iSCSI and such.

It requires some additional CPU computational power, so we shouldn't be setting it for normal operations, but I believe the big difference in time and network bandwidth during live migration is well worth it.

Gorka Eguileor (gorka)
summary: - Sparseness is not preserved on live migration
+ Sparseness is not preserved on block live migration
summary: - Sparseness is not preserved on block live migration
+ Sparseness is not preserved on volume live migration
description: updated
Gorka Eguileor (gorka)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.