Hi, I had a LXC (Immich) with a 500GB volume stored on a lvm-thin storage. After offloading contents elsewhere and shrinking this volume to 50GB, I don't see the space freed up on the lvm-thin storage.
- the LXC volume is succesfully shrinked, working, confirmed as being 50GB in size
- ran resize2fs and lvreduce on the volume
returns
I do NOT want to resize the lvm-thin storage, just reclaim the freed up space. Any tips? Thanks!
SOLUTION: there was a snapshot.
fixed the issue
- the LXC volume is succesfully shrinked, working, confirmed as being 50GB in size
- ran resize2fs and lvreduce on the volume
Code:
lvs -o name,data_percent,metadata_percent /dev/storage
Code:
WARNING: Thin volume storage/vm-114-disk-0 maps <453.64 GiB while the size is only 50.00 GiB.
I do NOT want to resize the lvm-thin storage, just reclaim the freed up space. Any tips? Thanks!
SOLUTION: there was a snapshot.
Code:
lvremove /dev/storage/snap_vm-114-disk-0_predNAS
Last edited: