We had a major issue today with a server which had some too many containers running over an lvm thin partition. Two of them had a log issue and the whole system collapsed with I/O errors we assume because the thin pool got too full.
On restart only a couple of containers were working. We recovered some space and tried to repair with "lvconvert --repair ..." but the command insisted that "Only inactive pool can be repaired." and we were uncertain how to make it inactive. All VMs and containers were stopped.
After a restart and some fsck on a couple of the pool partitions got back to work.
We now want to increase the size of the containing pool but we are not sure if it will just be easier to remove and recreate. My questions are regarding the already created disks within.
Can I back them up or create an LVM snapashots on another VG while we do that and the restore?
Is it a simple way to extend it?
I've also heard about increasing the metadata partition size that thin pools create. Is this necessary/recommended?
Any help would be appreciated.
Off-topic to that it would great if the PVE interface would return any feedback/tools to handle thin-pool LVM partitions considering as I understand it is the recommended storage for containers at the moment.
On restart only a couple of containers were working. We recovered some space and tried to repair with "lvconvert --repair ..." but the command insisted that "Only inactive pool can be repaired." and we were uncertain how to make it inactive. All VMs and containers were stopped.
After a restart and some fsck on a couple of the pool partitions got back to work.
We now want to increase the size of the containing pool but we are not sure if it will just be easier to remove and recreate. My questions are regarding the already created disks within.
Can I back them up or create an LVM snapashots on another VG while we do that and the restore?
Is it a simple way to extend it?
I've also heard about increasing the metadata partition size that thin pools create. Is this necessary/recommended?
Any help would be appreciated.
Off-topic to that it would great if the PVE interface would return any feedback/tools to handle thin-pool LVM partitions considering as I understand it is the recommended storage for containers at the moment.