Solene Rapenne wrote:
Eric Huiban <gro...@grompf.net> wrote:
Hello,
With "6.3 release" version, i'm unable to set swap priority with fstab
using the following :
2e04cb867188f137.b none swap sw,priority=0
e7f9094bf357d407.b none swap sw,priority=1
I get the following result :
$ swapctl
Device 512-blocks Used Avail Capacity Priority
/dev/sd0b 21941640 0 21941640 0% 0
/dev/sd1b 62524916 0 62524916 0% 0
Total 84466556 0 84466556 0%
Using "swapctl -a -p 1 e7f9094bf357d407.b" present the very same result.
Same for "swapctl -a -p 1 /dev/sd0b".
Also tried an hypothetic reboot...
Do you have an idea on what i missed here ?
Regards,
Eric.
Hello,
I tried on amd64 6.3 and on amd64 -current and I have not been able to
reproduce the issue.
What is the result if you remove your 2 swaps with
# swapctl -d e7f9094bf357d407.b
# swapctl -d 2e04cb867188f137.b
and that you type
# swapctl -A
after this, you should see the priorities correctly assigned after
typing "swapctl".
Hello,
I performed what you just suggested :
Tried to remove the two swaps : OK none remaining
Tried to reload the fstab : OK got priorities 0 and 1
Performed "halt -p" : OK computer dead like a stone
Power on...
Check swapctl : two swaps present with both priority at 0.
There's something i do not master within the boot process.
Note : this host has been freshly reinstalled with wiped out SSD.
Eric.