Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-28-2008, 09:31 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
Unhappy re-sizing existing partition on RHEL 4


We are trying to install oracle in /usr partition but we need to re-size it to add more space from log partition.
We need help on how to achieve this task

This is a copy of df ľk:

Filesystem 1K-blocks Used Available Use% Mounted on
5160576 2202436 2695996 45% /
/dev/cciss/c0d0p1 248895 40552 195493 18% /boot
none 8218716 0 8218716 0% /dev/shm
5160576 43112 4855320 1% /home
2064208 35916 1923436 2% /tmp
5160576 2706644 2191788 56% /usr
4128448 230672 3688064 6% /var
70526384 85828 66857992 1% /logs
141052792 93740 133793920 1% /data

Thanks For the help
Old 10-29-2008, 03:28 AM   #2
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
I'm sure you will find a good walkthrough on the net somewhere, but this is basically what you need to to:
  1. Unmount /logs
  2. Run disk check
  3. Reduce file system on /logs (resize2fs)
  4. Reduce logical partition (lvreduce)
  5. Increase /usr partition size (lvextend)
  6. Increase /usr file system size (resize2fs)
  7. Mount /logs

Hope this helps. I must warn that I haven't done this myself, but I'm pretty sure this is what needs to be done.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
re-sizing the Windows XP main C partition james2b Linux - Newbie 3 03-27-2008 12:20 AM
Re-sizing a partition.. ranjitcool Linux - Software 4 12-23-2006 07:11 PM
After re-sizing partition KDE still reports old size? -=Graz=- Slackware 9 04-18-2006 07:11 AM
Will RHEL 4 beta 2 destroy an existing XP partition? latino Linux - Distributions 2 12-03-2004 11:01 PM
Partition sizing dummy Linux - Newbie 4 11-04-2002 09:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration