General :: Resizing Swap Partition (RHEL 5.x)

Jun 8, 2011

The following is what parted print outputs:

(parted) print

Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

[Code].....

I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?

View 2 Replies


ADVERTISEMENT

Fedora :: Resizing (2GB) Swap Partition LVM?

Nov 20, 2009

I have a small disk and I want to resize to 2 gb the swap partition, how I can do?

[root@server12 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_root
VG Name vg_fedora11
LV UUID Zwl9te-GQ1j-5Py3-Jiz0-JFAY-sy7n-iaV2TP
LV Write Access read/write
LV Status available
# open 1
LV Size 52.32 GB
Current LE 13393
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/vg_fedora11/lv_swap
VG Name vg_fedora11
LV UUID k61vCI-YAdI-XgNX-xRaG-B7jY-CTMQ-LKOjwk
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

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

General :: Resizing Partition Using Parted

Sep 14, 2010

I have slackware 13.1 installed on my desktop and I have all my hard drive dedicated to it. But now Im thinking about resizing my hard drive so that I can install windows so my brother can play games on it ( probly giving 50 Gigs to windows )I heard that parted ( located on slackware cd 1 ) is what I should use. So I was wondering if I need to backup any important files before doing the resizing? I would also appreciate it if someone could link an good tutorial for doing partition resizing .

View 2 Replies View Related

General :: Can't Boot After Resizing Partition With Gparted

Nov 11, 2010

First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.

I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.

View 5 Replies View Related

General :: Shrinking / Resizing Partition Using Commands

Dec 1, 2010

I am a new user of Linux, and I actually had a task that is the ability to resize (specifically Shrink) storage of Virtual Machine, I was thinking that the best to start on is to know how to resize partition in linux using command line since our VM runs in Linux environment.

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

General :: Resizing 9.04 Partition / Making Space So Can Upgrade To 9.10

Feb 20, 2010

I have 10 GB drive with win98SE taking 2 GB and 9.04 taking 2.3 GB, then the rest is unallocated space. I am trying to use upgrade manager in 9.04 to upgrade to 9.10 (I have 9.10 CD but it fails to install - tried to download it several times. I know upgrade manager solution works in principle, but upgrading to 9.10 says it needs another 1GB of space.

I have used 9.04 live disc to start GParted but there seems no way to resize the 9.04 partition to use the unallocated space - can only resize it down. Making the unallocated space a partition does not seem to help. How can I go from here to make enough space to upgrade to 9.10 and keep Win 98

View 6 Replies View Related

General :: Correct Partition Size Not Reported After Resizing With Gparted?

Jan 11, 2010

I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing.

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

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

Red Hat / Fedora :: Resizing Partitons In RHEL 5 - Error: File System Has An Incompatible Feature Enabled

Sep 14, 2009

I have Red Hat Enterprise 5 and am trying to resize a partition. I am using the resize command within "parted" and am getting the following error - Error: File system has an incompatible feature enabled.

View 3 Replies View Related

General :: Swap - Making A New Partition

Mar 20, 2010

My drive is a 160GB and currently having 2 partitions:swap (taking about 2 GB)
linux (taking about 155GB)

Here's the fdisk -l

Quote:

I'd like to do the following:Increase the swap partition to 5GB Reduce the Linux system partition by 25GB and give this 25GB to a new partition, which I'd like to use for my Data - this should be accessible by both Linux & Windows

View 9 Replies View Related

General :: Where To Put My Swap Partition / Primary - Lvm?

Jan 11, 2011

I'm installing the ubuntu on my new computer with 1 TB hard drive (and core i7 870 with 4G RAM), for the purpose of scientific computing. I have two questions:

1. Since I am not absolutely certain that the simulation won't use larger swap space than usual (say 3x4G = 12G), I intend to set it initially as 12G keeping in mind that I might have to extend it later. So one might suggest putting it on lvm partition. But then I read that I can maximize the speed if I put the swap at the outer track. If I mix it with the other logical volumes in the same volume group, then I don't know where my swap space is across my hard drive, isn't it? So this might suggest I make it as a primary partition. I'm stuck..

2. My current planned partition map is
/ 1G
/tmp 10G
/usr 20G
/var 5G
/home the rest

taking into account I will install MATLAB and maybe other visualization software. What do you think of this scheme?

View 8 Replies View Related

General :: Create Swap Partition

Aug 19, 2010

as per the output, there is no swap partition in my system..i am lack of analysing the output above. please describe me about buffers,cached fields and "-/+buffers/cache" row.and do i need to create swap partition or not?if yes, how?

View 6 Replies View Related

General :: Make Swap Partition?

Aug 4, 2010

during my fedora 12 installation, i made a swap partition by the wrong denotion "/swap".so when i had used the command "df -h",it showed the /swap entry in the list.so i deleted that particular partition using the "parted" utility. Now my doubt is, 1.where is that partition?(whether it has joined with other partition or still alive) 2.if it alives,is it possible to make it as a swap partition?

View 3 Replies View Related

General :: Mount A Swap Partition On Boot And Use It?

Aug 15, 2010

all when installing my linux i dind't create a swap partition.now i'd like to use one.so i've create a swap partition.So how to mount it and let the system use it.

View 2 Replies View Related

General :: Files Recovery Swap Partition?

May 18, 2011

I installed Ubuntu 10.10 on my PC. During the installation process i selected a partion on my hdd for swap , there i had some important files can i rocover it some how

View 1 Replies View Related

General :: How To Reinstall Deleted Swap Partition

Jul 4, 2010

I had to delete my swap partition in order to reinstall win XP, but now I need to reinstall it. I run Ubuntu 10.04 and read that there is a command $ sudo mkswap /dev/sda1. I have about 19 GB of free unpartitioned space left on the hardrive that I want to make into a swap partition. I'm not sure whether I should use sda1 or if the book uses it as an example and if I use it it could wipe away my existing partition with ubuntu installed on it.

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

General :: Make Swap Partition In Rhce5?

Jan 21, 2011

how to make swap partition in rhce5. mention command step by step and how to change ext3 format to ext2.

View 1 Replies View Related

General :: Swap Partition UUID Changed - What To Do

Jun 5, 2010

Someone (not me) recently installed some new distros on my HD. It seems that during the installation my swap partition was reformatted and a new UUID was assigned to it. I have the following questions:

1. I know that I have to change the swap partition UUID in /etc/fstab and /boot/grub/menu.lst of the affected distros. Is there anything else that needs to be changed?
2. I presume a similar change has to be made to the Grub 2 configuration, for those distros that use Grub 2. I have no experience using Grub 2 so how do I make the change or where can I find instructions to do it?

View 13 Replies View Related

General :: Swap Partition To The Back Of The Disk By Default?

Sep 8, 2011

As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?

View 1 Replies View Related

General :: Creation Of Swap Partition During Ubuntu 9.10 Installation

Mar 26, 2010

When I do a "clean" install of Ubuntu 9.10, Step 5 of 7 is when you choose how to partition your hard drive. My Acer Aspire Desktop has 8GB of RAM and a single 160GB SATA hard drive. If I choose to let Ubuntu do the partitioning, only three partitions are created and one of them IS a Swap partition. However, if I choose the second option to manually create my own partition tables, there is NO Swap option listed in the drop-down list of partitions to create!! Why in the world not, considering the importance of this partition and the fact that the first option DOES automatically create it? A second related (I think) is about the Live System Rescue CD and GParted 4.9. When do you use either of these utilities? After all, GParted is included System Rescue CD.

So, if I want and choose to do a manual/advanced partitioning of my hdd, the only time I can see using either utility is after the complete installation of the Ubuntu distro. Yet, choosing to manually partition my hard drive always results in an error or warning message that I haven't created a Swap partition before proceeding to Step 6 of the installation. Well, of course not since the choice isn't even possible. Good grief, what am I supposed to do when I arrive at the step where I am supposed to choose and then create the partitions for my hdd? Choose the first option, which I don't think is wise/good at all, especially with security in mind. Or choose the second option of using a program like GParted at all? It is hard enough for me to choose a partitioning scheme at all, since opinions on how many partitions are needed and what sizes they should be.

View 2 Replies View Related

General :: Swap Partition Error When Installing Ubuntu

Mar 17, 2010

There is a Swap Partition Error when I am installing ubuntu. I have two options now.
(1) Tried GParted... it cannot recognize my HDD )
(2) Change to another distro. I am looking at Ubuntu, Fedora, Mint and Mandiva now. Which one do you suggest?

View 13 Replies View Related

General :: Ubuntu 64 And Backtrack Won't Share A Swap Partition / Fix It?

Nov 4, 2010

I'm triple booting Windows 7 32-bit (that's the only version I had), Ubuntu 10.10 64-bit, and Backtrack 4 R1.

Windows 7 installed and runs fine. Ubuntu installed and runs fine. I try to install Backtrack 4 R1, create a / partition, create a /boot partition (do I need to create a /boot for Backtrack?), and I don't create a swap file because the Ubuntu swap file is already in there.

I click "forward", the install starts up, then I get "The attempt to mount a file system with type swap...yadda yadda yadda...has failed." I google this, I get some results talking about an mkswap command, but in my noobness, I don't understand.

Can Ubuntu 64 bit and Backtrack not share a swap file? I don't want to create 2 swap files because I've googled around and that looks like a bad thing to do.

View 4 Replies View Related

General :: Swap Partition Requirement For Operating System Setup?

Apr 10, 2011

why is a swap partition a requirement for a linux setup? What arguments would you use to decide on the size of the partition?

View 3 Replies View Related

General :: Resizing Ubuntu Root Partition Installed In "Install Inside Win" Mode

Jul 5, 2010

I've installed Ubuntu 10.04 Desktop i386 using "Install inside Windows" option. In the installation i dedicated 3GB for the root parition. Now i have a Windows 7 and a Ubuntu.

Currently, I need more space for the Ubuntu root parition (just 50MB freespace remained!). I realized the it is a simple 3GB file in the Windows and root parition is virtually in that file.

So it should be possible to increase the size of the root parition. But i cannot find any way for this.

I do not want to reinstall the my Ubuntu or add another partition. Is there any painless way to just increase the size of root parition?

View 1 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Red Hat :: Cannot Extend PV (LVM) After Resizing Partition

Dec 16, 2010

I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.

I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc

Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.

View 5 Replies View Related







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