[linux-lvm] swap on thin-provisioning

Sreyan Chakravarty sreyan32 at gmail.com
Sun Nov 29 15:12:16 UTC 2020


On Sun, 29 Nov 2020, 6:23 pm 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.
>


What about a swap file allocated with dd??

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20201129/087a1354/attachment.htm>


More information about the linux-lvm mailing list