Bug#891834: gnome-disk-utility: gnome-disks sees empty space instead of an existing extended partition

2018-03-19 Thread Andreas Henriksson
Control: tags -1 + moreinfo

Hello,

You seem to have a very tightly packed partition layout. Doing that
with a DOS partition table might not give you the best compatibility.

Also please note that your sda3 starts on the same block as your sda2 ends.

On Mon, Mar 19, 2018 at 06:18:15PM +0100, Francesco Potortì wrote:
> >> # fdisk -G -l /dev/sda
> >[...]
> >
> >Likely udisks has the wrong information. Please include output from:
> >udisksctl dump
> 
> Attached

Thanks.

> 
> >Also might be useful to have information for utilities that udisks
> >relies on like gdisk, parted, (util-linux) fdisk, etc.
> 
> What kind of information?  Version?  Partition table listing?
> 
> Please ask and I will try to get back with the required info.

Please try to provide useful information yourself if you want to have
a chance to find anyone interested in helping you debug this issue.

Please try to provide a gnome-disks screenshot and a binary partition
table (because I have no idea how to parse that /gnu/ fdisk dump).

Regards,
Andreas Henriksson



Bug#891834: gnome-disk-utility: gnome-disks sees empty space instead of an existing extended partition

2018-03-19 Thread Francesco Potortì
>> # fdisk -G -l /dev/sda
>[...]
>
>Likely udisks has the wrong information. Please include output from:
>udisksctl dump

Attached

>Also might be useful to have information for utilities that udisks
>relies on like gdisk, parted, (util-linux) fdisk, etc.

What kind of information?  Version?  Partition table listing?

Please ask and I will try to get back with the required info.



udisksctl dump
Description: /tmp/dump


Bug#891834: gnome-disk-utility: gnome-disks sees empty space instead of an existing extended partition

2018-03-05 Thread Andreas Henriksson
On Thu, Mar 01, 2018 at 12:54:11PM +0100, Francesco =?utf-8?Q?Potort=C3=AC?= 
wrote:
> Package: gnome-disk-utility
> Version: 3.26.2-2
> Severity: normal
> 
> This is what fdisk says about one of my disks, which is consistent with
> what is in /proc/partitions:
> 
> # fdisk -G -l /dev/sda
[...]

Likely udisks has the wrong information. Please include output from:
udisksctl dump

Also might be useful to have information for utilities that udisks
relies on like gdisk, parted, (util-linux) fdisk, etc.

Regards,
Andreas Henriksson



Bug#891834: gnome-disk-utility: gnome-disks sees empty space instead of an existing extended partition

2018-03-01 Thread Francesco Potortì
Package: gnome-disk-utility
Version: 3.26.2-2
Severity: normal

This is what fdisk says about one of my disks, which is consistent with
what is in /proc/partitions:

# fdisk -G -l /dev/sda
GNU Fdisk 1.3.0a

Disk /dev/sda: 1000 GB, 1000202273280 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   27296   219255088   83  Linux
/dev/sda2   27297   75486   3870781425  Extended
/dev/sda5   27297   40350   104848222   fd  Lnx RAID auto
/dev/sda6   40351   4551741495895   fd  Lnx RAID auto
/dev/sda7   45526   4871325599577   fd  Lnx RAID auto
/dev/sda8   48714   4998910241437   fd  Lnx RAID auto
/dev/sda9   49990   75486   204796620   83  Linux
/dev/sda3   75486  121602   370426770   83  Linux

This is alright and there is no problem.

However, gnome-disks sees extended partition 2 as being of zero length,
followed by a 396GB unused space.  Primary partitions 1 and 3 are seen
correctly.

Below is the partition table dump.  This behaviour is completely
reproducible, so please let me know what further details should I send
to debug the problem.

# fdisk -G -r /dev/sda
GNU Fdisk 1.3.0a

Device: /dev/sda
0x000: EB 63 90 10 8E D0 BC 00 B0 B8 00 00 8E D8 8E C0
0x010: FB BE 00 7C BF 00 06 B9 00 02 F3 A4 EA 21 06 00
0x020: 00 BE BE 07 38 04 75 0B 83 C6 10 81 FE FE 07 75
0x030: F3 EB 16 B4 02 B0 01 BB 00 7C B2 80 8A 74 03 02
0x040: 81 00 00 20 01 00 00 00 00 02 FA 90 90 F6 C2 80
0x050: 75 02 B2 80 EA 59 7C 00 00 31 00 80 01 00 00 00
0x060: 00 00 00 00 FF FA 90 90 F6 C2 80 74 05 F6 C2 70
0x070: 74 02 B2 80 EA 79 7C 00 00 31 C0 8E D8 8E D0 BC
0x080: 00 20 FB A0 64 7C 3C FF 74 02 88 C2 52 BB 17 04
0x090: F6 07 03 74 06 BE 88 7D E8 17 01 BE 05 7C B4 41
0x0A0: BB AA 55 CD 13 5A 52 72 3D 81 FB 55 AA 75 37 83
0x0B0: E1 01 74 32 31 C0 89 44 04 40 88 44 FF 89 44 02
0x0C0: C7 04 10 00 66 8B 1E 5C 7C 66 89 5C 08 66 8B 1E
0x0D0: 60 7C 66 89 5C 0C C7 44 06 00 70 B4 42 CD 13 72
0x0E0: 05 BB 00 70 EB 76 B4 08 CD 13 73 0D 5A 84 D2 0F
0x0F0: 83 D0 00 BE 93 7D E9 82 00 66 0F B6 C6 88 64 FF
0x100: 40 66 89 44 04 0F B6 D1 C1 E2 02 88 E8 88 F4 40
0x110: 89 44 08 0F B6 C2 C0 E8 02 66 89 04 66 A1 60 7C
0x120: 66 09 C0 75 4E 66 A1 5C 7C 66 31 D2 66 F7 34 88
0x130: D1 31 D2 66 F7 74 04 3B 44 08 7D 37 FE C1 88 C5
0x140: 30 C0 C1 E8 02 08 C1 88 D0 5A 88 C6 BB 00 70 8E
0x150: C3 31 DB B8 01 02 CD 13 72 1E 8C C3 60 1E B9 00
0x160: 01 8E DB 31 F6 BF 00 80 8E C6 FC F3 A5 1F 61 FF
0x170: 26 5A 7C BE 8E 7D EB 03 BE 9D 7D E8 34 00 BE A2
0x180: 7D E8 2E 00 CD 18 EB FE 47 52 55 42 20 00 47 65
0x190: 6F 6D 00 48 61 72 64 20 44 69 73 6B 00 52 65 61
0x1A0: 64 00 20 45 72 72 6F 72 0D 0A 00 BB 01 00 B4 0E
0x1B0: CD 10 AC 3C 00 75 F4 C3 6A F0 05 00 00 00 00 20
0x1C0: 21 00 83 F4 95 9F 00 08 00 00 00 18 23 1A 00 00
0x1D0: 81 A0 05 97 BA DD A0 22 23 1A 60 D5 24 2E 00 FE
0x1E0: FF FF 83 FE FF FF 00 F8 47 48 00 70 28 2C 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA

0x000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
0x1C0: 81 A0 FD FE 7F 9D 3F 00 00 00 3F F5 7F 0C 00 FE
0x1D0: FF FF 05 FE FF FF 7E F5 7F 0C B3 95 F2 04 00 00
0x1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA

0x000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x020: 00