Unix systems, and other Unix-like operating systems, use the term "swap" to describe both the act of moving memory pages between RAM and disk, and the region of a disk the pages are stored on. In some of those systems, it is common to use a separate whole partition of a hard disk for swapping. These ...

learn more… | top users | synonyms

6
votes
1answer
4k views

How do I get Ubuntu 12.04 to recognize encrypted swap partition so that I can hibernate?

I just installed Ubuntu 12.04 and used gparted to erase and enlarge my swap partition. When I rebooted, gparted said that the file partition for the swap was unknown. Gparted doesn't let me change ...
0
votes
2answers
29 views

I can't create both Swap and Ext4 partition

I installed Ubuntu using the dual boot method. My laptop is HP pavilion DV6. It has MBR on my HDD, so I'm limited to create 4 primary partitions. In Windows 8 I have used 4 primary partitions. In the ...
0
votes
0answers
20 views

Docker warning on cgroup swap limit, memory.use_hierarchy

I am getting this warning from 'sudo docker -d': WARNING: Your kernel does not support cgroup swap limit. even after following the steps (as in this link): modify below lines in ...
2
votes
2answers
28 views

record of swap/memory usage - how to do it?

Here is a quick intro to the problem, but if you're interested only on the question, I think you may skip to the last paragraph. I have installed Ubuntu Mate on my laptop with the recommended amount ...
4
votes
4answers
4k views

Unsafe swap space detected

So I had a Ubuntu 13.04 installation and I had encrypted my hard drive while I was doing installation. I was playing around and mistakenly deleted all the partitions, now I downloaded lUbuntu 13.10 ...
76
votes
5answers
42k views

Why is swap being used even though I have plenty of free RAM?

I thought the whole essence of swap was to act as a temporary storage safety net when RAM was full but my swap partition is constantly being used even though I sometimes have as much as 3GB free RAM. ...
4
votes
1answer
869 views

No swap space. encrypted swap in crypttab not created

Today I discovered that my Ubuntu 12.04LTS doesn't have any swap-space. I installed this system from scratch only some weeks ago. I encrypted all the partitions to me needs. I didn't install any swap ...
0
votes
1answer
21 views

where to put swap ? partitioning a drive for ubuntu and spare ntfs space

I have a spare hard drive. I am not setting up dual boot. I have ubuntu on ext4 at the start of the drive. and want to put a ntfs partition and a swap space should I put swap space between ubuntu ...
0
votes
0answers
53 views

Swap vanished after reboot

I have installed Kubuntu 14.04 with an encrypted home directory. Although I had swap set up during the install, the swap space was not there after installing. This has happened to many people, there ...
0
votes
0answers
8 views

Snort Latency and Ubuntu memory/Swap space

I have snort running on an Ubuntu server. I have noticed that sometimes I get high latency on my network when packets pass through snort. I have also noticed that the Ubuntu server is using about 14Gb ...
0
votes
3answers
46 views

Ubuntu is not finding swap partition

I booted Ubuntu on to a new computer today. I created 3 partitions 20g for operating system 200g encrypted /home and 12g swap. But sudo swapon -s brings up nothing and when I boot it also say swap not ...
0
votes
2answers
31 views

Ubuntu 14.04 LTS swap partition on ACER Aspire 5720 [duplicate]

I have an ACER Inspire 5720 laptop PC (32bits) and will install Ubuntu14.04 LTS on it. The hard drive has a 160 GB capacity with 2 GB Ram memory. I should like to know how much space I have to ...
0
votes
2answers
172 views

Why do programs (including Xorg) close when out of RAM but Swap is near empty?

I have some swap configured and I believe activated... Filename Type Size Used Priority /dev/sda5 partition 7811068 1124912 200 ...
6
votes
4answers
15k views

Do we still need swap partitions on desktop?

I have read this question, but it was asked in the context of servers not desktops or notebooks. If a good amount of RAM is installed on a notebook, say 8 GB, do we still need a swap space?
22
votes
5answers
5k views

With an SSD, do I need to change my swappiness to increase SSD life?

I encountered this article which includes the following suggestion: Swap and swappiness I kept my swap partition on the old HDD. Swap on the SSD would be faster, but would also shorten the ...
0
votes
3answers
49 views

Do I even need a swap partition? [duplicate]

I have 8 gb of ram and use my machine for web browsing streaming and some light gaming. Do I need a swap partition?
1
vote
2answers
268 views

After reboot swap turns off issue

I am using Ubuntu 14.04LTS. I have a problem with my swap partition. I resized swap with GParted. When partitioning, I had to turn swap partition off. After resizing it, I put it back to active (ON) ...
20
votes
2answers
28k views

What to do about “the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present”?

While booting Ubuntu 12.04, the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present is showing. What is this? Is this is an error?
0
votes
0answers
26 views

System crashes when forced to use swap

I'm running Kubuntu 14.04, with encrypted luks. I have 16 gigs of ram, so I don't use swap too often, but when my machine is forced to for one reason or another, it crashes. This can happen from ...
0
votes
1answer
29 views

Resize or turn off encrypted swap

I installed ubuntu 14.04.1 on a 60 GB ssd with full encryption. My PC has 16 GB of RAM. This has resulted in a swap size approaching 16 GB. Can I subsequently change this to 2 GB or completely turn ...
0
votes
1answer
26 views

Expanding partition for more [duplicate]

I formatted the unallocated space to fat32 (don't know if that was right). Now I want to extend my dev/sda5 for more memory as I'm currently getting warnings about my low memory space. Above My ...
0
votes
1answer
37 views

my partitions are wrong

I am using Ubuntu 14.10, when I installed it, I decided to use the recommended option "automatically use entire disk for Ubuntu", this was OK for me 'cause I just use GNU/Linux, after some months ...
1
vote
3answers
2k views

ubuntu 14.04 install with custom swap size using LVM?

I want to install ubuntu 14.04 with LVM and encryption. But the problem is that my computer has a large RAM (16GB) and a small SDD disk (60GB). So I think only a small amount of space for swap is ...
0
votes
2answers
45 views

Resizing swap partition after installing ubuntu 12.04

I have few Gigabytes of unused space on my hard drive. How can I add this extra space to my swap partition?
0
votes
0answers
45 views

swap memory value / percentage meaning

Swap memory can be set between 0 to 100 What Does It means when we set swap memory to .. ? swappiness= 0 Tells the kernel to avoid swapping processes out of physical memory for as long as ...
0
votes
1answer
431 views

ecryptfs-setup-swap freezes

My computer started freezing with the message cryptswap not ready, and so i tried following this tutorial http://punygeek.blogspot.de/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html Everything ...
9
votes
1answer
7k views

How do I setup an encrypted swap file?

When I installed Ubuntu, I setup an encrypted home partition. Now I have come to an issue where I am running out of memory because I haven't setup swap. How can I setup an encrypted swap file? A ...
8
votes
7answers
27k views

System not mounting swap partition

Even though the swap partition exists, and set to load in fstab, it's still not being mounted. fdisk returns this for the swap partition: file system: /dev/sda5 start: 1 end: 244 ...
0
votes
0answers
34 views

Should the swap partition be on an ssd or hdd? Or can I use a swapfile? [duplicate]

Lots of posts mention installing the swap partition on an HDD instead of an SSD. Does this really matter? shutdown and startup my windows 8 several times a day and it uses the ssd for it's hibernation ...
0
votes
1answer
42 views

Creating swaps in extended partition

I have the following Disk partition setup- http://imgur.com/rz2HvMb I want to do the following- delete partitions sda1, sda2 and sda4 but keep sda3. create extended partition in place of sda4 and ...
1
vote
0answers
17 views

Increasing Swap file

I looked at various Q's all ready asked, but did not see my problem. I am trying to increase my swap by using GParted Partition Editor as in How to increase swap space? I try to resize/move, but it ...
0
votes
3answers
71 views

how to increase swap memory in ubuntu 14.04

I have replaced windows with Ubuntu 14.04. My Windows was on drive c & I have formatted drive c with the Ubuntu but during the OS installation unknowingly I had assigned 105mb of swap memory, but ...
-1
votes
1answer
28 views

Cant able to remove the .swp files from the ubuntu 14.04 PC

Cant remove the .swp file from disk it showing no files, how can i remove that ?
0
votes
1answer
81 views

Swap partition not working

Ubuntu gives me an error on boot saying it can't find my Swap partition. I ran free -m and this was the result. It says I don't have any swap memory. I can't post any images but these were the ...
0
votes
1answer
36 views

Xubuntu won't start when using 4Gb Ram

So here is the situation, I was using Ubuntu 14.04 32 bits. Removed everything from the partition I had and created an additional Swap partition and installed Xubuntu 14.04 64 bits. When booting I can ...
0
votes
0answers
23 views

how to use dedicated swap partition for hibernation

Is there a very simple way to make Ubuntu use an SSD partition for memory swapping, while using a separate partition residing on a slower HDD for hibernation? that will enable hibernation in the case ...
2
votes
1answer
2k views

Encrypted home partition + encrypted swap + working hibernate

I would like to set up disk encryption on Ubuntu 13.10 such that I have plain / encrypted /home partition encrypted swap partition working hibernation and resume As these requirements suggest, ...
1
vote
1answer
94 views

Why can't I enable swap on startup?

I made I swap partition with GParted and it works great, since my computer only has 2 GB of memory. But, every time I boot up, I have to execute sudo swapon /dev/sda1 until it enables. How can I set ...
3
votes
3answers
4k views

Swap partition not recognized (The disk drive with UUID=… is not ready yet or not present)

I think I had an encrypted swap partition, because I chose to encrypt my home directory during the installation. I believe that's what the line with /dev/mapper/cryptswap1 ... in my /etc/fstab is all ...
10
votes
3answers
776 views

Allocate swap after ubuntu 14.04 LTS installation

I've installed Ubuntu 14.04 LTS about one month ago, I'm dual booting Ubuntu 14.04 LTS and Windows 8.1. I didn't create any swap space while installation but now I really need to add this for ...
0
votes
2answers
34 views

Swappiness for aggressive swapping

I want to configure the Ubuntu 14.04 with aggressive swapping behavior. I'm using Linux kernel 3.14. I modified the swappiness using the following command. echo 100 > /proc/sys/vm/swappiness ...
1
vote
0answers
24 views

How do you move a LVM crypto swap partition from sda to sdb?

I have LVM configured for an encrypted home folder. Naturally this implies that swap falls into the crypto catagory. I have installed a second disk with a swap partition already ready to go and ready ...
0
votes
1answer
25 views

RAID5 … TYPE=SWAP

I have been looking for help but so far couldn't find. Have a computer with 4x500gb and 1x60gb. The hdd of 60gb it's where I have my OS. Recently I had a problem with the hdd and I had to reinstall ...
0
votes
1answer
41 views

i broke encrypted swap partition. how to bring it back?

i installed kubuntu 15.04 a while ago with encrypted home and swap partitions. everything worked as a charm but today i decided to install Kali Linux on other partition aswell (no encryption anywhere, ...
7
votes
1answer
470 views

Swap, Swapiness and Standby: swapping starts when waking up

I'm running Ubuntu 12.04 on a Lenovo W500 (Core2Duo T9400, 4GB Ram) Current kernel: 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux -- but the problems ...
-1
votes
1answer
43 views

How to create a swapfile?

I have a 500Gib hard disk and 2Gib of RAM. I have ubuntu 12.04 When I originally particioned the disk, I had unallocated space because I had another disk with Windows in it. This disk died, so I had ...
40
votes
5answers
60k views

How do I add a swap partition after system installation?

I did not opt for a swap partition during Ubuntu installation. Later I freed up some space, and made a swap partition. Now after booting up I am manually opening gparted and right-clicking the swap ...
0
votes
1answer
38 views

How to delete a file from / how to delete a file

I made this: sudo make swap /swapfile.swap because I had no swap partition. Before that I put this command: sudo dd if=/dev/zero of=/swapfile.swap bs=4086 count=1048576. The last number is ...
2
votes
2answers
556 views

14.10 - Swap not available

My swap doesn't seem to be working. I tried to fix it but nothing I tried worked. Here is some relevant information to troubleshoot the problem: During install I chose to encrypt my home folder. Seems ...
1
vote
2answers
207 views

Can swap be on a different disk?

I have 16GB of RAM and the core system is run on 128GB sddisk. So I don't have space to use 16/32 GB for swap. Can I create swap on another hard disk? Or it has to be on the same disk as the system? ...