* swapfile with BTRFS RAID 1
@ 2021-08-18 12:53 Martin Steigerwald
2021-08-18 13:00 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Martin Steigerwald @ 2021-08-18 12:53 UTC (permalink / raw)
To: linux-btrfs
Hi!
Regarding swapfile support in BTRFS I found it does not work on RAID 1:
BTRFS warning (device somepartition): swapfile must have single data
profile
as is documented
https://btrfs.wiki.kernel.org/index.php/Manpage/
btrfs(5)#SWAPFILE_SUPPORT
Now is there a way to tell BTRFS that the swapfile should be single
profile?
I see "btrfs filesystem usage" says "no" for "multiple profiles". But I
also got the following hint that it is not yet supported to specify a
different profile for a subvolume:
https://unix.stackexchange.com/questions/196490/what-can-i-do-with-btrfs-profiles
I also did not find anything in btrfs subvolume manpage about it.
So just not possible at the moment?
(And no, I do not need that for my own setups.)
Best,
--
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: swapfile with BTRFS RAID 1
2021-08-18 12:53 swapfile with BTRFS RAID 1 Martin Steigerwald
@ 2021-08-18 13:00 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2021-08-18 13:00 UTC (permalink / raw)
To: Martin Steigerwald; +Cc: linux-btrfs
On Wed, Aug 18, 2021 at 02:53:12PM +0200, Martin Steigerwald wrote:
> Hi!
>
> Regarding swapfile support in BTRFS I found it does not work on RAID 1:
>
> BTRFS warning (device somepartition): swapfile must have single data
> profile
>
> as is documented
>
> https://btrfs.wiki.kernel.org/index.php/Manpage/
> btrfs(5)#SWAPFILE_SUPPORT
>
> Now is there a way to tell BTRFS that the swapfile should be single
> profile?
>
> I see "btrfs filesystem usage" says "no" for "multiple profiles". But I
> also got the following hint that it is not yet supported to specify a
> different profile for a subvolume:
>
> https://unix.stackexchange.com/questions/196490/what-can-i-do-with-btrfs-profiles
>
> I also did not find anything in btrfs subvolume manpage about it.
>
> So just not possible at the moment?
That's right, not possible at the moment.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-18 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-18 12:53 swapfile with BTRFS RAID 1 Martin Steigerwald
2021-08-18 13:00 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.