You are very quick to dismiss issues: following your comment, I changed
/etc/fstab swap priorities:

# swap was on /dev/sda6 during installation
UUID=4870beef-bb2c-40c1-91da-f1444f90c51b none                                  
        swap    sw,nofail,pri=2  0       0

# swap on SSD Samsung
UUID=fa2b8ce4-6ce7-4fb2-ac12-475264bed20f none                                  
        swap    sw,nofail,pri=1  0       0

However, the swap order is still incorrect:
swapon --summary
Filename                                Type            Size              Used  
        Priority
/dev/sdc2                             partition 50331644        0               
1
/dev/sda6                             partition 50331644        0               
-1

To make sure that the right UUIDs are declared:
sudo blkid
/dev/sda6: LABEL="MSI-GE60-Swap" UUID="4870beef-bb2c-40c1-91da-f1444f90c51b" 
TYPE="swap" PARTLABEL="Slow-Ubuntu-Swap" 
PARTUUID="a40b2587-deac-411f-8eee-6da7af30da2a"
/dev/sdc2: LABEL="SAMSUNG-Swap" UUID="fa2b8ce4-6ce7-4fb2-ac12-475264bed20f" 
TYPE="swap" PARTLABEL="Fast-Ubuntu-Swap" 
PARTUUID="1e289f8b-2281-4ec9-bd01-1b66fc79b359"

The issue is still there.

** Summary changed:

- Swapon does not respect fstab negative priorities order
+ Swapon does not respect fstab priorities order

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1516225

Title:
  Swapon does not respect fstab priorities order

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1516225/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to