Mailinglist Archive: opensuse-bugs (5609 mails)

< Previous Next >
[Bug 721666] swapon and swapoff are not occurring (encrypted swap)

https://bugzilla.novell.com/show_bug.cgi?id=721666

https://bugzilla.novell.com/show_bug.cgi?id=721666#c12


--- Comment #12 from Bruno Friedmann <bruno@xxxxxxxxxxx> 2011-10-06 07:29:17
UTC ---
@Frederic ok I've some good more informations
systemctl show swap.target (before moving in /etc/fstab/ to
device/mapper/vgsys-lvswap ...

Id=swap.target
Names=swap.target
Wants=dev-mapper-vgsys\x2dlvswap.swap
WantedBy=sysinit.target
Conflicts=shutdown.target
Before=sysinit.target
After=dev-mapper-vgsys\x2dlvswap.swap
Description=Swap
LoadState=loaded
ActiveState=active
SubState=active
FragmentPath=/lib/systemd/system/swap.target
UnitFileState=static
InactiveExitTimestamp=Thu, 06 Oct 2011 09:16:33 +0200
InactiveExitTimestampMonotonic=61962260
ActiveEnterTimestamp=Thu, 06 Oct 2011 09:16:33 +0200
ActiveEnterTimestampMonotonic=61962260
ActiveExitTimestamp=Thu, 06 Oct 2011 09:15:52 +0200
ActiveExitTimestampMonotonic=20855486
InactiveEnterTimestamp=Thu, 06 Oct 2011 09:15:52 +0200
InactiveEnterTimestampMonotonic=20855486
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestamp=Thu, 06 Oct 2011 09:16:33 +0200
ConditionTimestampMonotonic=61962259
ConditionResult=yes
~


I've made several tests and the result is the following
once I let the second swap in fstab the swap failed at boot.
I don't know if it's related to the fact that one is by device name and the
other by LABEL

If I comment out the second swap everything work fine.
But having several swap is more than quiet common on desktop/server like having
a small swap partition on each block device to spread load, and increase perf.

This doesn't fix the report of Neil.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References