I've had a proxmox instance running for a while and one of the LVM ThinPool volumes is rather large, at just under 20TB.
Things had been going just fine but recently i've hit some issues and I think the issue is because i've managed to fully consume the metadata allocation for the volume.
An lvs command shows this:
I was hoping I could add some additional space for the metadata but when doing so I get this:
My Linux skills are not super hot so i'm not sure if there are some additional commands I need to execute before I try the lvextend. Or perhaps i'm SOL and I need to migrate my files elsewhere and recreate the volume with a larger allocation for metadata. Do I read correctly that the above volume only allocated 88MB for that? Handy to know as it means I can make sure to manually specify a much larger allocation.
If anyone can help me recover from this i'd be very grateful.
Things had been going just fine but recently i've hit some issues and I think the issue is because i've managed to fully consume the metadata allocation for the volume.
An lvs command shows this:
Code:
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lvm-thinpool-001 lvm-thinpool-001 twi-aotzM- <20.74t 93.75 100.00
[lvm-thinpool-001_tdata] lvm-thinpool-001 Twi-ao---- <20.74t
[lvm-thinpool-001_tmeta] lvm-thinpool-001 ewi-ao---- 88.00m
[lvol0_pmspare] lvm-thinpool-001 ewi------- 88.00m
I was hoping I could add some additional space for the metadata but when doing so I get this:
Code:
root@proxmox:/var# lvextend --poolmetadatasize +128M lvm-thinpool-001/lvm-thinpool-001
Insufficient free space: 32 extents needed, but only 0 available
My Linux skills are not super hot so i'm not sure if there are some additional commands I need to execute before I try the lvextend. Or perhaps i'm SOL and I need to migrate my files elsewhere and recreate the volume with a larger allocation for metadata. Do I read correctly that the above volume only allocated 88MB for that? Handy to know as it means I can make sure to manually specify a much larger allocation.
If anyone can help me recover from this i'd be very grateful.