Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTRFS doesn't support swap files #17

Open
jonchampagne opened this issue Jul 3, 2016 · 1 comment
Open

BTRFS doesn't support swap files #17

jonchampagne opened this issue Jul 3, 2016 · 1 comment

Comments

@jonchampagne
Copy link

So according to the BTRFS wiki and my own testing, BTRFS foesn't support having swap files upon it. This isn't indicated in the web UI, and as such confused me as to why the file was failing to be used with no clear error output. Considering on unraid 6.2 at least the default filesystem for the cache disk is BTRFS, it would be nice if there were a check in the plugin to make sure the swap file isn't on a BTRFS filesystem.

@jmalfara
Copy link

Yup I agree.

Im going to leave my log here for some hopeful Googler to find incase they have the same issue.

Oct 28 23:18:46 Tower rc.swapfile[5637]: Swap file /mnt/cache/swapfile created and started
Oct 28 23:18:51 Tower emhttpd: cmd: /usr/local/emhttp/plugins/swapfile/scripts/rc.swapfile start
Oct 28 23:18:51 Tower kernel: swapon: swapfile has holes
Oct 28 23:18:51 Tower rc.swapfile[5670]: Swap file /mnt/cache/swapfile re-used and started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants