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. |
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. |
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. |
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 |
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 |
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. |
Any Help!
Any Help!
|
All times are GMT -5. The time now is 07:23 AM. |