Ubuntu :: Swap Space Shows 0k But Have Volume Formatted As Swap
Dec 7, 2010Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 RepliesLucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 RepliesI have a dual xeon e5420 server w/ 16GB ram running 5.3 x64 that I was trying to partition out in the following configuration:
250GB on / (root)
4.2TB on /home
50GB on /tmp
2GB on swap
The issue is that no matter what size I set the swap space to in anaconda if always shows 8GB when I "df -h". I've tried setting it to 2GB 1GB and 512MB all with the same result.
I attached a picture showing a 2.7GB swap partition in the program named Disk Utility. Also in the pic on the upper right is the program htop running and you see Swap is showing up as "Swp[ 0/0MB]". And in the middle right is Sytem Monitor showing no swap space being used and that the swap space size is 0 bytes. This all happened after resizing the partitions using gparted. I resized all the partitions. Part of what I did was increase the size of the swap partition from 512MB to 2.7GB. But, as you can see, after rebooting the system no longer is using the swap space. And it seems, according to the pic of System Monitor that there is no swap space. Is there a way to fix this so Ubuntu will use the swap space?
View 9 Replies View RelatedDoes one need to Check the Swap filesystem, from time to time
View 4 Replies View RelatedRAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
I am unable to hibernate my computer while using Ubuntu and I figured out the reason--Ubuntu is not using my swap partition. I would follow the existing tutorials on setting up a swap partition after installing Ubuntu, but since the volume uses hardware RAID 0, the swap partition is not assigned a /dev/ entry (like /dev/sdxx) and I am not sure how I can mount it.
Here is what I have:
Code:
When i first installed ubuntu about 2 weeks i left about 30gb left for windows vista. I have not used vista at all so i decided to delete it and use the whole hard drive for ubuntu. I got the liveCD out and went into the partition editor on that (i had ubuntu,swap,vista in that order) and deleted the swap space and vista and increased the size of the Ubuntu partition to so there was only 4gb left for swap. I then booted up again from the hard drive and i get this message "one or mounts cannot be mounted" or something to that effect and it talks about the swap partition and offers to boot in recovery mode which does work.Once in recovery mode i go in and try and make swap partition with Disk Utility and i do that and it works. I go to restart Ubuntu to test it out and the same problem happens again, cannot mount swap ect. so i go back into Disk Utility and it now says 4gb Unrecognized instead of swap
View 4 Replies View Relateda friend of mine recently installed Ubuntu in his Laptop however is running really slow. It's Dell 1520 so I don't think the computer is that slow. I think what the problem is that he doesn't have a swap space. ok, I could use GPARTED to resize the HD and create SWAP space but how can I tell the system to permanently use that space?
View 14 Replies View RelatedI had just installed gparted , not used yet.I have a problem , at the time of installation i havent created necessary swap space , my linux partition contains 30GB with ext2 filesystem..I'm fully having this , but my question is with the above mentioned tool can I recreate swap space from this 30GB , like 20GB as user space and rest 10 as swap space . Can I?
View 3 Replies View RelatedI know it's possible, but does anyone have a URL or tutorial on how to do this?
View 3 Replies View RelatedI'm running fedora 11 on Dell laptop. I find that fedora is using swap space even if memory is available.
Isn't it slower to use swap ?? Or Am I just missing something ?
I got back to my laptop after dinner and found a blank screen with one line of text saying something about running out of swap space - I tried all kinds of key combinations but nothing worked to bring the desktop back - eventually I pressed and held the power button to shut it down - I suppose this is Ubuntu's version of the "blue screen of death"?I went to System - Disk Utility to make a 2GB free space right after the swap space. Then I tried to make that 2GB free space a swap space partition but it came back with an error
View 5 Replies View RelatedHow can I add more space to my drive since I only have 1gb of ram and plenty of hard drive space? Right now it does not seem to be utilizing the swap space very efficiently.
View 9 Replies View RelatedIs there any way to force the system to use swap space instead of RAM? I just upgrade form 512 to 1 gb. And when I installed ubuntu I give the swap space 1gb according to 512mb RAm requirement. Now I have 1 gb. When I use heavy applications i-e firefox, office, any game etc at a time the processing go to 100% and the RAM use 50+% of the memory. No swap memory will be use. Any way to use swap instead of RAM?
View 6 Replies View RelatedI am using a Dell Inspiron 580 that I recently recieved as a gift. I wouldn't normally purchase a Dell, but I have no money and it my old computer was WAY past it's prime. After going through a miniature nightmare I now wonder how to create swap space for my ubuntu installation. I am running 10.04, 64 bit. I am having no problems, but I have no swap space. My computer is a new -Intel i3- with 6GB of ram; so I assumed I could worry about getting it installed, then set a swap file later. As I said, it runs well, but i don't feel comfortable with ZERO swap space.
When I installed Ubuntu I already had a problem because Dell had included 2 special partitions that are diagnostic and recovery. This didn't surprise me, but I want to make my system backup less than 100GB, so I shrank the "c:" partition to 100Gb and made the free space "storage":NTFS partition. After backing everything up (before messing with the partitions), I installed Ubuntu. Since I had created the backup that Dell asked me to (the very first time I turned the PC on) as well as my own system image I wasn't concerned.
Using GParted Boot disk I deleted the Dell "Recovery" partition and marked the "C:" drive (COS)) as active. I used a Windows 7 install disk to "repair" the bootmgr problem. Had to run "repair" twice, but it worked.
My question now is: why didn't Ubuntu installation say anything about a swap partition until I had already set up my partitions? I could easily give up a gig or two for swap space but I cannot make a swap partition unless I delete the Dell diagnostic partition (NOT the "recovery" partition; the other hidden one). I don't mind deleting the "recovery" partition because it is backed up, but I would prefer not to delete the "diagnostic/utility" partition, just in case. The 40MB is crap anyway.
It hadn't occurred to me that I would have trouble making swap space. I am used to windows (I am dual booting with GRUB BTW, if that matters) and the swap FILE doesn't need it's own partition. I understand why a separate partition would be better, but unless I can somehow create a logical/extended partition for swap, I need to know what else I can do.
I believe Ubuntu is a better system for many reasons, but little things like this do puzzle me. I am no engineer, or software designer, but I don't understand why I wasn't given an option, such as: You cannot make another primary partition; would you like to use a virtual disk/file as your swap space?"
I'm a first time installer of Ubuntu. I've run it directly from CD a few times earlier, but I'm installing it from the CD for the first time. I've read some stuff about this from other sites, and have some doubts I hope you geniuses would be able to clarify. Situation : My 80GB Primary HDD is partitioned into what I think is 1 Primary partition [10GB] and 1 extended partition [70GB] which is further divided into three logical partitions.
I don't have to worry about other data, since I've got a 320GB External HDD for that. Now, Ubuntu says that it can squeeze the free space out of the Windows Partition. But my Windows partition is pretty full, and I don't want to re-install it on a larger partition. I've got one logical drive [20GB] free on my Primary HDD. Can it be converted into a primary partition without affecting anything else i.e. my Windows partition and the other two logical partitions remain intact ? Or do I have to format my extended partition and subdivide into a primary and extended partition ?
Q2 - How do I adjust swap space ? Does it have to be a primary partition ? Or can it be a logical partition ? To make a logical partition swap space, do I have to reformat my entire extended partition to squeeze out free space, or can it be kept intact? I'm using Ubuntu Hardy Heron. I know it's a lot to read, but I'm pretty confused right now.
i had to install oracle in my laptop...it required a certain amount of swap space which i didnt have... i tried to create it using the datadump command... dd if=/dev/zero of=/extraswapf bs=1M count=512 i then rebooted and made the swapfile using: mkswap /extraswap i then made the entry in /etc/fstab as follows "/extraswap swap swap default 0 0" and i used the command : swapon /extraswap the swap space was visible after that... but after rebooting the swap space is not visibille
View 4 Replies View RelatedI have a rel 5.6 system that we just added more memory to.
1. What is the correct or best way to increase swap?
2. Can I remove the swap space later on?
3. How do you remove it when done?
Our rootvg only has 8G available to it and I want to be sure if i allocate anything out to it I can reclaim when done without having to rebuild the system.
We have to do a lot of data moves so we allocated extra memory to this VM system and now we need to increase swap. I did see several articles in google but they describe using a new swap partition, a swap file and increasing an existing swap space. I am still not sure what is the best way to go knowing this is a temp situation.
[Code]...
Before I start a flame war, I'd like to qualify my question with...I have a boatload of ram and a VERY thin install.(CLI openSuse 11.4-64) If I'm running the most baseline, text-only-install...and the whole system install is like 2GB or less, and I have 8GB of ram (which I could easily upgrade to 16). At install time...do I really need a swap partition at all? What purpose could a swap serve if I have that much ram in such a trimmed down environment?
View 6 Replies View Relatedswap space consumed is not released when there is enough main memory. pls advise how to release used swap space.
View 6 Replies View RelatedHow to add swap space?
View 5 Replies View RelatedI'm running Debian testing/unstable, with my swap on an lvm volume. When I boot into the system, the swap doesn't become activated, even though there are messages that point to the contrary (for instance: "activating swap file...done"). After it's done booting, I run the command "free" and it shows that there is no space allocated to swap. "swapon -a" doesn't load the swap file either -- I have to do "swapon /dev/mapper/xxx-xxx". The swap appears in fstab, and also in /etc/initramfs-tools/conf.d/resume.
View 6 Replies View RelatedWorking with a scientific code that uses more RAM+swap then i generally have (system has 12GB RAM + 24GB swap, but this thing is crazy)It's kind of a one use problem, so I'm not looking to get more RAM, is there a quick way to add more swap space (not on the swap partition, because i have that set at 24GB) so that my system can use it immediately?I don't want to drive up to the office tonight to get this fixed, so a command line setup would work best.
View 7 Replies View RelatedI was fortunate enough to acquire some old 2u server hardware (from 2005) on which I wanted to learn how to use Ubuntu. Ubuntu fails to mount any partition, in fact gparted cannot detect anything. The installer detects the scsi hdds but then fails when it tries to actually make a partition. I've searched this forum, linuxquestions and google. Nothing relevant was found and the solutions involving probing with commands within linux were irrelevant since zero partitions show.
I've tried Ubuntu 10.4, but settled on trying to install 8.10 since it seems to boot up faster and at least detects the physical hard drives quicker. Also tried windows xp and that says "no hard disk detected". I would've tried windows 7 but the server doesn't have a dvd drive.
I am currently running 32 bit ubuntu in my PC with 2.5 GB RAM, Intel Pentium Dual Core inside. I am coming to debian soon. I will be installing 64 bit squeeze. Now I have 3 GB of swap space. I do satellite image processing. Therefore what is the recommended swap space for me with the kind of work I do. RAM is in very small amount but as of now I have to stay with it.
Also I am interested to know would KDE be an overkill for my machine. Will I run short of memory when I start image processing?
How can I figure out which programs are using up swap space? My current memory usage is 2.9GiB out of 3.0GiB used(and I though I had 4GB, I need to check into that) and 1.3Gib of swap used.
View 1 Replies View RelatedWhen we want to setup a linux system, there is a common a suggestion like set the swap space as twice as big than your physical memory, I want to know why do we need this and how is this suggestion come from?
View 4 Replies View RelatedI have a linux server top reports about 9GB of swap used:But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as shown in the above image, taking a brief sum of the SWAP column shows that > 10GB of swap is used, so where does the 9GB figure for swap usage come from? Top reports that about 96492kb of ram is used by buffers. Is there anything I can do to utilize this, instead of using swap?
View 1 Replies View RelatedFor some reason, if I leave my Linux box running for several days, the swap space and RAM slowly fill up until my system is so slow that it takes around 15 seconds just to open a new tab if Firefox (Iceweasel, specifically). I have 512GB RAM and almost a gig of swap; how on earth does it fill up so much? Even if I close all my programs, there's still over 600MB swap used and all RAM is full. I've included a screenshot of 'top' running just about two minutes after I closed all my running programs.
(Before I closed it, I had only 71MB swap free.) I know that Linux is supposed to make good usage of RAM, but isn't this over the top? Is there a way to force it to use only required memory with no or little extras kept in RAM? Just thought I'd add in the fact that I'm running Xfce as opposed to KDE or GNOME in an attempt to have a smoother running system on my old hardware. Also, what's the "VIRT" column?
if I dont use the oracle script written below, then system start fine, but if I use the following script, then system hangs up at startup at message 'Enabling swap space'. I am using Redhat ES 4, with Oracle 10g R2.
vi /etc/init.d/oracle
#!/bin/bash
#
# Run-level Startup script for the Oracle Instance and Listener
[code].....