Comments (3)
Something like "swapfc_path1=" and so on. The first one will always get used for location if there is space, otherwise move on. But if a location doesn't exist try another set location but don't halt the system if no swap can be set up.
from systemd-swap.
@ShapeShifter499, that will create more problems then it solve.
i.e. swapfc working by assumption, where, which and what name used to place swap file.
For support several location, currently, that need much more complicated code.
So, i don't like that idea at all, and that will unlikely be implemented by 'me', before i rewrite systemd-swap on python, or other more powerful language.
You can try your self at that, if you wish.
from systemd-swap.
I'll close this as I went with a different solution instead. What I ended up doing is setting a small swap on all of the storage devices I wanted to use swap with then set the swap priority in order of which I wanted to be used. I also set 'nofail' in my fstab to allow my Raspberry Pi to boot in the event that one of those storage devices fails to mount. vm.swappiness is set to 1 so that swap isn't used unless it's really needed.
from systemd-swap.
Related Issues (20)
- Parse error HOT 1
- Suggestion: update zram algo list in default config HOT 7
- TypeError HOT 1
- systemd-swap fails after install. HOT 11
- daemon notify TypeError on armbian HOT 2
- Inproper configurations can cause infinite loop
- swapfc_priority reaching negative values on long running systems
- Chrome-based browsers do not use swap HOT 1
- subprocess.CalledProcessError: Command '['systemctl', 'start', 'var-lib-systemd\x2dswap-swapfc-x.swap']' returned non-zero exit status 1. HOT 12
- systemd-swap fails to start as service (exit code 203) HOT 3
- Recommendation for Swapfc defaults
- ModuleNotFoundError: No module named 'systemd'
- FileNotFoundError /run/systemd/system/var-lib-systemd\\x2dswap-swapfc-1.swap HOT 1
- Failed deactivating swap at shutdown HOT 1
- long boot times with zram_count=16 HOT 6
- subprocess.CalledProcessError: Command '['mkswap', '-L', 'SWAP_f2fs_1', '/var/lib/systemd-swap/swapfc/1']' returned non-zero exit HOT 1
- Cannot Create SwapFC on non-root Drive HOT 2
- Systemd-swap doesn't handle swap_fc path already existing on btrfs HOT 1
- ERRO: swapfc_path is located on an unknown filesystem
- Swapfc path in another partition(? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from systemd-swap.