<div dir="auto">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. <div dir="auto">It just couldnt perform well. That later changed.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 29, 2020, 6:53 AM Gionatan Danti <<a href="mailto:g.danti@assyoma.it">g.danti@assyoma.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 2020-11-29 01:18 Chris Murphy ha scritto:<br>
> What about a swapfile (on ext4 or XFS) onr a thin volume? In this<br>
> case, I'd expect fallocate would set the LE to PE mapping, and it<br>
> should work. But does it work for both paging and hibernation files?<br>
<br>
If things did not change, fallocate does *not* allocate PE space (ie: <br>
they are not passed down to the underlying thin pool).<br>
<br>
Moreover, I expect for a memory-starved machine to page out pool <br>
metadata (right?) so I would not use a thin volume for swap.<br>
<br>
Regards.<br>
<br>
-- <br>
Danti Gionatan<br>
Supporto Tecnico<br>
Assyoma S.r.l. - <a href="http://www.assyoma.it" rel="noreferrer noreferrer" target="_blank">www.assyoma.it</a><br>
email: <a href="mailto:g.danti@assyoma.it" target="_blank" rel="noreferrer">g.danti@assyoma.it</a> - <a href="mailto:info@assyoma.it" target="_blank" rel="noreferrer">info@assyoma.it</a><br>
GPG public key ID: FF5F32A8<br>
<br>
_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com" target="_blank" rel="noreferrer">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" rel="noreferrer noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" rel="noreferrer noreferrer" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
<br>
</blockquote></div>