'Create a FlashCopy mapping from the source to the target.'

def run_flashcopy(self, source, target, timeout, copy_rate, full_copy=True):

    LOG.debug('Enter:    run_flashcopy:    execute    FlashCopy    from    source    %(source)s    to    target    %(target)s.', {'source': source, 'target': target})
    fc_map_id = self.ssh.mkfcmap(source, target, full_copy, copy_rate)
    self._prepare_fc_map(fc_map_id, timeout)
    self.ssh.startfcmap(fc_map_id)
    LOG.debug('Leave:    run_flashcopy:    FlashCopy    started    from    %(source)s    to    %(target)s.', {'source': source, 'target': target})
