All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux swap file not activating after reboot
@ 2020-01-16  0:34 Michael Ruiz
  2020-01-16  0:51 ` Qu Wenruo
  2020-01-16 18:55 ` David Sterba
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Ruiz @ 2020-01-16  0:34 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

Hi,
 I have a //@swap subvolume and i have a swapfile within it. I mount the 
subvolume like such in fstab:

`rw,ssd,nofail,noautodefrag,nodatacow,nodatasum,subvolid=1234,subvol=/@swap`

It mounts correctly, but 1/15/20 4:20 PM kernel I get: 

`BTRFS warning (device dm-0): swapfile must not be copy-on-write`

I did chattr +C on the empty swapfile as per arch wiki instructions. The only 
problem is that it does not work after reboot... Does btrfs allow subvolumes 
to have different mount options?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-17 13:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16  0:34 Linux swap file not activating after reboot Michael Ruiz
2020-01-16  0:51 ` Qu Wenruo
2020-01-16 18:55 ` David Sterba
2020-01-16 20:43   ` Omar Sandoval
2020-01-17  0:44     ` Michael Ruiz
2020-01-17 13:47       ` 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.