I can confirm the same problem. Really annoying when creating partitions
for RAID, really impossible to create large partitions of same size.
I wanted to leave some empty space to end of drive for future use, only
option to create last partitions was to make an estimated same size with
gparted (not used to using parted and don't want to learn how just
because fdisk is buggy.
root@qwerty:~# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f27f2
Device Boot Start End Blocks Id System
/dev/sda1 2048 275089 136521 fd Linux raid
autodetect
/dev/sda2 275090 140297629 70011270 fd Linux raid
autodetect
/dev/sda3 140298240 3863635967 1861668864 5 Extended
/dev/sda5 140300288 3863635967 1861667840 fd Linux raid
autodetect
Command (m for help): q
root@qwerty:~# fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000742b2
Device Boot Start End Blocks Id System
/dev/sdb1 2048 275089 136521 fd Linux raid
autodetect
/dev/sdb2 275090 140297629 70011270 fd Linux raid
autodetect
/dev/sdb3 140298240 3861590015 1860645888 5 Extended
/dev/sdb5 140300288 3861587967 1860643840 fd Linux raid
autodetect
Command (m for help): q
root@qwerty:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md4 : active raid1 sdc2[0] sdd2[1]
1126268736 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb5[2] sda5[3]
1857650986 blocks super 1.2 [2/2] [UU]
md3 : active raid1 sdd1[1] sdc1[0]
730957376 blocks [2/2] [UU]
md1 : active raid1 sda2[1] sdb2[0]
70011200 blocks [2/2] [UU]
md0 : active raid1 sda1[1] sdb1[0]
136448 blocks [2/2] [UU]
unused devices: <none>
root@qwerty:~#
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org