* cfdisk UI problem with a small partition starting and ending before sector 2048 (1MiB)
@ 2016-02-27 4:19 Peter Cordes
2016-05-05 9:53 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Peter Cordes @ 2016-02-27 4:19 UTC (permalink / raw)
To: util-linux
[-- Attachment #1: Type: text/plain, Size: 2073 bytes --]
I tested sfdisk/cfdisk from the latest git while setting up a new disk.
It finds some free space where there isn't any:
Disk: /dev/sde
Size: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Label: gpt, identifier: 7E471862-5089-4C54-A3BC-722ADD08808A
Device Start End Sectors Size Type
/dev/sde1 40 2047 2008 1004K BIOS boot
Free space 2048 39 18446744073709549608 16E
/dev/sde2 2048 30722047 30720000 14.7G Linux RAID
...
sfdisk --dump dumps/restores it just fine. (Thanks fixing that bug last
year with sfdisk refusing to create the boot partition starting at
sector 40.)
Here's the dump so you can recreate it easily:
label: gpt
label-id: 7E471862-5089-4C54-A3BC-722ADD08808A
device: /dev/sde
unit: sectors
first-lba: 34
last-lba: 5860533134
/dev/sde1 : start= 40, size= 2008, type=21686148-6449-6E6F-744E-656564454649, uuid=336580CD-6D34-4148-8708-DB3308CE667C, name="BIOS boot partition"
/dev/sde2 : start= 2048, size= 30720000, type=A19D880F-05FC-4D3B-A006-743F0F84911E, uuid=A3F01280-2490-4925-B2D7-4A31F0B8556A
/dev/sde3 : start= 30722048, size= 614400, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=B07E3680-FC7E-4BE3-A14A-568011F9D410
/dev/sde4 : start= 31336448, size= 134217728, type=A19D880F-05FC-4D3B-A006-743F0F84911E, uuid=CA777D0F-0DA2-4F9C-98D8-67187479BA81
/dev/sde5 : start= 165554176, size= 209715200, type=A19D880F-05FC-4D3B-A006-743F0F84911E, uuid=C7C67ABA-9483-4FF7-9D96-5BC37BED19FF
/dev/sde6 : start= 375269376, size= 5485263759, type=A19D880F-05FC-4D3B-A006-743F0F84911E, uuid=FE8DFE27-11B1-438B-BA24-0CD64B474897
--
#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter@cor , des.ca)
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack
my day so wretchedly into small pieces!" -- Plautus, 200 BC
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 359 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-05 9:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 4:19 cfdisk UI problem with a small partition starting and ending before sector 2048 (1MiB) Peter Cordes
2016-05-05 9:53 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox