You are not logged in.
Hi there,
I've found some error message in journalctl recently that occurred while the system was shutting down.
Dez 24 12:32:35 arch systemd[1]: Stopped (with error) /dev/mapper/swap.
Dez 24 12:32:35 arch systemd[1]: Stopped (with error) /dev/disk/by-uuid/12345678-1234-1234-1234-123456789abc.
Dez 24 12:32:35 arch systemd[1]: Stopped (with error) /dev/disk/by-id/dm-uuid-CRYPT-PLAIN-swap.
Dez 24 12:32:35 arch systemd[1]: Stopped (with error) /dev/disk/by-id/dm-name-swap.
Dez 24 12:32:35 arch systemd[1]: Stopped (with error) /dev/dm-1.
Dez 24 12:32:35 arch systemd[1]: Stopped (with error) /sys/devices/virtual/block/dm-1.
I'm using dm-crypt with luks for encrypting the partition without any special stuff like suspend-support or something.
/etc/crypttab entry
swap /dev/disk/by-partuuid/11111111-2222-2222-2222-333333333333 /dev/urandom cipher=aes-xts-plain64,size=512,hash=whirlpool,swap
/etc/fstab entry
/dev/mapper/swap swap swap defaults 0 0
According to free and top, the swap partition works fine, so what is the reason for this? Any possible fix?
Thank you
Last edited by silentsnake (2012-12-29 01:52:55)
Offline
Can you look through your journal and find the error.
But ya, I agree. As long as Swap is working, I see no reason why an error in stopping it would cause any problems.
Last edited by hunterthomson (2012-12-29 02:56:57)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
Is the shutdown hook included in mkinitcpio.conf? If not, try adding it and regenerating the initramfs.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks, but unfortunately adding shutdown hook didn't solve it. The posted journal messages are everything I found within my log.
Offline