I have a zram swap (and a normal one) and I got no idea where it came from:
$ sudo blkid | grep zram
/dev/zram0: UUID="..." TYPE="swap"
$ lsmod | grep zram
zram 18642 1
$ cat $ cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
UUID=... / ext4 discard,noatime,errors=remount-ro 0 1
/dev/disk/by-uuid/... /mnt/data ext4 defaults,user,exec,errors=remount-ro 0 2
/dev/disk/by-uuid/... /mnt/media ext4 defaults,user,errors=remount-ro 0 2
UUID=... none swap sw 0 0
- Where did come from?
- How can I get rid of it, besides blacklisting
zram
?
This is happening only on one of my systems, both running Ubuntu 12.04 Alpha 2+.
Best Answer
I forgot to check the files in
/usr/share/initramfs-tools
and indeed, I found somecompcache
related files. I then checked, which package installed those files, e.g.points to the package
casper
. Now, I got no idea how this ended up on my system, but purging it and recreating the initrd, gets rid of the zram swap.