'Check if the LDEV can be copied on the storage.'

def copy_on_storage(self, pvol, size, metadata, sync):

    ldev_info = self.get_ldev_info(['sts', 'vol_attr'], '-ldev_id', pvol)
    if (ldev_info['sts'] != NORMAL_STS):
        msg = utils.output_log(MSG.INVALID_LDEV_STATUS_FOR_COPY, ldev=pvol)
        raise exception.VSPError(msg)
    if (VVOL_ATTR in ldev_info['vol_attr']):
        raise exception.VSPNotSupported()
    return super(VSPHORCM, self).copy_on_storage(pvol, size, metadata, sync)
