aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-07-22 06:24:30 -0400
committerErik Skultety <eskultet@redhat.com>2022-07-22 13:17:56 +0000
commitbff2162c7641dbd122edd49e9daa7c4043d17d0f (patch)
treed20e8a20b7c01170be5557bb1d44e900fcd46bf0 /docs
parent2c8117419cf38e25ece95e72fe93c69c9b58a3f9 (diff)
downloadlibvirt-ci-bff2162c7641dbd122edd49e9daa7c4043d17d0f.zip
libvirt-ci-bff2162c7641dbd122edd49e9daa7c4043d17d0f.tar.gz
libvirt-ci-bff2162c7641dbd122edd49e9daa7c4043d17d0f.tar.bz2
docs: update FreeBSD disk resizing for auto-partition growth
FreeBSD notices resized disks and resizes the main partition to match. All that's required is to confirm the schanges wit 'gpart commit'. This was verified with FreeBSD 12.3 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/vms.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/vms.rst b/docs/vms.rst
index ac53320..8a268c1 100644
--- a/docs/vms.rst
+++ b/docs/vms.rst
@@ -125,12 +125,14 @@ them do
$ virsh blockresize libvirt-freebsd-$MAJOR \
/var/lib/libvirt/images/libvirt-freebsd-$MAJOR.qcow2 15G
-Then inside the guest, as root, enlarge the 3rd partition & filesystem
-to consume all new space:
+Then inside the guest, FreeBSD should detect the enlarged volume
+and have automatically increased the vtbd0 partition size. Thus
+all that is required is to accept the changes and then rexize
+the filesystem.
::
- # gpart resize -i 3 vtbd0
+ # gpart commit vtbd0
# service growfs onestart
Some manual tweaking will be needed, in particular: