mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	never set lvm volume unavailable, there may be a conflict with XenServer GC
This commit is contained in:
		
							parent
							
								
									25cd4a5768
								
							
						
					
					
						commit
						5cc7745d9f
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user