← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2023079] [NEW] Sparseness is not preserved on live migration

 

Public bug reported:

When doing a live volume migration (block migration) 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.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2023079

Title:
  Sparseness is not preserved on live migration

Status in OpenStack Compute (nova):
  New

Bug description:
  When doing a live volume migration (block migration) 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2023079/+subscriptions