On PVE 8.1, I have a thin pool on NVME with a few containers.
I deleted one of the containers (via GUI) and now I am not sure if the space used by the LV was discarded/trimmed. I can't issue an `fstrim`, unless it is against a directory, nor I can issue a `pct fstrim` against the CT because it's been deleted.
lvm.conf is default:
I'm suspecting the trim wasn't issued bc of degraded performance on the NVME (all is fine according to smartctl), as I deleted the CT exactly bc the thin pool filled up.
Does `lvremove` issued by pve handle discarding/trimming? If not, what is the solution to trim the unused space in the thin pool?
I deleted one of the containers (via GUI) and now I am not sure if the space used by the LV was discarded/trimmed. I can't issue an `fstrim`, unless it is against a directory, nor I can issue a `pct fstrim` against the CT because it's been deleted.
lvm.conf is default:
Code:
issue_discards = 0
thin_pool_discards = "passdown"
thin_disabled_features = [ "discards", "block_size" ]
I'm suspecting the trim wasn't issued bc of degraded performance on the NVME (all is fine according to smartctl), as I deleted the CT exactly bc the thin pool filled up.
Does `lvremove` issued by pve handle discarding/trimming? If not, what is the solution to trim the unused space in the thin pool?