Slackware :: Swap Partition Size For Hibernation?

Sep 26, 2010

Currently running Slackware64 13.1 on a notebook and for the most part everything works fine. Only problem I am running into is with hibernation, where sometimes it will go into hibernation without a hitch and sometimes it will stall after blanking the screen and never turning off. For the most part pm-suspend.log looks fine every time, whether it goes into hibernation or not. My current system has 12GB of RAM and my swap partition is roughly 12GB. For the most part my RAM usage right before going into hibernation is always under 1.5GB with maybe 600MB floating in the swap partition. Could the size of my swap partition be too small even if RAM usage is nowhere near max?

View 9 Replies


ADVERTISEMENT

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 :: Assigning Swap Partition To Enable Hibernation?

Dec 22, 2010

i want to create/assign a swap partition so i can hibernate by comp. i've tried the ubuntu guide on creating a swap file but it didnt work, i created a linux-swap partition and used the mkswap command but that didnt work either (maybe it did but i cant hibernate anyway?!) right now my partitions look like this:

/dev/sda1 extended
/dev/sda5 linux-swap
/dev/sda3 ntfs (windows partition)
/dev/sda4 ext4 (ubuntu partition)

View 2 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

General :: Increasing The Swap Partition Size?

Jun 21, 2010

ecently I tried to increase the size of my swap partition using GParted, but it wouldn't let me. I wondering if there was another way? Currently it's 795 MB but I want it to be 1GB

View 3 Replies View Related

OpenSUSE Install :: Swap / Root / Home Partition Size

Jan 13, 2010

want to install 11.2 version. my machine config is as belows. pentium 4 with 1.8 gz, 512 ram and 15 gb hard disk. i want to know what should be the partition size specially for swap, root ,home etc.and what version i.e genome or kde should i install.

View 1 Replies View Related

Ubuntu :: Incorrect Swap Partition Size In System Monitor?

Jun 13, 2010

I am using Kubuntu Amd64 Lucid on my desktop and I have allocated 08.03 GB partition for swap. But today I have noticed that system monitor is showing this as 09.90GB which is incorrect.

I tried deactivating the swap from KDE Partition manager. Even after deactivating swap it still shows the swap as 1.9 GB. So there is clearly 1.9 GB swap added to my system. I am not sure how. Attached screen shot clearly shows the system monitor issue. One possibility is, I have 4 GB (3.7 asper system) RAM comprising two units of 2 GB cards. Is this 1.9 GB read from one of these? I tried to boot the system from Kubuntu AMD64 live CD and then it showed only 8 GB as expected. So not sure whats causing this issue in my installation.

View 2 Replies View Related

Slackware :: How To Re-size Slackware Partition Without Deleting It And Starting

Jan 16, 2011

How do i re size my Slackware partition without deleting it and starting over, I'm new to Slackware and the work i have done i don't feel like doing again.I have set my swap and my actual HDD partition for Slackware to +8048M, I am correct in saying that fdisk can only delete and start fresh, I was a Ubuntu/Fedora user if i could get something like Gparted up that would be great but i don't mind some reading and learning some more terminal based stuff.Planning on working out the kinks and dealing with the learning curve, Love to learn.

View 12 Replies View Related

Debian :: Hibernation With Two Swap Partitions In Squeeze?

Jul 27, 2010

I have two disks, sda and sdb. Each has a partition that is part of a mdraid array for /. Each one also has a swap partition, and both are used by linux. I've heard that hibernation won't work with two swap partitions. Is there any workaround, other than only using one swap partition?

View 4 Replies View Related

Slackware :: Swap Partition Not Working - Shown Empty

Feb 5, 2011

The swap partition says that it is empty. When I installed Slackware I'm sure that I pointed to the right place for the swap. Or does it not show any size because none of it is being used?
fdisk -l

Code:
root@Jacob:~# fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00051094

Device Boot Start End Blocks Id System
/dev/sda1 1 122 979933+ 82 Linux swap
/dev/sda2 * 123 2554 19535040 83 Linux
/dev/sda3 2555 91201 712057027+ 83 Linux
free -m

Code:
root@Jacob:~# free -m
total used free shared buffers cached
Mem: 3286 1303 1982 0 365 517
-/+ buffers/cache: 421 2864
Swap: 0 0 0

View 5 Replies View Related

Slackware :: Resizing Ext4 Partition Size With Fdisk?

Oct 8, 2010

Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?

Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp

View 14 Replies View Related

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

Slackware :: Does Slackware Even Have Hibernation Feature?

Jan 25, 2010

I just installed Slackware 13.0 on Thinkpad X30. It works fine, but I noticed the display went black out after I left it for 30 mins or so. It happened twice, once today and once yesterday. Once it blacks out, it won't come back no matter what I do(I tried ctrl-alt-Del, ctrl-alt-BS, pressing Fn key, etc. etc. No response). I don't have a network setup to telnet to the machine, and no way to know the process status.

Since it works fine and suddenly goes black after leaving it unattended for a while, I'd suspect it went into hibernation and somehow couldn't come back, so that I'd like to try to disable hibernation feature to see how it goes. How can i do that ? Or Does Slackware even have hibernation feature ?

View 6 Replies View Related

Hardware :: Partition Size Detected By Testdisk Bigger Than Disk Size

Mar 17, 2011

a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.

I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?

View 2 Replies View Related

CentOS 5 :: Can't Increase Swap Size

Nov 24, 2009

I am trying to increase my swap size because it seems to be getting full and making my server lock up.

I've tried this: [URL]

But all I get is this:

# lvm lvresize /dev/VolGroup00/LogVol01 -L +8000mb
Extending logical volume LogVol01 to 9.75 GB
Insufficient free space: 250 extents needed, but only 0 available
vgdisplay gives me:

[Code]....

View 7 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

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

Ubuntu :: Inconsistent Reported Swap Size?

Jan 28, 2010

When I setup Intrepid (upgraded to Jaunty now), I chose to create a swap partition. I don't remember the size I specified. Here's what I'm confused about When I do 'cat /proc/meminfo' or 'free' or use the system monitor, it reports my swap size as 1262304 KB (i.e. 1.2GB). But if I do a 'fdisk -l', the partition size is reported as 746991 blocks (of 1024 bytes) and if I use the partition editor it says it's 729.48MB. XP disk mgmt shows it as app. 700MB too

View 9 Replies View Related

Ubuntu :: Any Possibility To Increase Swap Size?

Aug 8, 2010

I am very much new user of ubuntu and hardly know anything about linux. What is swap memory? I have dual boot system with windows7 and ubuntu 9.04. My hard disk size is 320GB and RAM is 4GB. Currently swap memory size is 4.3GB. Can I increase swap size? Will it have any advantage? How to do that?

View 2 Replies View Related

Ubuntu :: Increase Swap Space Size?

Oct 7, 2010

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 Related

Ubuntu :: Swap File Size Limit?

Oct 20, 2010

a possibly preposterous question. I am aware that you can designate a swap file or swap partition on your hard drive that linux uses as "memory". Suggested sizes for the swap file that I've seen range up to about 1024MB. Is there a limit to the swap file size that you can set?Basically I am running a perl script that processes a massive B) file (DNA sequence data), etc, and requires around 48 GB of memory to run, maybe a bit less. So, would it be possible to set a swap file to a massive, ridiculous size (~60GB oratever) and successfully run such a script on a desktop?Yes, I am aware that it would massively ow down the process. The thing is, if the perl script normally completes in about half an hour, and I can get it working on a desktop, I don't mind if it takes days or weeks to complete. I really don't. That's because it takes days or weeks to get access to a computer with the required grunt to do it.So, is this a stupid idea? Is it even possible? If so, given a perl script that normally completes in a half hour on a 48G system, if you do this, would it take days? weeks? decades

View 7 Replies View Related

Ubuntu :: 10.10 Maverick - Default Swap Size?

Dec 26, 2010

I recently upgraded my laptop from 10.04, to 10.10. -- And in so doing reinstalled the OS from scratch, and letting the system pick the partition sizes.

Code:
My system:
2GB RAM
160 GB HDD
HP 6910p

Here's the question: The Installer set aside 6GB as Swap space, leaving 154GB as a / partition for everything. I had always thought 2GB was plenty, or as a general rule twice the Physical Memory size, which would only be 4GB swap, not 6.

Can / should I reclaim some of that swap space, if so how much. -- I can using tools like GParted to resize the partitions. -- Or just leave it as is. Unfortunately, the Ubuntu 10.10 installed did not seem to use GParted, so it was a little harder to set up initially.

View 1 Replies View Related

General :: Big Or Small Swap File Size?

Jan 14, 2010

Should the swap file be as large as possible or as small as possible providing a person has 8GB of installed ram.

View 14 Replies View Related

General :: Make My Swap Size Larger?

Jun 6, 2010

I just installed Lubuntu 10.04 on old PC (CPU: 700 Mhz, RAM: 640 MB). My swap partition is only 474 MB. I was told it should be twice my RAM, if that's true then I'm really low on swap space. Can I expand my swap space? I also have Fedora 13 installed, it has a 1.3 GB swap partition, can I have Lubuntu use this partition?

View 5 Replies View Related

CentOS 5 :: Increase Swap Lvm Size Online?

Oct 5, 2010

Need to increase swap size, currently on LVM2, does we can extended the lvm swap presented or need to create a new one. Which one is recomnded new lvm for swap or extend the lvm already exist ? Below are the swap exists in my server./dev/MU_PROJ/lv_SWAP swap swap pri=42 0 0

View 9 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

Debian :: Reduce Swap Size On Encrypted Drive?

Apr 30, 2016

I installed Debian 8 Jessie with full disk encryption and chose to have everything on the same partition. After install, I notice that my 8GB laptop has a 16GB swap. Is there a way to reduce the swap to 8GB (or maybe 4) whilst not affecting the encryption?

I have a 1TB HDD so space is not an issue but I dislike such waste. The setup used LVM.

View 2 Replies View Related

Fedora :: Reduce Size Of Swap To Free Up Some Space

Aug 21, 2010

My laptop has 2Gb of ram, 4Gb of swap, 40Gb hdd and an intel pentium 1.40GHz cpu, even when compiling stuff or maxing out everything the 4Gb of swap is never touched, with such a small hdd I'd like to reduce the swap to about 2Gb (just in case) to free up some space, does anyone know what commands/tools are available to accomplish this?

View 3 Replies View Related

Fedora :: Change Size Of Boot And Swap Without Doing A Fresh Install?

May 11, 2011

I know its a long shot, but still...
Is it possible to change size of boot and swap without doing a fresh install?

this is how my volume dist is like - root -30 gb, boot 200 mb, swap 8gb, home - 110 gb

my laptop is an amd turion dual core TL-58, with 2 gb ram and 160 gb hard disk...

and i want to change it to what is generally recommended ie boot to 500mb or 1 gb and swap to 4 gb..
the remaining can be added to home...

View 6 Replies View Related







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