|
|
Log in / Subscribe / Register

Swap across multiple storage hardware

Swap across multiple storage hardware

Posted Apr 22, 2025 18:52 UTC (Tue) by edgewood (subscriber, #1123)
In reply to: Swap across multiple storage hardware by mathstuf
Parent article: Three ways to rework the swap subsystem

"swapon" on the command line accepts a priority option, and passes that priority to the kernel. "pri=" in fstab does the same thing, and systemd presumably also does the same. So the kernel tracks the priority, no matter where it came from originally.

The swapon(2) man page describes what the kernel does with priorities if there is more than one swap device.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds