Tal Nisan has uploaded a new change for review. Change subject: core: Update COW preallocated images to COW sparse ......................................................................
core: Update COW preallocated images to COW sparse Update the volume type of COW images that were imported from export domain to a block storage domain from preallocated to sparse since COW preallocated is not not a legal image configuration Change-Id: Ia50e78021369b6143c028af08742521bbdeb07fe Bug-Url: https://bugzilla.redhat.com/1132086 Signed-off-by: Tal Nisan <tni...@redhat.com> --- A packaging/dbscripts/upgrade/03_04_0810_convert_cow_preallocated_to_cow_sparse.sql 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/31728/1 diff --git a/packaging/dbscripts/upgrade/03_04_0810_convert_cow_preallocated_to_cow_sparse.sql b/packaging/dbscripts/upgrade/03_04_0810_convert_cow_preallocated_to_cow_sparse.sql new file mode 100644 index 0000000..31b295e --- /dev/null +++ b/packaging/dbscripts/upgrade/03_04_0810_convert_cow_preallocated_to_cow_sparse.sql @@ -0,0 +1 @@ +UPDATE images SET volume_type = 2 WHERE volume_type = 1 AND volume_format = 4; -- Update volume type to sparse where the volume type is preallocated and the volume format is COW -- To view, visit http://gerrit.ovirt.org/31728 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia50e78021369b6143c028af08742521bbdeb07fe Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Tal Nisan <tni...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches