Суть в том, что при импорте engine "почему-то" не может снять блокировку.
В папке /<sdid>/dom_md есть файлы, которые описывают блокировки и метадату:
ids - без этого файла домен не импортируется
inbox
leases
metadata - без этого файла домен не импортируется
outbox
xleases
Мне помог такой способ импорта сбойного домена:
1. Переносим файлы inbox, leases, outbox. xleases во временную папку.
2. Импортируем домен и получаем ошибку lock (невозможно установить блокировку)
Домен будет в статусе unatached
3. Возвращаем файлы inbox, leases, outbox. xleases на место
4. Идем в Data Centr и нажимаем Atach Data
Наш домен успешно активируется.
Применять на свой страх и риск! Никаких гарантий нет!
Есть еще такая инструкция (я не пробовал):
Код: Выделить всё
> > You can do this:
> >
> > 1. Put the gluster domain to maintenance (via engine)
> >
> > No host should access it while you reconstruct the ids file
> >
> > 2. Mount the gluster volume manually
> >
> > mkdir repair
> > mount -t glusterfs <server>:/<path> repair/
> >
> > 3. Create the file:
> >
> > touch repair/<sd_uuid>/dom_md/ids
> >
> > 4. Initialize the lockspace
> >
> > sanlock direct init -s <sd_uuid>:0:repair/<sd_uuid>/dom_md/ids:0
> >
> > 5. Unmount the gluster volume
> >
> > umount repair
> >
> > 6. Activate the gluster domain (via engine)
> >
> > The domain should become active after a while.