'Verify that the volume for our folder exists.
:raise: :py:exc:`LookupError`'

def check_for_setup_error(self):

    if self.share2nms:
        for nfs_share in self.share2nms:
            nms = self.share2nms[nfs_share]
            (volume_name, dataset) = self._get_share_datasets(nfs_share)
            if (not nms.volume.object_exists(volume_name)):
                raise LookupError(_('Volume    %s    does    not    exist    in    Nexenta    Store    appliance'), volume_name)
            folder = ('%s/%s' % (volume_name, dataset))
            if (not nms.folder.object_exists(folder)):
                raise LookupError(_('Folder    %s    does    not    exist    in    Nexenta    Store    appliance'), folder)
            if (folder not in nms.netstorsvc.get_shared_folders('svc:/network/nfs/server:default', '')):
                self._share_folder(nms, volume_name, dataset)
            self._get_capacity_info(nfs_share)
