<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.steffe.net/index.php?action=history&amp;feed=atom&amp;title=FreeBSD</id>
	<title>FreeBSD - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.steffe.net/index.php?action=history&amp;feed=atom&amp;title=FreeBSD"/>
	<link rel="alternate" type="text/html" href="https://wiki.steffe.net/index.php?title=FreeBSD&amp;action=history"/>
	<updated>2026-04-28T13:41:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.steffe.net/index.php?title=FreeBSD&amp;diff=282&amp;oldid=prev</id>
		<title>Steffe: Created page with &quot;== Enlarging disk space ==  For full reference: https://docs.freebsd.org/en/books/handbook/disks/#disks-growing  Shut down your VM, make a backup of it and then resize the hard disk drive. Then boot up FreeBSD again and do:  gpart show It will show one of your partitions as CORRUPT. Fix it with something like:  gpart recover vtbd0  gpart show It should now be OK. Note the index number of the partition you want to resize, then do something like:  gpart resize -i 2 vtbd0 N...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.steffe.net/index.php?title=FreeBSD&amp;diff=282&amp;oldid=prev"/>
		<updated>2025-04-16T20:41:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Enlarging disk space ==  For full reference: https://docs.freebsd.org/en/books/handbook/disks/#disks-growing  Shut down your VM, make a backup of it and then resize the hard disk drive. Then boot up FreeBSD again and do:  gpart show It will show one of your partitions as CORRUPT. Fix it with something like:  gpart recover vtbd0  gpart show It should now be OK. Note the index number of the partition you want to resize, then do something like:  gpart resize -i 2 vtbd0 N...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Enlarging disk space ==&lt;br /&gt;
&lt;br /&gt;
For full reference: https://docs.freebsd.org/en/books/handbook/disks/#disks-growing&lt;br /&gt;
&lt;br /&gt;
Shut down your VM, make a backup of it and then resize the hard disk drive. Then boot up FreeBSD again and do:&lt;br /&gt;
 gpart show&lt;br /&gt;
It will show one of your partitions as CORRUPT. Fix it with something like:&lt;br /&gt;
 gpart recover vtbd0&lt;br /&gt;
 gpart show&lt;br /&gt;
It should now be OK. Note the index number of the partition you want to resize, then do something like:&lt;br /&gt;
 gpart resize -i 2 vtbd0&lt;br /&gt;
Not specifying any size implies growing the partition to fit the physical size.&lt;br /&gt;
&lt;br /&gt;
Now, for the final step to resize the file system, make sure you have a backup in place, check what the partition device name is and then do something like:&lt;br /&gt;
 sysctl kern.geom.debugflags=16&lt;br /&gt;
 growfs /dev/vtbd0p2&lt;br /&gt;
The first command disables some safety features. This is required to resize a mounted file system &amp;quot;on the fly&amp;quot;. Now reboot your system and all should hopefully be OK!&lt;/div&gt;</summary>
		<author><name>Steffe</name></author>
	</entry>
</feed>