1

Topic: need help for newbe

hi,
  i was able to download and use GPartedlive 9.1.1, am planning to increase my swap partition in linux redhat 5.5 but it was not successful it will limit only 4GB how can i increase it 6GB. my current swap size is 4GB, based on my testing i can change it lower values but i want to increase it, and the system wont allow me to do it.

thanks,
marben

2

Re: need help for newbe

It isn't often needed to resize a swap partition, because it is easy to just delete and recreate it (there is no really content to save).

To be able to grow the partition, be sure that you have free disk space just before or after the partition. Furthermore, be sure that free and existing partition are both out or in any extended partition. You can't allocate space from within the extended partition to a primary partition. In this case, you have to shrink the extended partition to have the free space out of it.
If this is not the case, please try to read the GParted detail file. It keeps information about operations. You can post the content here.
The detail file (in html format) is located in RAM and disappears with the computer powerdown or reboot. To save it, you have to copy it usually to a removable medium (floppy disk, usb stick). You can find how to save details, in the GParted Documentation page (look for "Save gparted_details.htm file".


(Thread moved to the Live Media section)

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3

Re: need help for newbe

thanks for the info. ill try this and give feedback after. smile

class413 wrote:

It isn't often needed to resize a swap partition, because it is easy to just delete and recreate it (there is no really content to save).

To be able to grow the partition, be sure that you have free disk space just before or after the partition. Furthermore, be sure that free and existing partition are both out or in any extended partition. You can't allocate space from within the extended partition to a primary partition. In this case, you have to shrink the extended partition to have the free space out of it.
If this is not the case, please try to read the GParted detail file. It keeps information about operations. You can post the content here.
The detail file (in html format) is located in RAM and disappears with the computer powerdown or reboot. To save it, you have to copy it usually to a removable medium (floppy disk, usb stick). You can find how to save details, in the GParted Documentation page (look for "Save gparted_details.htm file".


(Thread moved to the Live Media section)

4

Re: need help for newbe

thanks a lot for the info we were successful in increasing the swap partition. i have one concern is there a possibility of data loss if we are going the shrink the primary/extended partition?

5

Re: need help for newbe

Any operation concerning the partition table and file systems, with any software, is potentially dangerous for the data integrity.
There are many reasons for this: software bugs, power problems, hardware failure (i.e. hard drive, controller, motherboard... ), even defective connection cables can influence the process. Breaking a partition resize operation can be fatal for the file system. That means that perhaps the data are present on the hard drive, but the file system structure is broken, so that the operating system can't access them.
That's why we recommend to keep a good backup before proceeding. Professionals take usually double backup (this is rather obvious to them). In most of the cases, there is no problem. If something goes bad, it is possible to restore the drive content. We know that this is sometimes long (especially for external/usb drives), but partitioning isn't an everyday's task.

*** It is highly recommended to backup any important files before doing resize/move operations. ***