[Bug 1718860] Re: Size of system-data partition is not respected when specified

Paul Mars 1718860 at bugs.launchpad.net
Thu Jun 20 07:21:07 UTC 2024


** Changed in: ubuntu-image
       Status: New => Triaged

** Changed in: ubuntu-image
     Assignee: (unassigned) => Paul Mars (upils)

** Changed in: ubuntu-image
   Importance: Undecided => High

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

Title:
  Size of system-data partition is not respected when specified

Status in Ubuntu Image:
  Triaged

Bug description:
  When the size of the system data partition is specified in the gadget
  snap, like in:

  https://github.com/alfonsosanchezbeato/pc-amd64-gadget-
  cpc/blob/master/gadget.yaml

  It turns out that this is not fully respected: "parted" actually shows
  the right size, but when mounting the partition, "df -h ." reveals
  that the size is much less.

  This is because the partition is properly created, but the filesystem
  inside the partition is not filling the partition.

  A workaround for this is running these commands on the partition:

  # e2fsck -fy <part>
  # resize2fs <part>

  But this should not be necessary indeed.

  This is for 17.04, I am under the impression of this being relevant.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1718860/+subscriptions




More information about the foundations-bugs mailing list