Summary: | FreeBSD virtual machine disk images should have greater virtual hard disk capacities | ||
---|---|---|---|
Product: | Base System | Reporter: | Graham Perrin <grahamperrin> |
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Some People | ||
Priority: | --- | ||
Version: | 12.2-STABLE | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://www.freebsd.org/where.html#download-rel122 | ||
Attachments: |
Description
Graham Perrin
2021-01-16 05:25:16 UTC
Created attachment 221618 [details]
Not enough space …
Failure to install x11/kde5
Created attachment 221619 [details] Preparing to attempt to grow the file system After using the Virtual Media Manager in VirtualBox to maximise the virtual disk. Using Gparted in SystemRescue <https://www.system-rescue.org/>. Fixing the backup GPT. Created attachment 221620 [details]
Fixing the GPT to use all of the space of the maximised virtual hard disk
Created attachment 221621 [details]
Retrying following an I/O error
Created attachment 221622 [details]
Wishing to resize rootfs
Created attachment 221623 [details] Apparently impossible to grow the file system with GParted Now I see <https://www.freebsd.org/doc/handbook/disks-growing.html>, which might be slightly outdated (the order of partitions differs from what I found) but I guess that I can use growfs(8). Created attachment 221624 [details]
Problems with `growfs /dev/ada0p4` and `gpart recover ada0`
(In reply to Graham Perrin from comment #7)> > Problems with `growfs /dev/ada0p4` and `gpart recover ada0` I have abandoned, deleted the affected .vhd The correct solution is to grow the provided image. Otherwise we could not provide one image that would be installable in tiny environments as well as your huge 2TB environment. Growing VM images is common and widely supported. Thank you, of course you're correct, I didn't think this through completely. Part of the confusion is that gpart recover fails to recover the GPT (not only as outlined above); I'll take this problem to the freebsd-current list. |