<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_Resize_Disk</id>
		<title>Ubuntu Resize Disk - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_Resize_Disk"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Ubuntu_Resize_Disk&amp;action=history"/>
		<updated>2026-05-22T16:16:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Ubuntu_Resize_Disk&amp;diff=3555&amp;oldid=prev</id>
		<title>Ledhed: Created page with &quot;== Overview == Sometimes you have to resize a VMs disk. This is a fairly trivial process, open the VMs settings, increase the disks size. Go to guest and resize the partition...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Ubuntu_Resize_Disk&amp;diff=3555&amp;oldid=prev"/>
				<updated>2023-02-14T09:11:11Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview == Sometimes you have to resize a VMs disk. This is a fairly trivial process, open the VMs settings, increase the disks size. Go to guest and resize the partition...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
Sometimes you have to resize a VMs disk. This is a fairly trivial process, open the VMs settings, increase the disks size. Go to guest and resize the partition and filesystem, done!&amp;lt;br&amp;gt;&lt;br /&gt;
What happens if your VM doesn't see the increase in disk size?&lt;br /&gt;
&lt;br /&gt;
== Ubuntu (and probably other flavors of Linux) ==&lt;br /&gt;
As root run the following command to initiate a rescan of the disk.&lt;br /&gt;
 echo 1 &amp;gt;/sys/class/block/sdb/device/rescan&lt;br /&gt;
&lt;br /&gt;
You can verify the size changes by running:&lt;br /&gt;
 fdisk -l /dev/sdb&lt;br /&gt;
&lt;br /&gt;
You can also grow the partition by running:&lt;br /&gt;
 growpart /dev/sdb 1&lt;br /&gt;
This will grow the first partition to fill the disk&lt;br /&gt;
&lt;br /&gt;
You can also resize the filesystem by running:&lt;br /&gt;
 resize2fs /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
https://kerneltalks.com/disk-management/how-to-rescan-disk-in-linux-after-extending-vmware-disk/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Ubuntu]][[category:Linux]][[category:ESXi]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>