Cryptswap not mounted?

Posted by woody on Ask Ubuntu See other posts from Ask Ubuntu or by woody
Published on 2012-12-01T20:17:05Z Indexed on 2012/12/01 23:20 UTC
Read the original article Hit count: 214

Filed under:
|

I believe i have my swap set up but am not sure because on start up it says that it is something along the lines of "could not mount /dev/mapper/cryptswap1 M for manual S for skip". But it appears to be mounted.

When i run free -m the output is:

             total       used       free     shared    buffers     cached
Mem:          3887        769       3117          0         54        348
-/+ buffers/cache:        366       3520
Swap:         4026          0       4026

and sudo bklid is:

/dev/sda1: UUID="9fb3ccd6-3732-4989-bfa4-e943a09f1153" TYPE="ext4" 
/dev/mapper/cryptswap1: UUID="bd9fe154-8621-48b3-95d2-ae5c91f373fd" TYPE="swap"

and cat /etc/crypttab is:

cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

my /etc/fstab is:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#                
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=9fb3ccd6-3732-4989-bfa4-e943a09f1153 /               ext4    
errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
#UUID=bb0e378e-8742-435a-beda-ae7788a7c1b0 none            swap    
sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0

The file /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla already exists and its contents are:

[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Is my swap not setup correctly or is it not mounting?

© Ask Ubuntu or respective owner

Related posts about hibernate

Related posts about swap