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

Francesco Potortì Potorti at isti.cnr.it
Wed Mar 21 17:38:12 UTC 2018


>> >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).

================================================================
# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: ST31000528AS    
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): C77579BA-C604-4C2D-8045-02F956A109C5
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 153853 sectors (75.1 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048       438509567   209.1 GiB   8300  Linux filesystem
   3      1212676096      1953523711   353.3 GiB   8300  Linux filesystem
   5       438510303       648222749   100.0 GiB   FD00  Linux RAID
   6       648222813       731229648   39.6 GiB    FD00  Linux RAID
   7       731373568       782573567   24.4 GiB    FD00  Linux RAID
   8       782574408       803073284   9.8 GiB     FD00  Linux RAID
   9       803076096      1212674047   195.3 GiB   8300  Linux filesystem


================================================================
(parted) print
Model: ATA ST31000528AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  225GB   225GB   primary
 2      225GB   621GB   396GB   extended
 5      225GB   332GB   107GB   logical   zfs             raid
 6      332GB   374GB   42.5GB  logical   ext3            raid
 7      374GB   401GB   26.2GB  logical   zfs             raid
 8      401GB   411GB   10.5GB  logical   linux-swap(v1)  raid
 9      411GB   621GB   210GB   logical   ext3
 3      621GB   1000GB  379GB   primary   zfs


================================================================
tucano:/scrap# lfdisk -l /dev/sda
GNU Fdisk 1.3.0a
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.


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
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2           27297       75486   387078142    5  Extended
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda5           27297       40350   104848222   fd  Lnx RAID auto
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda6           40351       45517    41495895   fd  Lnx RAID auto
Warning: Partition 6 does not end on cylinder boundary.
/dev/sda7           45526       48713    25599577   fd  Lnx RAID auto
Warning: Partition 7 does not end on cylinder boundary.
/dev/sda8           48714       49989    10241437   fd  Lnx RAID auto
Warning: Partition 8 does not end on cylinder boundary.
/dev/sda9           49990       75486   204796620   83  Linux
Warning: Partition 9 does not end on cylinder boundary.
/dev/sda3           75486      121602   370426770   83  Linux
Warning: Partition 3 does not end on cylinder boundary.


================================================================

# lfdisk -r /dev/sda
GNU Fdisk 1.3.0a
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

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 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: 41 9E FD FE FF FF 3F 00 00 00 74 95 F2 04 00 FE
0x1D0: FF FF 05 FE FF FF F5 84 74 11 6B 78 0D 03 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: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x010: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x020: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x030: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x040: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x050: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x060: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x070: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x080: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x090: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x0A0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x0B0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x0C0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x0D0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x0E0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x0F0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x100: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x110: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x120: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x130: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x140: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x150: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x160: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x170: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x180: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x190: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x1A0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95
0x1B0: 95 95 95 95 95 95 95 95 95 95 95 95 95 95 00 FE
0x1C0: FF FF FD FE FF FF 6B 38 00 00 00 40 0D 03 00 FE
0x1D0: FF FF 05 FE FF FF 69 00 82 14 FC C9 38 01 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 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 49 FD FE FF 44 3F 00 00 00 BD C9 38 01 00 FE
0x1D0: FF FF 05 FE FF FF 65 CA BA 15 FB 02 6A 18 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: 8A 22 65 BC 5C C9 23 0C F1 E8 2B 43 C3 DA 4A 5D
0x010: 5C F9 AD 10 62 ED 91 C7 4A CB D7 A7 17 3E 38 82
0x020: D4 B6 12 1E 14 D7 EC 38 79 D5 78 58 39 B3 F1 0B
0x030: 53 A7 52 5C AB 56 58 D6 A0 02 38 D8 0E A2 B5 B4
0x040: 8D 3E DB 51 5B 66 B9 20 79 5F 37 35 5F 5A 8F 36
0x050: E8 7F 2A 96 CA 39 D2 C1 E5 42 42 88 CF 4F 5C 54
0x060: E6 B2 70 A4 92 76 B9 59 5F F1 DB 68 E5 7C 4F 7A
0x070: 35 0F 12 4B E5 0C 47 1F CA 98 F6 AC AC 10 71 E9
0x080: 56 E2 B2 BD 92 E2 49 0C 0F C9 3C 91 56 A2 D1 AE
0x090: A4 20 95 C6 7A D6 59 7D 29 FB 1E F7 16 2E B7 EF
0x0A0: 1C 99 94 13 9C D7 6B E0 B8 72 F8 DB 9C B5 66 A6
0x0B0: 89 14 45 5A 77 6F A5 74 DA 14 D0 D9 07 75 50 36
0x0C0: 8F 97 DE 8C CB 0B 5B EA EE C8 EB C9 F3 1A 30 C4
0x0D0: 2E 63 0B 53 86 E2 DB C7 37 1B 9D 96 2C E4 60 E0
0x0E0: 55 BD 4E 5C DB 9C 9C E4 73 57 25 81 AE AE 5A F2
0x0F0: 7E 59 9B BD 50 D4 A2 2E 85 07 4A FC E1 B7 3A B1
0x100: 83 DD 68 7D A5 7A 8D 52 9C E3 B3 38 84 B4 69 2F
0x110: 24 65 5E 09 AD 8B 4B 56 5C 12 3A 1A BD 05 AA A9
0x120: CE 05 59 58 CE 38 E2 BF 47 C0 53 E4 A4 91 F0 15
0x130: EA 7B D6 27 57 F9 00 ED D2 AE 5B 5A 23 A6 F0 00
0x140: E6 A8 15 38 1D 6B 4E DE ED 2D ED 19 88 05 B1 C0
0x150: AF 17 89 A8 55 AB 08 CA 9A BD 8F A3 E1 7C 55 2C
0x160: 3D 67 ED 76 66 57 89 34 C3 71 A6 B4 71 9F DE 63
0x170: E5 AC AD 17 4C 9A CA C8 2C F9 DD 8E F5 D1 C0 1E
0x180: EA 61 3C C4 80 7A 28 E8 2A D5 D5 B8 D8 08 15 F1
0x190: F1 C4 CA 9C 3D 8B 3E FE 78 55 89 6F 11 05 6B 1C
0x1A0: C5 D4 79 85 D7 1D 45 62 DB 69 83 CD 2C 57 AD 74
0x1B0: F2 44 4C 84 11 C5 3A 1B 65 1C 8E D5 F5 7C 00 2C
0x1C0: E8 45 83 77 9A DD FB 0A 00 00 00 F8 69 18 00 00
0x1D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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

================================================================

Attached a screenshot of gnome-disk-utility.

Thank you for your time

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-disk-utility.png
Type: image/png
Size: 140639 bytes
Desc: ~/Desktop/gnome-disk-utility.png
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180321/e3a091fa/attachment-0001.png>


More information about the pkg-gnome-maintainers mailing list