<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Disk Partition &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/disk-partition/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 04 Feb 2021 09:53:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Disk Partition &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Resize the Disk Partition, using CLI, After Upgrading my Tariff Plan on my VPS</title>
		<link>https://help.hostry.com/knowledge-base/how-to-resize-the-disk-partition-after-upgrading-my-tariff-plan-on-my-vps/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-resize-the-disk-partition-after-upgrading-my-tariff-plan-on-my-vps/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 04 Feb 2021 08:46:36 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3052</guid>

					<description><![CDATA[Hostry offers our customers a VPS tariff plan upgrade. This procedure is performed by requesting technical support. After your plan has been successfully changed, this will be displayed on your orders page. In addition, an important procedure should be followed &#8211; disk enlargement. We recommend using gparted for this. This [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hostry offers our customers a<strong> <a href="https://hostry.com/products/vps/">VPS</a></strong> tariff plan upgrade. This procedure is performed by requesting technical support. After your plan has been successfully changed, this will be displayed on your <strong><a href="https://hostry.com/orders/">orders page</a></strong>. In addition, an important procedure should be followed &#8211; disk enlargement. We recommend using gparted for this. This article aims to help you perform this disk expansion procedure quickly, efficiently, and without losing your data. It is worth informing that after successful completion of this procedure, the server will be <strong>rebooted</strong> for a few seconds. Be sure to take this factor into account and choose a convenient time for yourself to perform this procedure, so the Linux kernel takes care, that the virtual drive has been expanded. </p>



<h2 id="update-your-system-files" id="grown-the-partition-and-file-system" >Grown the partition and File System</h2>



<p>For the following file systems: <strong>xfs</strong>, <strong>ext4</strong>, <strong>btrfs</strong>, <strong>ntfs</strong> (for Windows, starting from Vista) is possible to growth online (i.e. without unmounting before proceeding).<strong> Ntfs</strong> and <strong>btrfs</strong> even can shrink online, other file systems only then aren&#8217;t mounted). </p>



<p>First of all, you need the <strong>root </strong>access to your VPS server.  After login, you need to run the <strong>lsblk</strong> command. Here you can see all disk devices, their volume, and partitions. In this screenshot, you can see that <strong>vda</strong> has a size o<strong>f 50 GB</strong>, and in this case, <strong>vda1</strong> + <strong>vda2</strong> have <strong>30 GB</strong>. After that, please enter the <strong>parted /dev/vda</strong></p>



<figure class="wp-block-image size-large"><img width="864" height="365" src="https://help.hostry.com/wp-content/uploads/2021/02/Step1-1.png" alt="" class="wp-image-3062" srcset="https://help.hostry.com/wp-content/uploads/2021/02/Step1-1.png 864w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-300x127.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-768x324.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-50x21.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-600x253.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-320x135.png 320w" sizes="(max-width: 864px) 100vw, 864px" /></figure>



<p>As we can see, the command <strong>parted </strong>is run. Next, we run the command &#8211; <strong>p</strong> (Print), which shows the partitions and offers to change/fix the GPT table so that it matches the size of the virtual disk.<br>We agree &#8211; we write: <strong>Fix</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="868" height="331" src="https://help.hostry.com/wp-content/uploads/2021/02/2.png" alt="" class="wp-image-3067" srcset="https://help.hostry.com/wp-content/uploads/2021/02/2.png 868w, https://help.hostry.com/wp-content/uploads/2021/02/2-300x114.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/2-768x293.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/2-50x19.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/2-600x229.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/2-320x122.png 320w" sizes="(max-width: 868px) 100vw, 868px" /></figure>



<p>After that, we need to run <strong>resizepart 2</strong> &#8211; this is the command that marks the resize of the partition. You can take the final number from the size of the disk &#8211; the size can be seen on screen 2 &#8211; <strong>53, 7GB</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="866" height="306" src="https://help.hostry.com/wp-content/uploads/2021/02/3.png" alt="" class="wp-image-3072" srcset="https://help.hostry.com/wp-content/uploads/2021/02/3.png 866w, https://help.hostry.com/wp-content/uploads/2021/02/3-300x106.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/3-768x271.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/3-50x18.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/3-600x212.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/3-320x113.png 320w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>Finally, you need to use the q command &#8211; it exits parted. For the ext3 / ext4 filesystem format, the following command:<strong> resize2fs /dev/vda2</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="872" height="200" src="https://help.hostry.com/wp-content/uploads/2021/02/4.png" alt="" class="wp-image-3078" srcset="https://help.hostry.com/wp-content/uploads/2021/02/4.png 872w, https://help.hostry.com/wp-content/uploads/2021/02/4-300x69.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/4-768x176.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/4-50x11.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/4-600x138.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/4-320x73.png 320w" sizes="(max-width: 872px) 100vw, 872px" /></figure>



<p>Done! At this stage, the changes are complete.</p>



<p>For <strong>xfs</strong>, you can use the command: <strong>xfs_growfs</strong></p>



<p>For <strong><strong>btrfs</strong></strong>, you can use the command: <strong>btrfs filesystem resize</strong></p>



<p>For <strong><strong><strong>ext4</strong></strong></strong>, you can use the command:<strong> resize2fs /dev/vda2</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-resize-the-disk-partition-after-upgrading-my-tariff-plan-on-my-vps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
