LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-17-2007, 10:00 AM   #1
dsrm
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Extend/Grow a partition


Hi everyone....

I'll get right to it.

I have some HP Proliant DL360 G4 servers that are running out of disk space. They currently have two 72 GB drives in a hardware RAID 1.

I am going to install 146 GB drives in these servers and use all of the extra space in the last partition/file system.

Currently, it looks something like this:

Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 32 sectors/track, 17433 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 25 101984 83 Linux
/dev/cciss/c0d0p2 26 2595 10485600 83 Linux
/dev/cciss/c0d0p3 2596 3109 2097120 82 Linux swap
/dev/cciss/c0d0p4 3110 17433 58441920 83 Linux

What I want to do is to leave everything the same except for the last partition, which will extend by the additional 70+ GB of the new disk.

This is a production server so I want to maintain the current data that is on all partitions of the server.

This is Red Hat AS 3.0
Kernel is 2.4
I am not using LVM.

I think the easy part is to replace one of my 72 GB disks with a 146 GB disk and let that sync/remirror. Once that's done, do the same thing with the other 72Gb disk.

Then my server has two 146GB disks, but with only 72GB of usable space.

It's after the easy part, where I get lost/nervous.

Any help would be greatly appreciated.

If this is the wrong forum, let me know where it would be better placed.
 
Old 10-17-2007, 11:22 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Without understanding the details 'parted' is powerful and friendly.
 
Old 10-17-2007, 11:45 AM   #3
dsrm
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lugoteehalt View Post
Without understanding the details 'parted' is powerful and friendly.
And where would I acquire "parted"??
 
Old 10-17-2007, 03:17 PM   #4
depper
LQ Newbie
 
Registered: Oct 2007
Location: Minneapolis
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
http://gparted.sourceforge.net/
 
Old 10-18-2007, 09:37 AM   #5
dsrm
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by depper View Post
Thanks.
gparted is actually what I ended up using last night and it worked great.
I just thought "parted" was another tool.

gparted is definitely friendly. It was very easy to use and I was able to complete my task rather simply.
 
Old 10-19-2007, 12:26 AM   #6
depper
LQ Newbie
 
Registered: Oct 2007
Location: Minneapolis
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
There is another tool called parted (http://www.gnu.org/software/parted/index.shtml), gparted just builds on it
 
  


Reply


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
Extend LVM partition rconan Linux - Software 5 08-31-2010 03:32 AM
how to extend partition? Sushy *BSD 2 01-25-2007 01:29 PM
Grow a ReiserFs partition bforbes Linux - Software 3 04-25-2006 10:26 AM
How do I extend an ext3 partition? chrislev Linux - Hardware 2 01-27-2006 11:35 AM
Can I grow an NTFS partition when I install Suse 9.1 Killer-Tomato Linux - Newbie 10 09-23-2004 09:52 AM


All times are GMT -5. The time now is 12:35 PM.

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