FG
💻 Software

How permanently change Linux swap disk priority

Fresh5 days ago
Mar 15, 202624533 views
Confidence Score0%
0%

Problem

I’m using two swap disks. Changing the order they are in in and using in doesn’t seem to have any effect. This is what it looks like in the : This is the output of : It’s the opposite of what it is in , and changes to seem to have no effect.

Error Output

#swap on other disk
UUID=90a1550c-84d6-4bde-8bc1-7c15292980f1 none            swap    sw,pri=-1              0       0

#swap on same disk
UUID=13b70…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How permanently change Linux swap disk priority

Low Risk

All seems fine. and in your means is a priority. If you want the inverse, remove the . You should have for and for . Reboot and re-check.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment