Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2020 01:16:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247489] Change default partitioning on downloadable VM images
Message-ID:  <bug-247489-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247489

            Bug ID: 247489
           Summary: Change default partitioning on downloadable VM images
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
               URL: https://www.freebsd.org/doc/handbook/disks-growing.htm
                    l
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@filter.paco.to

If you look at the online documentation for growing filesystems
(https://www.freebsd.org/doc/handbook/disks-growing.html) you'll see that
growing filesystems on disk is easy if your last partition on the disk is s=
wap.
You just delete the partition, grow the filesystem partition, and then recr=
eate
the swap partition. It also makes it easy to change the size of the swap
partition.

The raw disk image downloadable from freebsd.org
(https://download.freebsd.org/ftp/releases/VM-IMAGES/12.1-RELEASE/amd64/Lat=
est/FreeBSD-12.1-RELEASE-amd64.raw.xz)
is built with:
ada0p1: boot
ada0p2: swap
ada0p3: filesystem

The primary use case (I think) for these VM images is to serve as a base im=
age
for a VM in a virtualization environment, which means that the vast majorit=
y of
users who download them will resize the partitions. They presumably will wa=
nt
to resize and/or delete the swap partition as well.

If ada0p2 was the filesystem and ada0p3 was swap, this would be trivial. As=
 it
is, the swap partition cannot easily be moved, resized, or deleted from a
virtual disk created from this image.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247489-227>