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

0
votes
1answer
17 views

swap partition shows as unknown in gparted

My swap partition does not seem to be operating properly. It worked fine yesterday, but seems to be inactive today. Per lsb_release -a, running Ubuntu 14.04 LTS trusty on a Compaq CQ62, dual booting ...
0
votes
4answers
46 views

Create Swap for Ubuntu 14.04 LTS

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

Deleted linux swap, now booting to grub rescue

I just deleted my linux swap from gparted and used that to extend my main linux partition. Now I just boot into grub rescue. It seems like a simple fix in fstab but I'm not sure. Here's my fstab # ...
1
vote
2answers
275 views

Why am I unable to create a SWAP partition?

I created the SWAP partition in GParted after resizing my Ubuntu partition. All the operations went off smoothly. When I right-clicked the SWAP drive, it showed "SWAPON", so I clicked it & it ...
-1
votes
1answer
20 views

What size should swap partition be if I want to hibernate later?

Since I'm installing Ubuntu for the first time ever (please don't shoot) i have no idea how large the swap partition should be. On the one hand, I know that people recommend "double the ram unless it ...
0
votes
1answer
126 views

Why did Ubuntu 14.04 create a 15.8GB swap partition?

I started with Windows 7 on 120GB SSD and Ubuntu 14.04 32bit installed on 60GB partition on separate 1TB HDD. I just did a fresh reinstall of 14.04 64bit on the 1TB HDD. In the installation set up ...
1
vote
1answer
24 views

Dynamic swap file like in Windows?

I would like to install Ubuntu to a 8GB USB stick so really don't have space for swap. I have 8GB RAM and the most memory intense apps I use are Firefox and LibreOffice. I don't use hibernate. I know ...
2
votes
2answers
2k views

How to recover data from formatted swap?

I am using Ubuntu 12.04. I have 4 partitions of hard disk. 1st of 43 GB contains Windows 7, 2nd (43 GB) and 3rd (32 GB) contained valuable data and 4th of 42GB contains Ubuntu. Now, while installing ...
1
vote
2answers
64 views

Swap not availlable

I have noticed that my swap is not available. This could explain why my computer freezes every so often when I am using it heavily. I installed 14.04 64-bit with an encrypted folder, which ...
0
votes
1answer
23 views

No Swap - Easy Way To Add?

My Ubuntu has no swap space. Apparently you can run a swap file on an existing partition - is that true? I'd like to add one, but the online instructions are all rather complicated and require the ...
0
votes
2answers
32 views

Would increasing my swap partition's size benefit my computer's performance?

Apparently increasing the size of the swap should make my computer able to handle more applications because it can "push more data aside" into the swap. ...or will it make the computer hang more ...
-1
votes
0answers
44 views

Google-Chrome would rather die than use swap

I'm running Ubuntu 14.04, and I seem to be having trouble with the swap file. I'm using System Load Indicator 0.3 to watch memory usage, and while system memory fills up, the swap file gets very, very ...
0
votes
3answers
43 views

Is having swap on hard drive or sd card better?

I have a bunch of 16gb normal speed sdhc cards, so if I use them I'm not worried about them getting damaged, but I was wondering: is swap on a 7200rpm 320 gb hard drive that is also the drive ubuntu ...
8
votes
3answers
7k views

Check if partition is encrypted

How do I check if a partition is encrypted? In particular I would like to know how I check if /home and swap is encrypted.
0
votes
1answer
38 views

I can't do hibernate to my PC due to swap partition size is equal zero?

How can I do that swap partition without losing data when I used ~$ free -k The output was: total used free shared buffers cached Mem: 3891772 ...
0
votes
1answer
37 views

Swap Keys for Game

I want to swap Tab key with Left Shift key for playing Dota 2 from Steam. I swap the keycodes of the keys and works fine until I start the game. I push Tab (it should be shift to queue actions) but ...
1
vote
2answers
685 views

Swap not working on clean 14.04 install using encrypted home

Update 3: I decided to reinstall the system from scratch to remove any old cruft lying around since I had been experiencing some other issues after the upgrade aswell. Howver, this issue persisted. ...
2
votes
2answers
3k views

Changing swappiness in sysctl.conf doesn't work for me

I'm using 12.04 LTS and can sudo sysctl to set swappiness to 10, but adding vm.swappiness=10 to sysctl.conf doesn't work for me - after I reboot, swappiness still reports 60 (default) I'd like to be ...
2
votes
2answers
68 views

Shrink or remove swap with 4GB RAM and SSD?

I wasn't exactly sure so I created a swap partition 4100MB in size. Now I have swappiness at 0 and it's highly unlikely I'll ever need swap because I don't use any memory intensive apps. I also don't ...
2
votes
1answer
6k views

Disk doesn't contain a valid partition table - partition table entries are not in disk order

I am in need of some help. I am completely new to linux. I have created and installed a Unbuntu 10.04 server as a virtual machine that is running in a Citrix Xenserver 5.6 Fp1 environment. While I ...
1
vote
1answer
39 views

What is a swap partition and why is it important?

While I was installing Ubuntu 13.10, it asked me to make a swap partition. I made it ~5.6GB, as I didn't know what it was or anything.
6
votes
1answer
3k 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
1answer
73 views

Ubuntu Disk Management

So, I notice when I open up "Disks", that it is showing 3 partitions on my main drive. 1 is the system, 1 is the swap, but the other is simply labeled as "Extended Partition" So what I'm wondering ...
0
votes
1answer
459 views

GParted cannot identify swap partition on Ubuntu 13.04

I had a major system crash, after which I reinstalled Ubuntu 13.04. The problem was that I wasn't sure about creating a partition for swap using GParted because from what the online tutorials seemed ...
21
votes
3answers
2k views

How can I turn off swap permanently?

Swap makes my system all sluggish and turning it off makes everything smoother. I have 3.5 GB of RAM. I know how to turn swap off by entering sudo swapoff -a in the terminal, but that's just for the ...
33
votes
9answers
39k views

How to empty swap if there is free RAM?

When I open a RAM-intensive app (VirtualBox set at 2GB of RAM), some swap space is generally used, depending on what else I have open at the time. However, when I quit that last application, the 2GB ...
0
votes
1answer
509 views

Increasing swap memory in ubuntu 14.04

I want to know if it is possible to increase swap memory in Ubuntu 14.04. How is it possible? Another question: I installed Ubuntu 14.04 on my laptop (ASUS)...When I'm working with it and open URL ...
2
votes
3answers
469 views

Why does my system use so much cache?

Previously, on my desktop computer running Ubuntu 14.04, I had 4GB RAM, which I thought should be plenty. However, after being on for a while, my computer would seem to get slow. I have a system ...
0
votes
2answers
55 views

Creating Swap Partition

Hello I am very new user of Linux. I am going to install Ubuntu 14.0.4 and have two questions: The partition in which the Ubuntu will be installed, what would be the partition type primary or ...
0
votes
0answers
103 views

Upgrade to 14.04 Memory Allocation Problem

Recently did a fresh install on my laptop to 13.10 to prepare for the LTS release. I started the upgrade process when the updater prompted and read a book waiting for it. When I checked on the ...
2
votes
2answers
315 views

14.04 with FDE and swap is missing

Helo I have a fresh install of 14.04 on a laptop with an SSD hard drive. When installing I turned on Full Disk Encryption as well as encryption of home folder. Partitioning was left to the ...
20
votes
5answers
14k views

Why most people recommend to reduce swappiness to 10-20?

I have seen in several site which recommend to reduce swappiness to 10-20 for better performance. http://community.linuxmint.com/tutorial/view/998 ...
3
votes
2answers
4k views

How to recover data from NTFS partition that was made into a Swap partition?

I have extremely important stuff on my windows partition which during the ubuntu 10.10 installation,when it said that I should create something called swap space, I selected it to be a swap space ...
0
votes
1answer
38 views

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

I am getting this error on bootup and do not know what to do. I have looked at almost every other answer related to this, but cannot access terminal before the computer freezes because of ram (I heard ...
0
votes
1answer
33 views

Are all pages of a process loaded in swap file / partition?

"Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space" . According to a user now , ...
3
votes
2answers
2k 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 ...
1
vote
1answer
307 views

Recover data from partition overwritten by swap partition [duplicate]

I've just reinstalled Ubuntu, and I chose a partition full of data as a swap area. I didn't realize that the swap area would overwrite my files. Can I recover my partition or my data now?
0
votes
0answers
38 views

How to convert Linux swap drive to windows readable format [duplicate]

Okay so I'm rather new to linux but I my laptop has 2 drives. One 64gb msata that i use for my windows boot drive and a terrabyte hdd that i use for all my other files. I decided to create a new ...
2
votes
1answer
236 views

zram vs zswap vs zcache Ultimate guide: when to use which one

What the hell are they? how are they different (I've written my understanding in an answer below) In the Zswap system, when a page is evicted from the zswap to the actual swap is it stored in a ...
0
votes
0answers
22 views

Swap partition missing or not found error? How do i solve this error?

No swap partition found. I get this error all the time and i have attached the picture of it. It appears when Ubuntu 12.04 is starting and i got no idea how to solve it. I did create a swap partition ...
1
vote
2answers
88 views

NAS running Ubuntu / Raid 5 / SSD cache

I'm about to setup a NAS - planned hardware so far: MB: ASUS P9D WS(*link1): sry, it's german, it says th MB supports Hot-Plug in AHCI or RAID Mode, supports Intel Smart Response (SSD Caching) CPU: ...
5
votes
3answers
2k views

Ubuntu sometimes starts swapping like crazy for no reason

Every once in a while, my Ubuntu starts using the hard disk like crazy, and for 3 minutes I can't move the mouse nor access any console, even CTRL-ALT-BACKSPACE and CTRL-ALT-F1 do nothing. It is ...
1
vote
3answers
133 views

Ubuntu Frozen every time when Memory usage over 80%

Ubuntu Frozen every time when Memory usage over 80%, It seems that the system hangs due to a load of disk IO - the screen is frozen and the only thing I can see is the indicator LED of disk keeping ...
4
votes
3answers
557 views

Do I need a swap partition for every Linux distribution?

To install various Linux distributions on the same physical machine, do I need to add a swap partition for each distribution, or one will suffice for all?
0
votes
1answer
82 views

No Swap Partition!

I'm in dire need of help. My system has become incredibly laggy and hardly usable. I have realised that this is because for some reason I'm running without virtual memory (this is not intentional). ...
1
vote
1answer
112 views

Know programs in cache

I have this situation with RAM and SWAP at the moment: $ free -h total used free shared buffers cached Mem: 7,7G 7,5G 159M 100M ...
0
votes
0answers
120 views

No swap in Xubuntu 14.04 LTE with full disk/system encryption

I'm a newbee to Linux. I installed Xubuntu 14.04 LTE on my 1.6GHz/2GB RAM/120 GB SSD HDD netbook. Everything goes smoothly, except I realized that during booting and logging in there was a warning ...
1
vote
1answer
56 views

Swap partition showing unknown. Can I format it to ntfs or ext4 for keeping my files or this will cause problems to system? I don't need swap space

The gnome disk utility shows a partition with 3.1 GB is linux swap with unknown content. In a terminal running free command total swap shows 0. What does this mean? I don't need any swap space, so ...
0
votes
1answer
65 views

Creating a swap partition on an SSD with full encryption

Much to my surprise I recently found myself to lack a swap partition. Since (as is evident from the output of df, which I hereby repost) that I am running off a single encrypted volume, I was ...
0
votes
1answer
39 views

Hibernation/swap partition

I'm trying to enable hibernation on my laptop, a Dell XPS-13 (with a 256 GB SSD mounted as an encrypted volume). I was following the official documentation here and I attempted the "hibernation test" ...