linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] swap on thin-provisioning
Date: Sat, 28 Nov 2020 17:18:06 -0700	[thread overview]
Message-ID: <CAJCQCtS8jzLJrFnG=+dAyimOHZMHka9zyKEeF5JzOjufv3YPqw@mail.gmail.com> (raw)

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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


             reply	other threads:[~2020-11-29  0:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29  0:18 Chris Murphy [this message]
2020-11-29 12:52 ` [linux-lvm] swap on thin-provisioning Gionatan Danti
2020-11-29 15:12   ` Sreyan Chakravarty
2020-11-30  8:39     ` Gionatan Danti
2020-11-29 16:19   ` Nicholas Geovanis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJCQCtS8jzLJrFnG=+dAyimOHZMHka9zyKEeF5JzOjufv3YPqw@mail.gmail.com' \
    --to=lists@colorremedies.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).