[linux-lvm] swap on thin-provisioning

Chris Murphy lists at colorremedies.com
Sun Nov 29 00:18:06 UTC 2020


Hi,

Is it expected that swap on a thin volume should work? I'm guessing
the answer is no because mkswap doesn't come with any sort of
allocation request that would set the LE to PE mapping.

What about a swapfile (on ext4 or XFS) onr a thin volume? In this
case, I'd expect fallocate would set the LE to PE mapping, and it
should work. But does it work for both paging and hibernation files?

And what's the implication if the thin volume were to be snapshot?

Thanks,

-- 
Chris Murphy




More information about the linux-lvm mailing list