[linux-lvm] swap on thin-provisioning

Nicholas Geovanis nickgeovanis at gmail.com
Sun Nov 29 16:19:40 UTC 2020


IIRC at VMWare vSphere 5 and before, swap could not be located on their
type of thin logical volume. Nor could it swap to a linux LVM volume on top
of that.
It just couldnt perform well. That later changed.

On Sun, Nov 29, 2020, 6:53 AM Gionatan Danti <g.danti at assyoma.it> wrote:

> Il 2020-11-29 01:18 Chris Murphy ha scritto:
> > 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?
>
> If things did not change, fallocate does *not* allocate PE space (ie:
> they are not passed down to the underlying thin pool).
>
> Moreover, I expect for a memory-starved machine to page out pool
> metadata (right?) so I would not use a thin volume for swap.
>
> Regards.
>
> --
> Danti Gionatan
> Supporto Tecnico
> Assyoma S.r.l. - www.assyoma.it
> email: g.danti at assyoma.it - info at assyoma.it
> GPG public key ID: FF5F32A8
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20201129/3cdf159e/attachment.htm>


More information about the linux-lvm mailing list