mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-26 08:55:24 +00:00 
			
		
		
		
	Fixed the target disk address to be the same as the source disk address in cloning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -4179,9 +4179,9 @@ sub clone { | ||||
|         if ($tgtDiskType eq '3390') { | ||||
|              | ||||
|             # Use SMAPI FLASHCOPY | ||||
|             xCAT::zvmUtils->printLn( $callback, "$tgtNode: Copying source disk ($srcAddr) to target disk ($tgtAddr) using FLASHCOPY" ); | ||||
|             xCAT::zvmUtils->printLn( $callback, "$tgtNode: Copying source disk ($srcAddr) to target disk ($srcAddr) using FLASHCOPY" ); | ||||
|             if (xCAT::zvmUtils->smapi4xcat($::SUDOER, $hcp)) { | ||||
|                  $out = xCAT::zvmCPUtils->smapiFlashCopy($::SUDOER, $hcp, $sourceId, $srcAddr, $tgtUserId, $tgtAddr); | ||||
|                  $out = xCAT::zvmCPUtils->smapiFlashCopy($::SUDOER, $hcp, $sourceId, $srcAddr, $tgtUserId, $srcAddr); | ||||
|                  xCAT::zvmUtils->printSyslog("smapiFlashCopy: $out"); | ||||
|                   | ||||
|                  # Exit if flashcopy completed successfully | ||||
|   | ||||
		Reference in New Issue
	
	Block a user