'Search self.ssn for volume of name.
This searches the folder self.vfname (specified in the cinder.conf)
for the volume first.  If not found it searches the entire array for
the volume.
:param name: Name of the volume to search for.  This is the cinder
volume ID.
:returns: Dell Volume object or None if not found.
:raises VolumeBackendAPIException: If multiple copies are found.'

def _search_for_volume(self, name):

    LOG.debug('Searching    %(sn)s    for    %(name)s', {'sn': self.ssn, 'name': name})
    if (name is None):
        return None
    vollist = self._get_volume_list(name, None, True)
    if (not vollist):
        LOG.debug('Cannot    find    volume    %(n)s    in    %(v)s.        Searching    SC.', {'n': name, 'v': self.vfname})
        vollist = self._get_volume_list(name, None, False)
    if (len(vollist) > 1):
        msg = (_('Multiple    copies    of    volume    %s    found.') % name)
        raise exception.VolumeBackendAPIException(data=msg)
    return (None if (not vollist) else vollist[0])
