Swap Space Not Activated On Boot
maihoaomv
maihoaomv at gmail.com
Sun Aug 31 20:26:18 UTC 2014
i installed linux mint 17 xfce a month or so ago on my laptop. i encrypted
my home folder at installation but cryptswap wouldn't work at the time. with
some help from the linux mint forum i managed to get swap to work (most of
the time). the problem i'm having now is cryptswap doesn't always start at
boot time. it worked most of the time at first but over time it's gotten to
where it almost never starts. i have to manually start it with sudo swapon
-a.
hopefully someone can show me what i'm doing wrong and help with solve this
problem.
thanks
******** OUTPUT from the command line ***********
maihoa at DELL-LM17-XFCE ~ $ free -h
total used free shared buffers cached
Mem: 3.7G 1.9G 1.8G 90M 82M 818M
-/+ buffers/cache: 1.0G 2.6G
Swap: 0B 0B 0B
maihoa at DELL-LM17-XFCE ~ $ sudo swapon -a
[sudo] password for maihoa:
maihoa at DELL-LM17-XFCE ~ $ free -h
total used free shared buffers cached
Mem: 3.7G 1.9G 1.8G 84M 82M 813M
-/+ buffers/cache: 1.0G 2.6G
Swap: 8.0G 0B 8.0G
maihoa at DELL-LM17-XFCE ~ $ sudo blkid|grep swap
/dev/mapper/cryptswap1: UUID="844bfacc-5a9e-45cc-8a9c-78dfdb12c92a"
TYPE="swap"
maihoa at DELL-LM17-XFCE ~ $ cat /etc/fstab|grep swap
# swap was on /dev/sda2 during installation
/dev/mapper/cryptswap1 swap swap sw 0 0
#/dev/mapper/cryptswap1 none swap sw 0 0
maihoa at DELL-LM17-XFCE ~ $
maihoa at DELL-LM17-XFCE ~ $ free -h
total used free shared buffers cached
Mem: 3.7G 1.9G 1.8G 90M 82M 818M
-/+ buffers/cache: 1.0G 2.6G
Swap: 0B 0B 0B
maihoa at DELL-LM17-XFCE ~ $ sudo swapon -a
[sudo] password for maihoa:
maihoa at DELL-LM17-XFCE ~ $ free -h
total used free shared buffers cached
Mem: 3.7G 1.9G 1.8G 84M 82M 813M
-/+ buffers/cache: 1.0G 2.6G
Swap: 8.0G 0B 8.0G
maihoa at DELL-LM17-XFCE ~ $ sudo blkid|grep swap
/dev/mapper/cryptswap1: UUID="844bfacc-5a9e-45cc-8a9c-78dfdb12c92a"
TYPE="swap"
maihoa at DELL-LM17-XFCE ~ $ cat /etc/fstab|grep swap
# swap was on /dev/sda2 during installation
/dev/mapper/cryptswap1 swap swap sw 0 0
#/dev/mapper/cryptswap1 none swap sw 0 0
maihoa at DELL-LM17-XFCE ~ $
--
View this message in context: http://ubuntu.5.x6.nabble.com/Swap-Space-Not-Activated-On-Boot-tp5072276p5078637.html
Sent from the ubuntu-users mailing list archive at Nabble.com.
More information about the ubuntu-users
mailing list