[Bug 1779292] Re: GParted fails to shrink an LVM PV with lvm2 >= 2.02.171

Launchpad Bug Tracker 1779292 at bugs.launchpad.net
Fri Aug 24 00:20:54 UTC 2018


This bug was fixed in the package gparted - 0.32.0-1ubuntu1

---------------
gparted (0.32.0-1ubuntu1) cosmic; urgency=medium

  * Sync with Debian. Remaining change:
    - Don't set --enable-xhost-root (LP: #1737248) (Closes: #883812)

gparted (0.32.0-1) unstable; urgency=medium

  * New upstream release (Closes: #902681, #649213, #653454) (LP: #1779292)
  * Change build dep from libparted0-dev to libparted-dev (Closes: #878629)
  * Drop build dep on rarian-compat (Closes: #885651)
  * Drop --enable-online-resize as it is enabled by default
  * Merge misc minor packaging changes from Jeremy Bicha (Closes: #883901)
  * Recommend e2fsprogs (Closes: #887225)

 -- Jeremy Bicha <jbicha at ubuntu.com>  Thu, 23 Aug 2018 19:11:07 -0400

** Changed in: gparted (Ubuntu)
       Status: Triaged => Fix Released

-- 
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/1779292

Title:
  GParted fails to shrink an LVM PV with lvm2 >= 2.02.171

Status in gparted package in Ubuntu:
  Fix Released

Bug description:
  == GParted fails to shrink the LVM2 PV reporting this

  # lvm pvresize -v --setphysicalvolumesize 786432K '/dev/sda9'
  0 physical volume(s) resized / 1 physical volume(s) not resized

  Wiping internal VG cache
  Wiping cache of LVM-capable devices
  /dev/sda9: Requested size 712.00 MiB is less than real size 1.00 GiB.  Proceed? [y/n]:[n]
  Physical Volume /dev/sda9 not resized.

  
  == Confirmed on Ubuntu 18.04 LTS with these packages

  $ dpkg -l lvm2 gparted
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                  Version         Architecture    Description
  +++-=====================-===============-===============-================================================
  ii  gparted               0.30.0-3ubuntu1 amd64           GNOME partition editor
  ii  lvm2                  2.02.176-4.1ubu amd64           Linux Logical Volume Manager

  
  == Relevant bug references

  Issue #1 - Can't shrink LVM partition due to pvresize prompt
  https://gitlab.gnome.org/GNOME/gparted/issues/1

  Bug 1460577 - regression: lvm2 pvresize command suddenly became interactive, breaking automated usage
  https://bugzilla.redhat.com/show_bug.cgi?id=1460577

  
  == Attached patch

  Attached is the upstream patch to workaround the change in pvresize.
  Patch applies to gparted >= 0.14.0.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gparted 0.30.0-3ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Fri Jun 29 10:35:14 2018
  InstallationDate: Installed on 2018-03-12 (108 days ago)
  InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180306.1)
  SourcePackage: gparted
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list