Partition with parted

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Partition with parted
# 1  
Old 03-18-2012
Partition with parted

Hello folks,

I have 2.4TB san storage i want to make 4 partition each having 600GB. I use fdisk but not possible to do this because of fdisk limitation. So i tried parted but it make 2.4TB one partition but with parted not possible to make 4 partition having 600GB, may be i m doing wrong, can some one advise me on that how to make 4 partition with parted.
# 2  
Old 03-18-2012
In the parted prompt, execute these commands:

# parted
select /dev/sdb
mklabel msdos
Primary/Extend? p
Start: 0
End: 600G

You need to repeat the steps from mkpart to End another 3 times to create another three partitions. But the next partion will start at: 600G and end at 1200G and so on. Let us know if you come across any further issue.
# 3  
Old 03-18-2012
i am getting message that msdos label do no support devices that have more than 4294967295 sectors.
# 4  
Old 03-18-2012
Indeed, that's a well known BIOS fdisk partition table limitation. You need to make sure your OS supports GPT and create a gpt label instead.
# parted
(parted) select /dev/sdb
Using /dev/sdb
(parted) mklabel gpt
(parted) mkpart
Partition name? []? p1
File system type? [ext2]?
Start? 0
End? 600G
(parted) print

# 5  
Old 03-18-2012

i have done this as well, but after quit it show me one partition while under parted it show 4 partition, what should i do now? i need to format four partition which i made in parted but not able to do so because fdisk is not showing it, so what you suggest.

---------- Post updated at 09:49 AM ---------- Previous update was at 09:15 AM ----------

So it means if i make partition with parted above then 2.2TB so it will show one partition with fdisk and if i need to see four partition i will use gdisk, please confirm?
# 6  
Old 03-18-2012
You cannot use fdisk with disk that used GPT. If you do, it will show only what is know the Legacy MBR i.e. a single partition covering the whole disk. You need to use gdisk or parted.
# 7  
Old 03-18-2012
Once you create partitions with parted, you will get them listed under /dev directory, provided that your kernel supports GPT. To check that, grep your kernel's config file in boot directory for "CONFIG_EFI_PARTITION".
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

2. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

3. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. UNIX for Dummies Questions & Answers

Fdisk v/s parted

Just started understanding linux filesystem and partition utilities. I was going though some video tutorials by CBT nuggets and the author was cursing fdisk as fuzzy tool and recommending to use parted instead. In our job environment i have seen almost every one using fdisk utility for... (1 Reply)
Discussion started by: pinga123
1 Replies

5. Shell Programming and Scripting

rsync from partition to partition fastest

Gentleman, Please move if I have chose the incorrect forum section. I am trying to move data that is not backed up from partition 1 to partition 2 on a SAN that has a GFS2 filesystem. Since the data is not backed up I am rsyncing this data and once verified I will delete from the source... (6 Replies)
Discussion started by: jaysunn
6 Replies

6. Linux

how to use parted get partition_type

I want to use GNU parted for disk partition, but I also hope to get the partition type id by parted. :confused:I can get it from fdisk -l, but I don't know how the parted can get it. The print of the "parted print" only include fstype flags and so on, I hope some help. Thank you. My English is not... (2 Replies)
Discussion started by: ZR_Lang
2 Replies

7. Filesystems, Disks and Memory

Partition management: lvm? fdisk? parted? (on RAID)

Hello, I have a RHEL system with two 500GB hard drives in RAID 1 (I think hardware, but not 100% certain - any way to tell?). It looks like it was just set up in default configuration with a small boot partition and one huge partition for the rest, which composes a LVM volume. I want... (1 Reply)
Discussion started by: builder88
1 Replies

8. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

9. SuSE

SuSE parted problem

Hello, So, I burned the 5 cds of SuSE 10.1, and would really like to begin installation. But when I get to the partitioning phase, I get an error message saying the first hard drive is unreadable by parted, and that I'll have to use Yast instead. It also tells me I wont be able to move delete... (0 Replies)
Discussion started by: Mudrack
0 Replies

10. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies
Login or Register to Ask a Question

Featured Tech Videos