Partition advice


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Partition advice
# 1  
Old 07-10-2013
Partition advice

Hi,

I have a number of RHEL servers, they are all identical in build and all are encountering disk space issues very frequently. I am hoping you can help me answer a few questions:

1. The servers have 40GB (:O) SWAP Space, I am hoping to reduce this to 10GB at most and then re-use the other 30GB. What is the best way to do this?

2. After doing the above, do I HAVE to create a new partition, or can I extend the existing partitions (I know I can use parted to do this but does it only work for the final partition)?

3. As the servers are virtual I can allocate more disk, I assume this is closely related to question 2- if I can use this to extend existing partitions I will, otherwise I will need to create extra partitions?

I have read quite a few articles around this, mainly from the RHEL knowledge-base and as I have never done this sort of thing before I was hoping for some advice/clarification.

Thanks.
# 2  
Old 07-10-2013
  1. You can reduce the swap space. 40 GB is really far too much and even 10 GB sounds too much. Basically you don't want to have your servers swap at all because this will most probably make them somewhat slow.
    Check out: https://access.redhat.com/site/docum...-reducing-lvm2
  2. See 1.
  3. See 1.
# 3  
Old 07-10-2013
OK, thanks I will maintain a little for the sake of it - I doubt it is used to be used. I will reduce it by 35GB, I already had that article open.

Once the disk space is free'd up, is it it possible to resize any parition: I have been reading this article: https://access.redhat.com/site/docum...size-part.html
# 4  
Old 07-10-2013
When swap is not used on that box, you could turn it off with swapoff to make sure before resizing.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

2. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

3. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. Shell Programming and Scripting

Need Advice

Guys, Can you tell me what value would additional knowledge of PERL and CGI scripting will add to my skill set of UNIX shell scripting and ORACLE PL/SQL? I understand that PERL is a good tool for text processing. (1 Reply)
Discussion started by: yabhi_22
1 Replies

5. Shell Programming and Scripting

rsync from partition to partition fastest

Gentleman, Please move if I have chose the incorrect forum section. I am trying to move data that is not backed up from partition 1 to partition 2 on a SAN that has a GFS2 filesystem. Since the data is not backed up I am rsyncing this data and once verified I will delete from the source... (6 Replies)
Discussion started by: jaysunn
6 Replies

6. Solaris

Need advice on soft partition

Hello All, Am trying to expand the soft partition which is in mirror. Am getting following error. Whether is it possible? or i am doing wrongly. Please assist. bash-2.05# metastat d100 d100: Mirror Submirror 0: d102 State: Okay Submirror 1: d105 State: Okay ... (7 Replies)
Discussion started by: gowthamakanthan
7 Replies

7. Shell Programming and Scripting

looking for advice...

Hi. First of all, Im an msoft guy, and when it comes to linux/unix, I'm retarded. Here is what I'm trying to do. I want to start I want to automatically connect to a remote server. Then I need it to login(https) -insert the licensce in the box(vi) -based on that licensce, the... (1 Reply)
Discussion started by: bravo24601
1 Replies

8. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

9. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

10. UNIX Desktop Questions & Answers

Looking for some advice

I am looking for some advice on wether to use unix or red hat linux? I have played with most windows OS and Mac OS up to in and including OS X. any and all advice would be appreciated (4 Replies)
Discussion started by: justawind
4 Replies
Login or Register to Ask a Question