From 5cc7745d9faf45eb14e2f20897c590dc9680e8b8 Mon Sep 17 00:00:00 2001 From: anthony Date: Wed, 2 Mar 2011 19:23:21 -0800 Subject: [PATCH] never set lvm volume unavailable, there may be a conflict with XenServer GC --- scripts/vm/hypervisor/xenserver/vmopsSnapshot | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/vm/hypervisor/xenserver/vmopsSnapshot b/scripts/vm/hypervisor/xenserver/vmopsSnapshot index d889390fa39..3afe1f14e60 100755 --- a/scripts/vm/hypervisor/xenserver/vmopsSnapshot +++ b/scripts/vm/hypervisor/xenserver/vmopsSnapshot @@ -491,10 +491,6 @@ def backupSnapshot(session, args): util.SMlog("Back up " + baseCopyUuid + " to Secondary Storage as " + backupUuid) copyfile(baseCopyPath, backupFile, isISCSI) vhdutil.setHidden(backupFile, False) - - # Now set the availability of the snapshotPath and the baseCopyPath to false - makeUnavailable(snapshotUuid, primarySRPath, isISCSI) - manageAvailability(baseCopyPath, '-an') # Because the primary storage is always scanned, the parent of this base copy is always the first base copy. # We don't want that, we want a chain of VHDs each of which is a delta from the previous.