[Bug 1808421] [NEW] gparted produces unusual results when ZFS partitios exist

HankB hbarta at gmail.com
Thu Dec 13 21:16:11 UTC 2018


Public bug reported:

Run gparted on a disk that has ZFS partitions. It shows one entire
partition. Parted seems to display correctly. gparted image attached.

hbarta at saugage:~$ sudo parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  538MB  537MB   fat32                                      boot, esp
 2      538MB   555MB  16.8MB  zfs          Microsoft reserved partition  msftres
 3      555MB   105GB  105GB   ntfs         Basic data partition          msftdata
 4      105GB   420GB  315GB   zfs          rpool

(parted) q                                                                
hbarta at saugage:~$ 

hbarta at saugage:~$ sudo sgdisk -p /dev/sda
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: Samsung SSD 850 
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): EBA09D2E-0F70-4D11-8E37-C1C170CFD9DD
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 2048-sector boundaries
Total free space is 1133243757 sectors (540.4 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1050623   512.0 MiB   EF00  
   2         1050624         1083391   16.0 MiB    0C01  Microsoft reserved ...
   3         1083392       205883391   97.7 GiB    0700  Basic data partition
   4       205883392       820283391   293.0 GiB   8300  rpool
hbarta at saugage:~$

hbarta at saugage:~$ lsb_release -rd
Description:	Ubuntu 18.10
Release:	18.10
hbarta at saugage:~$ 

Reproduce: 
1) Configure (perhaps install) Ubuntu on a drive with a ZFS partition.
2) Open gparted.

Note: Same issue happens with gparted on the 18.04.1 desktop install
USB.

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gparted 0.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
Uname: Linux 4.18.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Dec 13 15:05:13 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US
 SHELL=/bin/bash
SourcePackage: gparted
UpgradeStatus: Upgraded to cosmic on 2018-12-13 (0 days ago)
mtime.conffile..etc.logrotate.d.apport: 2018-12-12T13:31:49.347693

** Affects: gparted (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cosmic wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1808421

Title:
  gparted produces unusual results when ZFS partitios exist

Status in gparted package in Ubuntu:
  New

Bug description:
  Run gparted on a disk that has ZFS partitions. It shows one entire
  partition. Parted seems to display correctly. gparted image attached.

  hbarta at saugage:~$ sudo parted /dev/sda
  GNU Parted 3.2
  Using /dev/sda
  Welcome to GNU Parted! Type 'help' to view a list of commands.
  (parted) p                                                                
  Model: ATA Samsung SSD 850 (scsi)
  Disk /dev/sda: 1000GB
  Sector size (logical/physical): 512B/512B
  Partition Table: gpt
  Disk Flags: 

  Number  Start   End    Size    File system  Name                          Flags
   1      1049kB  538MB  537MB   fat32                                      boot, esp
   2      538MB   555MB  16.8MB  zfs          Microsoft reserved partition  msftres
   3      555MB   105GB  105GB   ntfs         Basic data partition          msftdata
   4      105GB   420GB  315GB   zfs          rpool

  (parted) q                                                                
  hbarta at saugage:~$ 

  hbarta at saugage:~$ sudo sgdisk -p /dev/sda
  Disk /dev/sda: 1953525168 sectors, 931.5 GiB
  Model: Samsung SSD 850 
  Sector size (logical/physical): 512/512 bytes
  Disk identifier (GUID): EBA09D2E-0F70-4D11-8E37-C1C170CFD9DD
  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 2048-sector boundaries
  Total free space is 1133243757 sectors (540.4 GiB)

  Number  Start (sector)    End (sector)  Size       Code  Name
     1            2048         1050623   512.0 MiB   EF00  
     2         1050624         1083391   16.0 MiB    0C01  Microsoft reserved ...
     3         1083392       205883391   97.7 GiB    0700  Basic data partition
     4       205883392       820283391   293.0 GiB   8300  rpool
  hbarta at saugage:~$

  hbarta at saugage:~$ lsb_release -rd
  Description:	Ubuntu 18.10
  Release:	18.10
  hbarta at saugage:~$ 

  Reproduce: 
  1) Configure (perhaps install) Ubuntu on a drive with a ZFS partition.
  2) Open gparted.

  Note: Same issue happens with gparted on the 18.04.1 desktop install
  USB.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: gparted 0.32.0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
  Uname: Linux 4.18.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.10-0ubuntu13.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Dec 13 15:05:13 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US
   SHELL=/bin/bash
  SourcePackage: gparted
  UpgradeStatus: Upgraded to cosmic on 2018-12-13 (0 days ago)
  mtime.conffile..etc.logrotate.d.apport: 2018-12-12T13:31:49.347693

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1808421/+subscriptions



More information about the foundations-bugs mailing list