>>> Chris Murphy <lists@xxxxxxxxxxxxxxxxx> schrieb am 10.12.2021 um 16:59 in Nachricht <CAJCQCtQro6UfMQJDyBxd=Ygd9mTHwtxZMGh58UO2aoC6oP5m6Q@xxxxxxxxxxxxxx>: > On Mon, Nov 22, 2021 at 3:02 AM Ulrich Windl > <Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx> wrote: >> >> >>> Lennart Poettering <lennart@xxxxxxxxxxxxxx> schrieb am 19.11.2021 um 10:17 >> in >> Nachricht <YZdrlBiIK3rt7l0z@gardel-login>: >> > On Do, 18.11.21 14:51, Chris Murphy (lists@xxxxxxxxxxxxxxxxx) wrote: >> > >> >> How to do swapfiles? >> > >> > Is this really a concept that deserves too much attention? I mean, I >> > have the suspicion that half the benefit of swap space is that it can >> > act as backing store for hibernation. But swap files are icky for that >> > since that means the resume code has to mount the fs first, but given >> > the fs is dirty during the hibernation state this is highly problematic. >> > >> > Hence, I have the suspicion that if you do swap you should probably do >> > swap partitions, not swap files, because it can cover all usecase: >> > paging *and* hibernation. >> >> Out of curiosity: What about swap LVs, possibly thin-provisioned ones? > > I don't think that's supported. > https://listman.redhat.com/archives/linux-lvm/2020-November/msg00039.html > AFAIK Redhat-based Qubes OS uses it; that's where I first saw it. > > -- > Chris Murphy