Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
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.
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.
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459
Rep:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.