'Any initialization the volume driver does while starting.'

def do_setup(self, context):

    super(VZStorageDriver, self).do_setup(context)
    config = self.configuration.vzstorage_shares_config
    if (not os.path.exists(config)):
        msg = (_("VzStorage    config    file    at    %(config)s    doesn't    exist.") % {'config': config})
        LOG.error(msg)
        raise exception.VzStorageException(msg)
    if (not os.path.isabs(self.base)):
        msg = (_('Invalid    mount    point    base:    %s.') % self.base)
        LOG.error(msg)
        raise exception.VzStorageException(msg)
    used_ratio = self.configuration.vzstorage_used_ratio
    if (not ((used_ratio > 0) and (used_ratio <= 1))):
        msg = (_("VzStorage    config    'vzstorage_used_ratio'    invalid.    Must    be    >    0    and    <=    1.0:    %s.") % used_ratio)
        LOG.error(msg)
        raise exception.VzStorageException(msg)
    self.shares = {}
    package = 'mount.fuse.pstorage'
    try:
        self._execute(package, check_exit_code=False, run_as_root=False)
    except OSError as exc:
        if (exc.errno == errno.ENOENT):
            msg = (_('%s    is    not    installed.') % package)
            raise exception.VzStorageException(msg)
        else:
            raise
    self.configuration.nas_secure_file_operations = 'true'
    self.configuration.nas_secure_file_permissions = 'true'
