Partition advice | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Partition advice

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-10-2013
mcclunyboy mcclunyboy is offline
Registered User
 
Join Date: Aug 2010
Last Activity: 29 November 2013, 10:38 AM EST
Posts: 90
Thanks: 16
Thanked 1 Time in 1 Post
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.
Sponsored Links
    #2  
Old 07-10-2013
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 28 August 2014, 10:17 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,227
Thanks: 121
Thanked 451 Times in 411 Posts
  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.
Sponsored Links
    #3  
Old 07-10-2013
mcclunyboy mcclunyboy is offline
Registered User
 
Join Date: Aug 2010
Last Activity: 29 November 2013, 10:38 AM EST
Posts: 90
Thanks: 16
Thanked 1 Time in 1 Post
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
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 28 August 2014, 10:17 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,227
Thanks: 121
Thanked 451 Times in 411 Posts
When swap is not used on that box, you could turn it off with swapoff to make sure before resizing.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Partition overlaps another partition while creating new parition in solaris nikhil kasar Solaris 2 07-20-2012 05:26 AM
rsync from partition to partition fastest jaysunn Shell Programming and Scripting 6 11-27-2010 12:29 PM
Need advice on soft partition gowthamakanthan Solaris 7 03-06-2010 09:02 PM
I've created a partition with GNU Parted, how do I mount the partition? jtp51 UNIX for Dummies Questions & Answers 1 09-18-2006 11:01 AM
understanding logical partition, physical partition yls177 UNIX for Dummies Questions & Answers 3 11-15-2002 09:49 AM



All times are GMT -4. The time now is 07:23 PM.