Upstream root cause and fix:

* util-linux issue 918 - "blkid reports disk as zfs_member if it has a 
zfs_member partition"
  https://github.com/util-linux/util-linux/issues/918

* Fixed by commit "libblkid: (zfs) don't probe whole-disk areas covered by 
partitions"
  
https://github.com/util-linux/util-linux/commit/f6e182078a3f05af3ce3b5e5a2d1956d4b9677e2

* First included in util-linux v2.35 released Jan 21 2020
  
https://github.com/util-linux/util-linux/blob/master/Documentation/releases/v2.35-ReleaseNotes#L231
  https://github.com/util-linux/util-linux/releases/tag/v2.35

** Bug watch added: github.com/util-linux/util-linux/issues #918
   https://github.com/util-linux/util-linux/issues/918

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1808421

Title:
  gparted produces unusual results when ZFS partitios exist

Status in GParted:
  New
Status in gparted package in Ubuntu:
  Confirmed
Status in util-linux package in Ubuntu:
  Confirmed

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@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@saugage:~$ 

  hbarta@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@saugage:~$

  hbarta@saugage:~$ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:      18.10
  hbarta@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/gparted/+bug/1808421/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to