[parted-devel] Unknown partition types on GPT
Arvin Schnell
aschnell at suse.com
Fri Dec 2 13:59:06 UTC 2016
Hi,
on GPT its from the parted output indistinguishably whether the
partition type is "Linux filesystem" or some type parted does not
know, e.g. "Ceph Journal". Below is the output of fdisk and
parted to show the problem.
Shouldn't there be a flag "linux" to make this clear?
Regards,
Arvin
Output for type "Ceph Journal":
# fdisk /dev/sdb -l
Disk /dev/sdb: 76.3 GiB, 81964302336 bytes, 160086528 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
Disklabel type: gpt
Disk identifier: ECA9C49C-BF73-4236-9404-A10E741AB00E
Device Start End Sectors Size Type
/dev/sdb1 2048 16009215 16007168 7.6G Ceph Journal
# parted /dev/sdb print
Model: Maxtor 6 Y080L0 (scsi)
Disk /dev/sdb: 82.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8197MB 8196MB
Output for "Linux filesystem":
# fdisk /dev/sdb -l
Disk /dev/sdb: 76.3 GiB, 81964302336 bytes, 160086528 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
Disklabel type: gpt
Disk identifier: ECA9C49C-BF73-4236-9404-A10E741AB00E
Device Start End Sectors Size Type
/dev/sdb1 2048 16009215 16007168 7.6G Linux filesystem
thalassa:~ # parted /dev/sdb print
Model: Maxtor 6 Y080L0 (scsi)
Disk /dev/sdb: 82.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8197MB 8196MB
--
Arvin Schnell, <aschnell at suse.com>
Senior Software Engineer, Research & Development
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
More information about the parted-devel
mailing list