non working gpt labels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Hardy |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: parted
The ubuntu parted that is on the feisty (64bit) installation cds has a bug when creating gpt labels (at least on large disk arrays). We tried to create a gpt label and one XFS partition on a 10,5 TB RAID6-Array.
Notice: Exactly the same procedure worked on grml 0.9 (32 bit distribution). So it is a bug on the ubuntu side for sure.
Also the grml-version of parted shows the following warning when we print the partition table (print command):
Warning: /dev/sdc contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. (and so on)
So it seems parted is not able to create correct gpt labels.
We never saw a similar warning with the ubuntu parted. And this warning is only shown when we create the partition and the label with ubuntu's parted.
Here is the way we can reproduce that error:
parted /dev/sdc mklabel gpt
parted /dev/sdc rm 1
parted /dev/sdc mkpart primary 0 10500G
mkfs.xfs -f /dev/sdc1
mount /dev/sdc1 /mnt/sdc1
df -h [size should be 9.6T]
umount /mnt/sdc1
hdparm -z /dev/sdc[a restart of the system does the same!]
mount /dev/sdc1 /mnt/sdc1
Then you should see the following error on ubuntu. With grml it works correctly:
I/O error in filesystem ("sdc1") meta-data dev sdc1 block 0x4c65c46ff ("xfs_read_buf") error 5 buf count 2
mount: /dev/sdc1: can't read superblock
Also notice: You'll lose all your data on that partition because of that error! grml uses the same parted version 1.7.1(but without some ubuntu patches)
Related branches
description: | updated |
Changed in parted: | |
importance: | Undecided → High |
Most likely caused by gpt sync patch, https:/ /bugs.launchpad .net/ubuntu/ +source/ ubiquity/ +bug/46853