You are not logged in.

#1 2017-07-03 15:21:08

daankata
Member
Registered: 2017-05-21
Posts: 47

Encrypted swap partition - Stopped with error /dev/dm-5

So apparently this error is common >> https://github.com/systemd/systemd/issues/1620
When shutdowning/rebooting the computer says "Stopped (with error) /dev/dm-5" and then continues with shutdowning/rebooting. When I type "free -m" I do have available Swap - 2047MiB.

The output ot "swapon -s"

# swapon -s
Filename                 Type               Size         Used          Priority
/dev/dm-5                partition          2097148       0            -1

My fstab and crypttab entries.

/etc/fstab

<file system>                     <dir>       <type>         <options>           <dump> <pass>
/dev/mapper/swap                  none          swap        defaults,discard     0     0
/etc/crypttab

<name>                 <device>                              <password>                <options>                      
swap                  /dev/mapper/volgroup0-lv_swap         /dev/urandom              swap,cipher=aes-cbc-essiv:sha256,size=256

And my "lsblk -l"

NAME                       MAJ:MIN    RM   SIZE   RO TYPE MOUNTPOINT

volgroup0                  254:0      0   232.4G  0 crypt
#Other volumes

volgroup0-lv_swap          254:3      0   2G      0 lvm
# Home volume
swap                       254:5      0   2G      0 crypt  [SWAP]                    

I was following the Arch Wiki post about crypttab >> https://wiki.archlinux.org/index.php/Dm … sk_support

Thank you very much! smile

Offline

Board footer

Powered by FluxBB