Volume group "vg" has insufficient free space (229 extents): 4096 required.
Места нехватат. Написано же.
Я когда то ремонтировал тонкий LVM, примерно по такому мануалу. Нужно перенести метаданные на другой том.
lvconvert --repair vg/pool
If this is not working - then you can 'swap' metadata out of your thin-pool
using following sequence-
- make sure pool is not active.
- build temporary local LV (lvcreate -l1 vg -n temp)
- swap this LV with metadata of to-be-repaired pool
(lvconvert --thinpool vg/fixpool --poolmetadata temp)
- activate 'temp' LV now with pool's metadata
(lvchange -ay vg/temp)
- repair metadata
(you may need other 'bigger' volume to restore fixed metadata)
(i.e. thin_restore -i /dev/vg/temp -o /dev/vg/biggertemp)
- thin_check restored volume
- thin_dump - and compare vgcfgrestore & this dump are at the same
transaction_id state (look at lvm2 metadata for thin pool)
- deactivate again related volumes
- swap repaired LV back
(lvconvert --thinpool vg/fixpool --poolmetadata repairedtemp)
- try to active repaired thin pool
- remove unneeded volumes from vg....
Пользователь добавил сообщение 31 Июля 2018, 14:54:55:
LV том для переноса метаданных нужно на другом hdd создавать!