https://bugzilla.novell.com/show_bug.cgi?id=829422
https://bugzilla.novell.com/show_bug.cgi?id=829422#c10
Dennis Olsson changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |DOlsson@WEB.de
--- Comment #10 from Dennis Olsson 2014-04-30 15:00:01 CEST ---
Using openSUSE 13.1 with "fdisk from util-linux 2.23.2", you either get this
output (as one would expect on GPT partitions):
# fdisk -l /dev/md/system
WARNING: fdisk GPT support is currently new, and therefore in an
experimental phase. Use at your own discretion.
Disk /dev/md/system: 256.1 GB, 256060358656 bytes, 500117888 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
# Start End Size Type Name
1 64 1048639 512M EFI System EFI System
2 1048640 11534399 5G Linux filesyste Linux filesystem
3 11534400 198180927 89G Linux filesyste Linux filesystem
4 198180928 365953087 80G Linux swap Linux swap
# fdisk -v
fdisk from util-linux 2.23.2
#
or this oddly output (which is definitively not an expected output for a GPT
partitioned disk!):
# fdisk -l /dev/md/data
Disk /dev/md/data: 3000.6 GB, 3000592826368 bytes, 5860532864 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/md/data1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
# fdisk -v
fdisk from util-linux 2.23.2
#
# gdisk -l /dev/md/system
GPT fdisk (gdisk) version 0.8.7
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/md/system: 500117888 sectors, 238.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 01245C0C-0EC0-43CF-85C5-8CD3AE582AA6
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 500117854
Partitions will be aligned on 64-sector boundaries
Total free space is 134164797 sectors (64.0 GiB)
Number Start (sector) End (sector) Size Code Name
1 64 1048639 512.0 MiB EF00 EFI System
2 1048640 11534399 5.0 GiB 8300 Linux filesystem
3 11534400 198180927 89.0 GiB 8300 Linux filesystem
4 198180928 365953087 80.0 GiB 8200 Linux swap
#
So, the code in "fdisk" obviously has problems with detecting GPT partitions
correctly.
Any change of getting an updated version of "fdisk" for openSUSE 13.1 that
fixes this bug?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.