gparted produces unusual results when ZFS partitios exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GParted |
New
|
Unknown
|
|||
gparted (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
util-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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-
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
ProcVersionSign
Uname: Linux 4.18.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Dec 13 15:05:13 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US
SHELL=/bin/bash
SourcePackage: gparted
UpgradeStatus: Upgraded to cosmic on 2018-12-13 (0 days ago)
mtime.conffile.
Problem gparted display.