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

1
vote
1answer
24 views

How to recover an HDD after using it for SWAP

Last night I was working on my linux box using a CFD solver where I needed more than the 16 GB RAM that I already have installed. So I took one of my external HDDs (total of 360G capacity with about ...
5
votes
3answers
10k views

How to delete a second swap partition safely?

First of all I've tried to install Ubuntu , but something went wrong and the installation was interrupted. Then I tried to install again , and it was installed successfully. And there was another ...
0
votes
4answers
2k views

Create Swap for Ubuntu 14.04 LTS [closed]

I'm using 2 GB RAM I've installed Ubuntu 14.04 LTS how much swap do I need to create?
-2
votes
2answers
90 views

How much swap should I take for ???GB RAM on 14.04? [duplicate]

I will install 64 bit 14.04 on a Thinkpad T400 with 8GB RAM. How much shall I allocate for the swap partition? And especially: WHY those recommendations for swap? (None of the existing answers ...
1
vote
2answers
55 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
10 views

Default Ubuntu or any derivate distro installation creates swap AFTER home (single partition installation)

Today I have encountered the same problem twice and the second one was actually just checking if the first occurence is actually something that has happened by accident. I had to deploy a Kubuntu VM ...
-1
votes
1answer
70 views

First time installing Ubuntu. Partition. Do I need swap area? I only have SSD

I want to install Ubuntu on my laptop (Thinkpad X201). I already have Windows 8 on my Laptop, so it will be a dual boot. My laptop has 4 GB RAM and a 120 GB SSD, but no HDD. My question is, for ...
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 ...
20
votes
2answers
31k 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
24 views

Ubuntu 14.04 randomly freezing [duplicate]

I have Ubuntu 14.04 running on a Thinkpad T440 with Intel Core i5 Vpro 4gb with Intel Haswell graphics but it is randomly freezing with no reason. Recently I didn't have made any big change on the ...
0
votes
2answers
34 views

I Cant resize my main Partition [duplicate]

I Want to Make my Swap partition bigger, I didn't know exactly what swap was until I looked it up, So I set my swap partition as only 100 megabytes, I then learned that that is positively puny ...
1
vote
1answer
25 views

restrict memory usage to prevent swapping

I have an SSD and 8GB memory, and no swap partition. My normal use never ever needs more than 3-4GB. However from time to time I observed that some memory-leaking programs can still freeze the system ...
0
votes
2answers
63 views

Gparted - How to move partition to extend the size

I want to extend the sda1 to take the full unallocated size: The steps are as the following: Move sda2 to the right Increase the size of sda1 to fill the space But the thing is, I didn't get ...
0
votes
0answers
31 views

(Unused) swap causing fan noise? [Ubuntu 14.10]

I was running Ubuntu 14.10 for a while without any (fan related) problems. The fan was very quiet and would blow slightly when e.g. viewing HD videos etc. Then I had to reinstall Ubuntu due to a ...
1
vote
3answers
36 views

How much space to allocate to the swap partition? [duplicate]

I am currently installing Ubuntu on a new dedicated server with 8GB RAM. How much space should I allocate to the swap partition? The server will be used to handle 50,000 visitors monthly. (Not sure ...
0
votes
0answers
39 views

Network manager failing to load etc/network/interface all messed up

I am having major hassles with my system, can't connect to Internet or share files, on boot I am getting the following fails: Configure network interface = fail Configure network device ...
0
votes
0answers
47 views

Move boot and swap to another disk

I installed ubuntu 14.04 on a hdd an I have another small ssd disk now I want to move boot and swap to the sdd disk how can I do this wihtout losing any data edit: I mean with boot the bootloader ...
2
votes
0answers
237 views

How to get rid of encrypted swap?

I recently installed Ubuntu 12.04, including a encrypted root and swap partition. I'd like to get rid of the encrypted swap partition (not just of the encryption for it, but of the whole swap ...
0
votes
0answers
48 views

Swap partition goes inactive after every start

My fstab looks like # /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 ...
5
votes
2answers
7k views

Should swap and RAID-1 mix?

I have a box with a small RAID-1 array being used for swap space. I only did this since I was setting up mirrors for every other partition in the system. Today I read this question and it prompted ...
0
votes
0answers
31 views

Ubuntu freezes after decryption screen!

Everything was working fine on my laptop, it always has... But when I restarted the other day, Ubuntu refused to do anything after the "decryption" screen (where you enter your password to decrypt the ...
0
votes
0answers
54 views

Ubuntu is not using swap space from swap file

Instead of using a swap partition, I've always used a swap file (Debian, OpenSUSE, Slackware, Ubuntu) and I've never had problems. But I've just installed Ubuntu 14.04 LTS, I created a swap file as ...
0
votes
0answers
11 views

Hibernation Problem: Opened Programs are being Closed after Hibernation

I have problem with my hibernation. Computer can be hibernated, but when I turned it on, the programs that I worked with, like office program and browser, which I didn't close, are closed. So, it's ...
0
votes
2answers
33 views

Can't overwrite swap

i have ubuntu desktop 14.04 LTS and i want to encrypt my 7.88GiB swap partition (sda6). Before encrypting i need to overwrite it, to make sure no important data is left on the partition. For this, i ...
0
votes
0answers
27 views

the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present error on startup and ubuntu hangs on suspend [duplicate]

The disk drive for /dev/mapper/cryptswap1 is not ready yet or not present shows on startup but ubuntu starts normally. I recently installed ubuntu 14.04 as dual boot along with windows 7 using a ...
0
votes
0answers
18 views

Prepare for a huge computational script (RAM, SWAP…)

I run lots of python scripts on my laptop, but this time the situation is tricky. I need to read dump files, and perform huge calculations, so I need a lot of RAM and space. A crude calculation ...
1
vote
1answer
22 views

How to check if there is already a swap area?

I am using Ubuntu 14.04 on my laptop with 4 GB RAM. I had chosen option to "replace Windows 8 and install Ubuntu with LVM" when installing Ubuntu. Now I wanted to create a swap partition, I executed ...
3
votes
3answers
856 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 ...
3
votes
2answers
2k views

Without having swap partition how to hibernate using only “SWAP FILE”

I found answer near to this question but not exact answer in Ubuntu-forums.I found answer to How to create swap partition after installing Ubuntu. How to create or add swap file to existing swap ...
12
votes
3answers
3k views

Does 12.04 support hibernating to a swap file?

I'm about to reinstall Ubuntu on a netbook with a tiny disk. Because of the tiny disk size, I'd strongly prefer to have a swap file than a swap partition. However, I want to be able to hibernate. I ...
0
votes
1answer
81 views

Can Ubuntu 14.04 use encrypted swap without resorting to unofficial hacks?

On a fresh install of Ubuntu 14.04, I get this error message during boot the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present and the swap partition is never activated. From ...
1
vote
0answers
45 views

the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present is showing

On a new elementary os installation the swap is not available. I tried all the remedies offered here: What to do about "the disk drive for /dev/mapper/cryptswap1 is not ready yet or not ...
1
vote
1answer
89 views

Graphics stuttering issue in Ubuntu 14.10 for Intel on-board graphics

I'm running Ubuntu 14.10, and for the past couple of days, I'm facing graphics stuttering all over Unity, which mainly affects text and various parts of Unity (refer to screenshot). And this ...
0
votes
1answer
37 views

I should have 20GB of swap space, but I apparently have no swap space at all

When I installed Ubuntu I set aside about 20GB for my swap space. However, when I run the top command I am told that I have no swap space at all. Here's the system summary provided by top: top - ...
0
votes
1answer
21 views

Swapping disks between different systems

I am going to swap my laptop's drive for my desktop's drive. Both run a 64bit 14.04 distro. My laptop has an Intel Celeron CPU while my desktop runs on a AMD A6 CPU What are some things that I need to ...
0
votes
1answer
109 views

Shifting from Windows 7 to Ubuntu 14.04.2 LTS

First of all I know that there are many questions like this, same topic, but I have some confusions, I will explain them in details my computer ...
2
votes
1answer
36 views

Order between my partitions?

I plan to partition my hard drive into EFI, /, /home and swap. If considering the beginning of my disk is faster than its end, how shall I arrange the order of my partitions? Does / prefer as ...
2
votes
1answer
21 views

Leave unollocated space in case of increasing partition size in the future?

I plan to partition my disk into EFI partition, /, /home and swap I also want to prepare when I might need to increase / /home or swap in the future. So shall I scatter unallocated space between ...
0
votes
0answers
55 views

Apple Slim Aluminum Keyboard - swap Ctrl and Cmd

I have wasted few hours trying to swap my Cmd and Ctrl keys on my Apple Slim Aluminium Keyboard on Ubuntu 14.10, but without success. I have used several AskUbuntu questions, couldn't manage to make ...
0
votes
0answers
114 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
40 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
5k 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 ...
80
votes
5answers
46k 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
916 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
22 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
60 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
16 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
57 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
38 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
189 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 ...