Extend Partition: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "To extend the size of a partition for CentOS. This only works if it is the last partition in the list. This can be accomplished for standard or extended partitions.<br><br> De...")
 
No edit summary
Line 6: Line 6:
</pre>
</pre>


or
or depending on your partition type.


<pre>
<pre>
resize2fs /dev/sda5
</pre>
</pre>


[[Category : CentOS]]
[[Category : CentOS]]

Revision as of 06:56, 15 December 2017

To extend the size of a partition for CentOS. This only works if it is the last partition in the list. This can be accomplished for standard or extended partitions.

Delete the partition and then re-create but make sure the starting point is the same.

xfs_growfs /dev/sda5

or depending on your partition type.

resize2fs /dev/sda5