LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-11-2010, 02:42 AM   #1
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Rep: Reputation: 15
Help with parted


Hi I am new to using parted. I want to use it to create large partition (>2TB) on a disk. The current partition table on the disk looks like below:
--------------------------------
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d1: 2250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 17.4kB 3221MB 3221MB ext3
2 3221MB 2249GB 2246GB
3 2249GB 2250GB 1074MB linux-swap

--------------------------------

How to use parted to create 1 more ext3 partition to use the remaining space on this disk. Please give the steps to be followed.
Thanks in advance.
 
Old 09-11-2010, 02:57 AM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
hi there you can just log in as the root and type parted /dev/<sda> where sda is the name of your drive and that would work fine. However, what I would suggest is using a gui tool (specially the ones that come with knoppix) and that would be a lot lot more easier.
Working with parted is fine - until you have all the backups and all you want is to hone your skills.
 
Old 09-11-2010, 03:24 AM   #3
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
Please give steps

Hi
Thanks, but this did not help. I need the exact steps to be followed after getting into the parted prompt. To use all the remaining space to create a ext3 partition.
 
Old 09-11-2010, 04:33 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
I like...

You can download a copy of the live-cd "PartedMagic" and get both "parted", "parted" with a graphical display(GUI), and "fdisk" and "cfdisk".

http://partedmagic.com/download.html

http://partedmagic.com/programs.html

Last edited by thorkelljarl; 09-11-2010 at 04:38 AM.
 
Old 09-11-2010, 06:50 AM   #5
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Gparted is so clear and intuitive that most folks find they can use it first time they see it,further uses increase your level of confidence... you should be able to do what you want just by figuring gparted. LOL its kinda logical

This link to the UBCD has gparted and loads of other very interesting stuff.
http://www.ultimatebootcd.com/download.html

Last edited by hughetorrance; 09-11-2010 at 06:56 AM.
 
Old 09-11-2010, 01:25 PM   #6
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
Cannot use gparted

Thanks for the replies guys, but sorry, cannot use gparted. This is a OracleVM environment and does not support gui, not vnc or xterm. Also as this is a production system I cannot install other packages for getting this done, have to use parted cli. Any help with the steps would be appreciated. As I understand I'll have to use

parted /dev/cciss/c0d1

then
(parted) mkpart primary <START> <END>

As per my partition table in my starting query post, for the START I can use 3221.1 . Can someone help me to safely predict the END value to use the complete space left until the start of the swap partition! Thanks.
 
Old 09-12-2010, 04:37 AM   #7
itsakc
LQ Newbie
 
Registered: May 2007
Location: Bangalore
Distribution: RedHat, Suse, OEL, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
Any Help!

Any Help!
 
  


Reply



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
parted ciberrust Red Hat 2 07-19-2009 03:29 AM
Using Parted Mathiasdm Linux - Software 7 08-23-2004 03:10 AM
Using parted jdmml Linux - Newbie 5 07-08-2004 08:39 PM
parted alaios Linux - General 5 04-29-2004 12:13 PM
Can parted do this? szf2 Linux - Newbie 1 10-24-2003 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 AM.

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
Open Source Consulting | Domain Registration