[Bug 2023637] Re: Cannot shrink LVM2 PV file system in Ubuntu 22.04/23.04 but not in Ubuntu Server 22.04

David Hedlund 2023637 at bugs.launchpad.net
Tue Jun 13 09:40:04 UTC 2023


** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
  * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
  * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
  * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
  
  See the screenshots
+ 
+ 
+ This bug prevents people to make default partition installations of Ubuntu with LVM, and then shrink the file system, which is useful if you want to save disk image (.img) files.

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
  * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
  * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
  * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
  
  See the screenshots
  
- 
- This bug prevents people to make default partition installations of Ubuntu with LVM, and then shrink the file system, which is useful if you want to save disk image (.img) files.
+ This bug prevents people to make default partition installations of
+ Ubuntu with LVM, and then shrink the file system, which is useful if you
+ want to save disk image (.img) files. The only way to circumvent this is
+ to buy small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
  * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
  * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
  * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
  
  See the screenshots
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
- want to save disk image (.img) files. The only way to circumvent this is
- to buy small SSD drives (16-32 GB).
+ want to save disk image (.img) files. To circumvent the issue, one has
+ to buy really small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
- * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
- * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
+ * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV -- see Ubuntu_22.04_with_LVM-screenshot_1.png, Ubuntu_22.04_with_LVM-screenshot_2.png
+ * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV -- see Ubuntu_23.04_with_LVM-screenshot_1.png, Ubuntu_23.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
  
  See the screenshots
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
  * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV -- see Ubuntu_22.04_with_LVM-screenshot_1.png, Ubuntu_22.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV -- see Ubuntu_23.04_with_LVM-screenshot_1.png, Ubuntu_23.04_with_LVM-screenshot_2.png
- * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
+ * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV -- see Ubuntu-server_22.04-LVM-screenshot_1.png, Ubuntu-server_22.04-LVM-screenshot_2.png, Ubuntu-server_22.04-LVM-screenshot_3.png
  
  See the screenshots
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
- * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV -- see Ubuntu_22.04_with_LVM-screenshot_1.png, Ubuntu_22.04_with_LVM-screenshot_2.png
+ * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
+     Ubuntu_22.04_with_LVM-screenshot_1.png
+     Ubuntu_22.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV -- see Ubuntu_23.04_with_LVM-screenshot_1.png, Ubuntu_23.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV -- see Ubuntu-server_22.04-LVM-screenshot_1.png, Ubuntu-server_22.04-LVM-screenshot_2.png, Ubuntu-server_22.04-LVM-screenshot_3.png
  
  See the screenshots
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
  * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
-     Ubuntu_22.04_with_LVM-screenshot_1.png
-     Ubuntu_22.04_with_LVM-screenshot_2.png
- * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV -- see Ubuntu_23.04_with_LVM-screenshot_1.png, Ubuntu_23.04_with_LVM-screenshot_2.png
- * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV -- see Ubuntu-server_22.04-LVM-screenshot_1.png, Ubuntu-server_22.04-LVM-screenshot_2.png, Ubuntu-server_22.04-LVM-screenshot_3.png
- 
- See the screenshots
+     Ubuntu_22.04_with_LVM-screenshot_1.png
+     Ubuntu_22.04_with_LVM-screenshot_2.png
+ * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
+     Ubuntu_23.04_with_LVM-screenshot_1.png
+     Ubuntu_23.04_with_LVM-screenshot_2.png
+ * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
+     Ubuntu-server_22.04-LVM-screenshot_1.png
+     Ubuntu-server_22.04-LVM-screenshot_2.png
+     Ubuntu-server_22.04-LVM-screenshot_3.png
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
+ * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
+     Ubuntu-server_22.04-LVM-screenshot_1.png
+     Ubuntu-server_22.04-LVM-screenshot_2.png
+     Ubuntu-server_22.04-LVM-screenshot_3.png
  * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
      Ubuntu_22.04_with_LVM-screenshot_1.png
      Ubuntu_22.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
-     Ubuntu_23.04_with_LVM-screenshot_1.png
-     Ubuntu_23.04_with_LVM-screenshot_2.png
- * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
-     Ubuntu-server_22.04-LVM-screenshot_1.png
-     Ubuntu-server_22.04-LVM-screenshot_2.png
-     Ubuntu-server_22.04-LVM-screenshot_3.png
+     Ubuntu_23.04_with_LVM-screenshot_1.png
+     Ubuntu_23.04_with_LVM-screenshot_2.png
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

** Summary changed:

- Cannot shrink LVM2 PV file system in Ubuntu 22.04/23.04 but not in Ubuntu Server 22.04
+ Can shrink LVM2 PV file system in Ubuntu Server 22.04 but not in Ubuntu 22.04/23.04

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
- * Attached disk drive with Ubuntu Server 22.04 installed: Can LVM2 PV
+ * Attached disk drive with Ubuntu Server 22.04 installed: Can shrink LVM2 PV
      Ubuntu-server_22.04-LVM-screenshot_1.png
      Ubuntu-server_22.04-LVM-screenshot_2.png
      Ubuntu-server_22.04-LVM-screenshot_3.png
- * Attached disk drive with Ubuntu 22.04 installed: Can not LVM2 PV
+ * Attached disk drive with Ubuntu 22.04 installed: Can not shrink LVM2 PV
      Ubuntu_22.04_with_LVM-screenshot_1.png
      Ubuntu_22.04_with_LVM-screenshot_2.png
- * Attached disk drive with Ubuntu 23.04 installed: Can not LVM2 PV
+ * Attached disk drive with Ubuntu 23.04 installed: Can not shrink LVM2 PV
      Ubuntu_23.04_with_LVM-screenshot_1.png
      Ubuntu_23.04_with_LVM-screenshot_2.png
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

** Description changed:

  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
- * Attached disk drive with Ubuntu Server 22.04 installed: Can shrink LVM2 PV
+ * Attached disk drive with Ubuntu Server 22.04 installed: CAN shrink LVM2 PV
      Ubuntu-server_22.04-LVM-screenshot_1.png
      Ubuntu-server_22.04-LVM-screenshot_2.png
      Ubuntu-server_22.04-LVM-screenshot_3.png
  * Attached disk drive with Ubuntu 22.04 installed: Can not shrink LVM2 PV
      Ubuntu_22.04_with_LVM-screenshot_1.png
      Ubuntu_22.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu 23.04 installed: Can not shrink LVM2 PV
      Ubuntu_23.04_with_LVM-screenshot_1.png
      Ubuntu_23.04_with_LVM-screenshot_2.png
  
  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if you
  want to save disk image (.img) files. To circumvent the issue, one has
  to buy really small SSD drives (16-32 GB).

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

Title:
  Can shrink LVM2 PV file system in Ubuntu Server 22.04 but not in
  Ubuntu 22.04/23.04

Status in gparted package in Ubuntu:
  New

Bug description:
  gparted 1.3.1 (tested with Ubuntu 22.04 as host OS) status:
  * Attached disk drive with Ubuntu Server 22.04 installed: CAN shrink LVM2 PV
      Ubuntu-server_22.04-LVM-screenshot_1.png
      Ubuntu-server_22.04-LVM-screenshot_2.png
      Ubuntu-server_22.04-LVM-screenshot_3.png
  * Attached disk drive with Ubuntu 22.04 installed: Can not shrink LVM2 PV
      Ubuntu_22.04_with_LVM-screenshot_1.png
      Ubuntu_22.04_with_LVM-screenshot_2.png
  * Attached disk drive with Ubuntu 23.04 installed: Can not shrink LVM2 PV
      Ubuntu_23.04_with_LVM-screenshot_1.png
      Ubuntu_23.04_with_LVM-screenshot_2.png

  This bug prevents people to make default partition installations of
  Ubuntu with LVM, and then shrink the file system, which is useful if
  you want to save disk image (.img) files. To circumvent the issue, one
  has to buy really small SSD drives (16-32 GB).

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




More information about the foundations-bugs mailing list