Ubuntu :: Swap Partition - Never Uses More Than About 20-25% Of The Total RAM Even If Have Several Applications Running

Jul 7, 2011

I am running Ubuntu 11.04 on a computer with 2GB RAM. It seems that it never uses more than about 20-25% of the total RAM even if I have several applications running.

The question is - do I really need to have a swap partition if it is not being used?

View 5 Replies


ADVERTISEMENT

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

General :: "No Swap Space, Check If Decopserver Is Running" Presume An Increase In Hidden Partition Required?

Jan 25, 2011

How do I solve the problem of "No swap space, check if decopserver is running" Presume an increase in hidden partition required, my guess. Am using the original Xandros OS.

View 2 Replies View Related

Ubuntu :: Keep Running Total Of Data Up/downloaded?

Apr 1, 2010

Sometimes I connect to the internet via a "wired" connection (interface usb0), sometimes via a dial-up connection (ppp0).

Stupid annoying arbitrary data transfer limits imposed by ISP make me want to keep a running total of data uploaded and downloaded, so I can keep an eye on this and hopefully avoid using up my allowance. program that will keep this running total for me, across all interfaces? Or maybe someone has a script that can do this?

View 2 Replies View Related

Ubuntu :: Delete Snow Leopard Partition - Format Swap Disk Partition To Something Else

Feb 23, 2011

I had a drive with a partition layout like so:

~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat

I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.

View 9 Replies View Related

Ubuntu Servers :: Partition Ends At Total Number Of Cylinders + 1?

Jul 28, 2011

I made a fresh ubuntu server installation with two of the same hard disk drives in RAID1 mode.When the installation finished, I had some errors in random times rendering the system unresponsibleCode:end_request: I/O error, dev sda, sector <Number>From the above error, it looks like there was a problem with disk sda so I decided to change it with another same disk and rebuild the RAID1.

When I put the new hard disk on it, created a raid partition of the maximum allowed size and tried to add it to the raid array (after having removed the previous disk) I got an error saying that the new partition is not large enough to join this existing RAID1 array!Then an "fdisk -l" command shown something weird...The existing working hard disk in the RAID shows that it has 38913 cylinders but the partition starts at 1 and ends at 38913+1=38914!!How is this possible? When I create a partition myself I am not allowed to put numbers larger than the total number of cylinders!

Code:
# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes

[code]....

View 2 Replies View Related

Hardware :: Invalid Partition Table For Swap Partition That Moved With Gparted?

Feb 8, 2010

I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.

I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?

View 14 Replies View Related

Debian Installation :: Wiped Windows Partition With Swap And LVM Partition

Jan 17, 2015

I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:

/dev/sda (Samsung Evo 840)

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm

[code]....

The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:

mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi

After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.

When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal

Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.

I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.

View 5 Replies View Related

General :: Place Swap Partition On LVM Or On Standard Fdisk Partition

Aug 4, 2011

I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?

View 4 Replies View Related

Ubuntu :: Swap Partition Access / Cant See That Partition

May 21, 2011

I've recently just installed ubuntu 11.04 but seem to have made a big mistake. During the install process I was asked to specify a location to be used for swap. Not really understanding what this meant I chose another partition on my drive with some free space but also a lot of my data. Needless to say I now cant see that partition. Is there anyway for me to access it? or to at least recover the information I need from there? its about a 200gig partition, and it used to be ntfs.

View 2 Replies View Related

General :: Change The Swap Partition To Another Partition?

Aug 1, 2010

I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?

View 2 Replies View Related

General :: An Isolated System In Total Chroot Running Lighttpd, Mysql, Ssh - Get "Connection Refused"?

Aug 12, 2010

Basically they all cover running a 32bit app running on 64bit host and so on.I want to have an isolated system in total chroot (running lighttpd, mysql, ssh, etc from there).(For security reasons I have to isolate the dev from the live one.) So I installed the chroot environment, mounted all the neccessary things and chrooted in. Everything went fine. Edited /etc/ssh/sshd_config to use port 22222 instead of 22. Used service ssh start then. It says service running but if I try this: ssh -p 22222 localhost I get "Connection refused". The chrooted is system is very minimal so far so there is no firewall, hosts.allow/deny or anything.

ps.: The chroot environment will be a development area as I already mentioned. I thought chroot is the easiest way but if you say KVM is better or something I can go for it. The machine is easily capable of running even 10 VMs easily.

View 1 Replies View Related

Ubuntu :: No Swap Partition?

Feb 14, 2011

My motherboard supports up to 8GB DDR2. I currently have 4GB installed. If I maxed out my RAM, and installed 10.10 without a swap partition, I've heard this would increase speeds significantly. Would it? This particular rig runs multiple servers including an Asterisk PBX with FreePBX, XBMC, and Boxee. XBMC and Boxee do not run at the same time, only one at a time. Would it be safe to run with 8GB ram, and no swap partition? Running FreePBX/asterisk, XBMC, playing videos or ....., and every other background processes, free shows on average 50% free. Opinions?

View 3 Replies View Related

Ubuntu :: Swap Partition For New SSD?

Jun 17, 2011

I am getting a new SSD for my laptop and I have been researching the different tweaks for an SSD. I still have a question regarding the swap partition: is it better to not have one for an SSD? (I have 4GB of RAM...)

If I don't, how would I specify it during the installation process for 10.04?

View 7 Replies View Related

Applications :: Copy Of A Partition Using Dd Gets Bigger Than The Original Partition?

Aug 20, 2009

I'm a linux user for some time now and most stuff I can figure out myself. Though, this one drives me crazy and I did not find any information on the internet.I have a partition, say, Code: /dev/sda1 , which is 128MB big. When I copy it using Code: dd if=/dev/sda1 of=/home/me/backup_sda1.img , the resulting file is 134MB big. Now my problem is that I want to copy that partition as-is to a CF card, which does not work because the image is bigger than the partition on the CF card.Why does dd create bigger files? Shouldn't it be exactly same sized like the source?

View 7 Replies View Related

Ubuntu :: Swap Partition Will Go In Extended One?

Jan 25, 2010

Can Ubuntu swap partition go in an Extended partition (a logical partition within the extended) while Ubuntu is on a Primary partition?

View 9 Replies View Related

Ubuntu :: What's The Best Way To Remove Swap Partition

Feb 6, 2010

I want to remove my swap partition. Probably one I would have to boot into a rescue cd and remove it, but aside from that is there any other consideration or commands that I need to be aware of?

View 3 Replies View Related

Ubuntu Servers :: The Swap Partition Is Not Being Used

Apr 19, 2010

I recently installed Ubuntu Server, the 8.04LTS release, on my dad's computer which, for the time being, has to dual-act as both a server and a desktop. Will be running solely as a server pretty soon, though. Anyway - since I was down on the budget and the project I put up the server for is still in a development phase and not worth to invest serious money in (at this stage), it has to run on a computer with the following hardware configuration (I left out the non-important parts):

Code:
Intel Celeron 2.2 Ghz
~500 MB of DDR 333MHz RAM

It has 80 or so GBs of disk space, so I went for the low-mem, high-disk scenario and created a swap partition of 1,5 GB. However, I can notice that is rarely even used! I have set the vm.swappiness parameter to 95 but my swap partition is still not being used, even when the memory usage goes up to 90%. I saw it being used once, but only when the needed memory size exceeded 500.

Does anybody know how to force Ubuntu Server to use the swap partition?

View 2 Replies View Related

Ubuntu :: Encrypted Swap Partition?

Jul 1, 2010

I read an article earlier that suggested the swap partition is encrypted by default if you select an encrypted /home folder during installation, is that true (for Lucid)? I am suspecting it isn't because my hibernation works, which I believe shouldn't be the case?

View 3 Replies View Related

Ubuntu :: Swap Partition Is Always At 0 Bytes

Jan 8, 2011

How do fix my Swap Partition? Last night I added unused space to the main Ubuntu partition. Now I noticed the Swap Partition is always at 0 bytes. I'm using a Sony Laptop, and have enclosed two screenshots. One of the Disk Utility and a system monitor.

View 9 Replies View Related

Ubuntu :: Add A Swap Partition To Lubuntu?

Jan 19, 2011

I have a live/persistent installs of Lubuntu 10.04 on a USB-HDD. It's on a 320 GB portable drive. I've partitioned it so that 80 GB is for the Lubuntu live install and the remaining 240 GB is another partition dedicated to storing stuff. So this USB-HDD is doing double duty. The thing is, I was paying so much attention to making the persistent install work without making a mess of the boot loader (I did that in the past; twice!) that I had overlooked the fact my live install does not have a swap sartition on it. I just assumed (incorrectly) that the swap partition on would just be part and parcel of the installation. Can anyone tell me of a way to add a swap partition to each of my live installs? Without losing any data or anything like that. It's probably not doing any harm not having a swap partition, but I'm assuming that my live install would be that much more efficient with it.

View 7 Replies View Related

Ubuntu Servers :: Swap Partition Does Not Get Used

Feb 15, 2011

After unsuccessfully trying to install Oracle Express I find that for some reason the swap partition on my server disk does not get used.

My setup: 10.10 server x64 on an intel server with two 500gb HDs in a mirror array

This is puzzling, because I definitely created a swap partition for this system and indeed if I look at /etc/fstab I actually have two swap partitions, one on /dev/mapper/[some long raid name]_ar05 and one on /dev/mapper/cryptswap1, but AFAIK this is normal with 10.10.

"swapon -a" fails with this message:

Code:
swapon: /dev/mapper/[raid name]_ar05: read swap header failed: Invalid argument
swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory

there's always the option of using a file on the server's filesystem, but I want to see if this can be fixed. I only have remote access to server via SSH, which makes startup troubleshooting pretty impossible.

I have a local server at home also using 10.10 server 64-bit with an encrypted swap file running on a RAID array, but it does not have this problem.

View 1 Replies View Related

Ubuntu :: No Swap After Resizing Partition

Apr 1, 2011

I didn't like the fact that Ubuntu allocated like 5gigs of swap with its automatic partitioning / install. So I decided to shrink it with gparted now it doesn't show up when I boot I have to select swap on in gparted to use it.

View 1 Replies View Related

Ubuntu :: U11.04 Not Mounting My Swap Partition / Fix It?

May 11, 2011

Ubuntu has been complaining about swap not being ready during boot. The swap partition was showing up un-known in gparted. I booted off CD, reformatted it to swap. Error message gone but system monitor > resources shows my swap size to be 86GB (the exact size of my shared NTFS volume). gparted shows the swap partition as not 'swapped on'

I am running Ubuntu 11.04 along side Windows 7 (as well as my factory restore partition) and an NTFS shared partition.

My partition structure in order of location on disc. Screen shot below to help.
sda1-2 Windows 7
sda4, extended partition
--sda6 Ubuntu
--sda7 swap
--sda5 NTFS shared partition
sda3 Factory restore image

View 9 Replies View Related

Ubuntu :: Is Swap Partition Essential

Jun 11, 2011

If a computer has enough ram, say 2gb, is swap partition necessary? Will ubuntu run if swap partition is deleted?

View 9 Replies View Related

Ubuntu Installation :: Increases RAM Usage Till 90% Then SWAP 90% Even When No Application Is Running?

Mar 9, 2011

I was trying to have a go at installing MAC on my dell alongside Ub and W7. I copied the grub2 to the first part of my sda5 so as to put the mac loader in MBR.I have since repaired grub2 back to MBR.But now my beloved Ubuntu starts up then continuosly increases RAM usage till 90% then SWAP 90% even when no application is running!!

View 2 Replies View Related

Ubuntu :: Cannot Find Swap Partition After Hibernation

Feb 23, 2010

Since I tested with suspending/hibernating my laptop, the system seems to have lost the swap partition. That is to say: it cannot find it at boot anymore. Some message shows during boot like "waiting for device listed in fstab: swap" or something and then it continues toboot normally. When I start the systemmonitor it reports Swap usage 0 byte out of 0 byte.

I checked my devices with
Code:
blkid
in terminal and it lists one of the partitions with its UUID as TYPE="swap".

Then I opened fstab with
Code:
sudo mousepad /etc/fstab
and noticed the line for the swap partition was using a completely different UUID. After changing the UUID to the correct (new) one and reactivatin swap with
Code:
sudo swapon -a
in terminal, all was well again but...

How could the UUID suddenly have changed? Did that indeed have something to do with trying (and failing) Suspend and Hibernate ? If so, should I stay away from those features (that served me well under Windows) or is there something to be done about it?

View 4 Replies View Related

Ubuntu Installation :: Using FAT32 Partition As Swap?

Apr 5, 2010

I'm installing a new SSD this upcoming weekend. My thought was to go easy on it so it lasts longer by putting my swap files on a mechanical drive instead of the SSD. I don't - however - want to waste space for swap files. It would be nice if I could use the same 6GB FAT32 partition for swap files for both Windows 7 and Ubuntu. Is this possible? It might not even be necessary though, I have enough RAM that I rarely use the swap file at all (I've even considered going without swap all together), so it probably won't pose a huge load to the drive.

View 9 Replies View Related

Ubuntu :: Swap Partition, Always Listed As Unknown?

Apr 14, 2010

KDE partition manager reports /dev/sda3 is currently type "unknown".I have tried reformatting this partition as linux swap, it says successfully done, but both Kde partition manager and gparted still immedietly report this partition as "unknown" again.

View 9 Replies View Related

Ubuntu :: Changing The Size Of Swap Partition?

Apr 25, 2010

I set my swap partition a bit high and now want to shrink it down and possibly merge it with one of my other partitions. I don't have dual boot, just have a second partition on the drive for data. Can I merge these easily?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved