<?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 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/disk-partition/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 28 Apr 2020 22:54:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to partition the hard disk in Windows 10.</title>
		<link>https://www.osradar.com/how-to-partition-the-hard-disk-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-partition-the-hard-disk-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Tue, 28 Apr 2020 22:54:24 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[disk management]]></category>
		<category><![CDATA[disk partition]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[partition disk]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=1615</guid>

					<description><![CDATA[<p>Hi. The hard drive is a must for running an operating system. In fact, all the information related to the system, as well as the programs installed, is dumped on it. In addition, it also serves to store the user&#8217;s personal information. Such as, documents, music, photos, etc. As you can see, it&#8217;s vital hardware [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-partition-the-hard-disk-in-windows-10/">How to partition the hard disk in Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi. The hard drive is a must for running an operating system. In fact, all the information related to the system, as well as the programs installed, is dumped on it. In addition, it also serves to store the user&#8217;s personal information. Such as, documents, music, photos, etc. As you can see, it&#8217;s vital hardware for the performance of the PC. So, keeping all that information together on a single disk may not be ideal. For that reason, some computers have two or more hard disks to store information. However, most users do not have that advantage. But, there is the alternative of partitioning the hard disk. That is, dividing it up to distribute all the data. Or even, to be able to install another system. To do that, <a href="https://www.microsoft.com/en-us/software-download/windows10" target="_blank" rel="noreferrer noopener" aria-label="Windows 10  (opens in a new tab)">Windows 10 </a>has a native tool. In this post, we will see how to partition the hard disk in Windows 10.</p>



<h2>How to partition hard disks with Disk Management in Windows 10</h2>



<p>You might be a little afraid of the process of partitioning the hard drive. And it&#8217;s logical to worry, since some damage to the file system, can leave the system unusable. But do not worry, following the instructions I give you, you should not have any problem. In the first place, it is not necessary to download any third-party software, as Windows has its own tool. This is Disk Management and can be accessed from File Explorer. Consequently, the first thing you have to do is press the Win+E combination. Once there, please right-click on <strong>This PC </strong>and then select <strong>Manage</strong>.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu3.png" alt="From the file explorer, right-click on this PC. Then select Manage." class="wp-image-1616"/><figcaption>From the file explorer, right-click on this PC. Then select Manage.</figcaption></figure>



<p>The Computer Management window will be displayed immediately. Please scroll down to <strong>Disk Management</strong>.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu4.png" alt="Please go to disk management." class="wp-image-1618"/><figcaption>Please go to disk management.</figcaption></figure>



<p>The disk(s) present on the computer will then be displayed. In this case, we will reduce the disk to create a new partition. Please note that it is necessary to have physical space available on the disk in order to complete the operation. Please select the disk or partition and right-click on it. Then select <strong>Shrink Volume.</strong></p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu5.png" alt="Shrink Volume" class="wp-image-1620"/><figcaption>Shrink Volume</figcaption></figure>



<p>In this box, you can see the size of the disk before shrinking. In addition to the size available for shrinkage. According to these values, it sets the size of the volume to shrink. After setting the numbers, please press <strong>Shrink</strong> to start the process.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu6.png" alt="Please press Shrink to start the work." class="wp-image-1621"/><figcaption>Please press Shrink to start the work.</figcaption></figure>



<h2>How to create a new partition.</h2>



<p>After a few moments, the process will have been successfully completed. Back to the previous screen, the new space gained is displayed. However, it shows the <strong>Unallocated</strong> label.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu7.png" alt="Disk management showing Unallocated partition." class="wp-image-1622"/><figcaption>Disk management showing Unallocated partition.</figcaption></figure>



<p>Then, please right click and select <strong>New Simple Volume</strong>.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu8.png" alt="Start the process to create a new simple volume." class="wp-image-1623"/><figcaption>Start the process to create a new simple volume.</figcaption></figure>



<p>Then the wizard for creating a new single volume will start. Press <strong>Next </strong>to continue.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu9.png" alt="Press Next to continue." class="wp-image-1625"/><figcaption>Press Next to continue.</figcaption></figure>



<p>You can assign the size of the new volume, according to the available free space. Press <strong>Next</strong> to continue.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu10.png" alt="" class="wp-image-1627"/><figcaption>Assign the size to the new volume, depending on the free size available.</figcaption></figure>



<p>In the following box, you can assign a letter to the new drive. Once again, press <strong>Next</strong> to continue. </p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu11.png" alt="" class="wp-image-1629"/><figcaption>Assign a letter to the new drive.</figcaption></figure>



<p>After assigning the letter, it is time to format the unit. You can also add a label to the Volume. Press <strong>Next</strong> to continue.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu12.png" alt="Format and assign a label to the Volume." class="wp-image-1631"/><figcaption>Format and assign a label to the Volume.</figcaption></figure>



<p>Next, check that everything is in order. Press <strong>Finish</strong> creating the new volume. </p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu13.png" alt="Press Finish to create the new volume." class="wp-image-1633"/><figcaption>Press Finish creating the new volume.</figcaption></figure>



<p>After a few moments and back to the previous screen, you can see the new volume created.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu14.png" alt="Disk management showing the new partition." class="wp-image-1634"/><figcaption>Disk management showing the new partition.</figcaption></figure>



<p>To view the new partition from the file explorer, please press the Win+E combination.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/04/ubuntu15.png" alt="File Explorer showing the new partition." class="wp-image-1637"/><figcaption>File Explorer showing the new partition.</figcaption></figure>



<h2>Conclusion</h2>



<p>This way we have seen how to partition the hard disk in Windows 10. It is a somewhat long and complex process. But with these instructions, there is no risk. All right, that&#8217;s all for now, before I go I invite you to go through our post about installing <a rel="noreferrer noopener" aria-label="Ubuntu 20.04  (opens in a new tab)" href="https://windowsmen.com/how-to-install-ubuntu-20-04-lts-on-windows-10/" target="_blank">Ubuntu 20.04 </a>on Windows 10.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-partition-the-hard-disk-in-windows-10/">How to partition the hard disk in Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-partition-the-hard-disk-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to manage disks in Windows 10</title>
		<link>https://www.osradar.com/how-to-manage-disks-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-manage-disks-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 22 Oct 2019 23:33:33 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[computer management]]></category>
		<category><![CDATA[disk management]]></category>
		<category><![CDATA[disk partition]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[partition windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14873</guid>

					<description><![CDATA[<p>Hello, how are you? A fundamental element within an operating system is the hard drive. When we do a clean installation of Windows 10, the system takes care of partitioning and formatting the hard drive. Additionally, this process is done automatically and many times without the user interfering. However, once we have the system ready [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-manage-disks-in-windows-10/">How to manage disks in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, how are you? A fundamental element within an operating system is the hard drive. When we do a clean installation of Windows 10, the system takes care of partitioning and formatting the hard drive. Additionally, this process is done automatically and many times without the user interfering. However, once we have the system ready to use, it is likely that we need to partition the hard drive. The reasons may be: create a backup partition or a partition for another operating system. There are currently several options on the market for <a rel="noreferrer noopener" aria-label="partitioning (opens in a new tab)" href="https://www.partitionwizard.com/" target="_blank">partitioning</a> hard disks. However, windows 10 has its own native tool to do this. For that reason, I&#8217;m going to show you how to manage hard disks in Windows 10.</p>



<h2>Run Computer Management</h2>



<p>The first thing we have to do is open an application called Computer Management. With this intention,  go to the windows explorer by clicking on the folder icon located in the taskbar.</p>



<figure class="wp-block-image"><img loading="lazy" width="290" height="42" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/cache8.jpg" alt="Open Windows Explorer" class="wp-image-14883"/><figcaption>Open Windows Explorer</figcaption></figure>



<p>Once there, please select This PC in the left column. Right-click on it and select <strong>Manage</strong></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/mana-1024x730.jpg" alt="Run computer management" class="wp-image-14887" srcset="https://www.osradar.com/wp-content/uploads/2019/10/mana.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/mana-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/mana-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/mana-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/mana-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/mana-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Run computer management</figcaption></figure>



<p>A new window with all Computer Management functions will open. Please click on Storage, then on Disk Management</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/mana2-1024x730.jpg" alt="Running Disk Management" class="wp-image-14890" srcset="https://www.osradar.com/wp-content/uploads/2019/10/mana2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/mana2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/mana2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/mana2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/mana2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/mana2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Running Disk Management</figcaption></figure>



<p>We will immediately see the status of the installed hard disks. We will also see information related to each partition, such as its name, status, and use. To manage partitions, you just need to right-click the mouse on the hard disk. In the menu that unfolds we will see the options to extend, reduce, delete or format the volume. You can also open and explore, mark the partition as active and change the drive letter. Besides, you can enter the properties of the disk. In this case, we will see how to reduce the size of the partition. With this intention, right-click the mouse and select <strong>Shrink Volume</strong>. According to the amount of memory available on the disk, we can reduce it. The menu is very intuitive, it will indicate the total size before and after reducing it. Once you have made the necessary adjustments, just press <strong>Shrink </strong>to start the process.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/mana3-1024x728.jpg" alt="Shrinking a volume in Windows 10" class="wp-image-14891" srcset="https://www.osradar.com/wp-content/uploads/2019/10/mana3.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/mana3-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/mana3-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/mana3-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/mana3-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/mana3-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Shrinking a volume in Windows 10</figcaption></figure>



<p>According to the amount of memory available on the disk, we can reduce it. The menu is very intuitive, it will indicate the total size before and after reducing it. Once you have made the necessary adjustments, just press Shrink to start the process. Please note that if you wish to extend a volume, or remove it to create a new partition, just repeat the above process. You just have to change the order to start the process.</p>



<h2>Conclusion</h2>



<p>We have seen how to manage hard disks in Windows 10. With this intention, we have used the native Windows 10 tool called Disk Management. It&#8217;s a very interesting alternative since you don&#8217;t have to download files from the internet. Also, it is not necessary to restart the computer to see the changes. All right, that&#8217;s it for now. Before I say goodbye, I invite you to review our post on <a rel="noreferrer noopener" aria-label="Overwrite (opens in a new tab)" href="https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/" target="_blank">Overwrite</a> in Windows 10. This is a tool to prevent you from recovering information from our hard drive.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-manage-disks-in-windows-10/">How to manage disks in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-manage-disks-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Manage partitions in CentOS 8 / RHEL 8</title>
		<link>https://www.osradar.com/how-to-manage-partitions-in-centos-8-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-manage-partitions-in-centos-8-rhel-8/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Sat, 28 Sep 2019 02:33:44 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[disk partition]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13950</guid>

					<description><![CDATA[<p>Disk partitioning or disk slicing is the creation of one or more regions on secondary storage, so that each region can be managed separately. These regions are called partitions. It is typically the first step of preparing a newly installed disk, before any file system is created. So, in this post, you will learn about [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-manage-partitions-in-centos-8-rhel-8/">How to Manage partitions in CentOS 8 / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Disk partitioning or disk slicing is the creation of one or more regions on secondary <g class="gr_ gr_11 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-del replaceWithoutSep" id="11" data-gr-id="11">storage,</g> so that each region can be managed separately. These regions are called partitions. It is typically the first step of preparing a newly installed <g class="gr_ gr_12 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-del replaceWithoutSep" id="12" data-gr-id="12">disk,</g> before any file system is created. So, in this post, you will learn about manage partitions in centOS 8.</p>



<p>The disk stores the information about the partition locations and sizes in an area known as the partition table that the operating system reads before any other part of the disk. Each partition then appears to the operating system as a distinct &#8220;logical&#8221; disk that uses part of the actual disk. System administrators use different programs to create, resize, delete, and manipulate the partitions. </p>



<p>In this article we will use fdisk program to create partition. Partitioning allows the use of different filesystems to be installed for different kinds of files. Separating user data from system data can prevent the system partition from becoming full and rendering the system unusable. Partitioning can also make backing up easier.</p>



<p>List/view all Disk Partitions in CentOS 8.</p>



<pre class="wp-block-preformatted">fdisk   -l  </pre>



<p>In linux all hard disks names show as sda, sdb, sdc etc.</p>



<p>sda means hard disk 1<br>sdb means hard disk 2<br>sdc means hard disk 3 and so on..</p>



<h2>Hard Disk Partitions names:</h2>



<p>Sda&gt; sda1, sda2 etc</p>



<p>sda1 mean partitions 1 of sda(Hard disk 1)<br>So, sda2 mean partitions 2 of sda(Hard disk 1)</p>



<p>To Check File System Disk Space Usage and mount point of partitions.</p>



<pre class="wp-block-preformatted">df -h    </pre>



<p>We will create and configure partition in four steps.</p>



<p><strong>1- Create partition<br>2- Partprobe<br>3- Format Partition (Filesystem)<br>4- Mount Partition</strong></p>



<p>Then we will also see that how to <strong>unmount</strong> and <strong>delete</strong> a created partition.</p>



<h2>Manage partitions in CentOS 8. Step 1- Create partition</h2>



<p>a- Run fdisk command to see disks and their partitions.</p>



<p>In fdisk -l command you have seen that a hard drive /dev/sdb has no partitions, so we will create a new partition on it.</p>



<pre class="wp-block-preformatted"> fdisk –l  </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-1024x614.png" alt="" class="wp-image-13954" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-10-04.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>b-    Choose desired hard disk</p>



<pre class="wp-block-preformatted">fdisk    /dev/sdb</pre>



<p>c-    Press <strong>m</strong> for help.<br>d-    Press <strong>p</strong> to print partition table.<br>e-    Press <strong>n</strong> to create new partition.<br>f-    Press <strong>p</strong> to make primary partition.<br>g-    Press <strong>1</strong> is created first partition on selected disk.<br>       There are 1-4 partition number. We can type any one number from them.<br>h-    Press <strong>enter</strong> to leave first cylinder as default.<br>i-    Now assign space to partition. Use <strong>+</strong> to assign space e.g.<br> <strong>+1024M</strong> and press enter.<br>j-    Press <strong>p</strong> to print partition table.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-1024x614.png" alt="" class="wp-image-13957" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-15-56.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>k-    Press <strong>w</strong> to write/save partition.</p>



<p></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="325" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26-1024x325.png" alt="" class="wp-image-13958" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26-1024x325.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26-300x95.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26-768x244.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26-696x221.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26-1068x339.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-16-26.png 1279w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 2- Partprobe</h2>



<p>We have created partition but Linux kernel/Operating system did not know that a new partition has been added. To inform operating system about partition table changes. We can do two things. We will use second method it is recommended.</p>



<p>Restart machine <strong>(It is not recommended)</strong><br>Run partprobe command <strong>(Recommended)</strong></p>



<p>The partprobe command is used to inform the operating system of partition table changes without restarting the machine.</p>



<p><strong>Note:</strong> Always run partprobe command after partition creation.</p>



<pre class="wp-block-preformatted">partprobe<br>fdisk -l  </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-1024x614.png" alt="" class="wp-image-13959" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-17-48.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 3-    Format Partition (Filesystem)</h2>



<p>We can set file system on partition in two different commands. We can use any of the following.</p>



<p>First Command</p>



<pre class="wp-block-preformatted">mkfs    -t  ext4   /dev/sdb1</pre>



<p><strong>mkfs </strong>           make filesystem<br> <strong>-t</strong>                to set filesystem type<br><strong> ext4</strong>            It is a filesystem<br><strong> /dev/sdb1</strong>  partition name</p>



<p></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="337" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-1024x337.png" alt="" class="wp-image-13960" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-1024x337.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-300x99.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-768x253.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-696x229.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-1068x351.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37-1277x420.png 1277w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-19-37.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>OR</strong></p>



<p>Now, second Command</p>



<pre class="wp-block-preformatted">mkfs.ext4  /dev/sdb1</pre>



<p>When we press Tab after <strong>mkfs</strong> we will see all file systems.</p>



<h2>Manage partititions on CentOS. Step 4- Mount Partition</h2>



<p>First create a mount point (a directory) /disk1 and use mount command to mount /<strong>dev/sdb1</strong></p>



<p>a-    Make a directory where we mount partition.</p>



<pre class="wp-block-preformatted">mkdir /disk1</pre>



<p>b-    Now mount partition on created directory.</p>



<pre class="wp-block-preformatted">mount  /dev/sdb1   /disk1</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="150" src="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27-1024x150.png" alt="" class="wp-image-13961" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27-1024x150.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27-300x44.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27-768x113.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27-696x102.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27-1068x157.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-27.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>c-    See mounted partitions</p>



<pre class="wp-block-preformatted">df –h</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="332" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45-1024x332.png" alt="" class="wp-image-13962" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45-1024x332.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45-300x97.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45-768x249.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45-696x226.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45-1068x346.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-21-45.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>d-    Mount partition permanently so it can also mount after system reboot.</p>



<p>The configuration file <strong>/etc/fstab</strong> contains the necessary information to automate the process of mounting partitions. In simple words <strong>/etc/fstab</strong> file is used to auto mount partitions.</p>



<p>syntax to add partition in <strong>/etc/fstab</strong> file:</p>



<p>Add partition in /etc/fstab to mount it permanent so if system will reboot partition will not unmount. Run following command.</p>



<pre class="wp-block-preformatted">vi /etc/fstab</pre>



<p>then add below lines in in this file.</p>



<pre class="wp-block-preformatted">/dev/sdb1            /disk1      ext4            defaults        0     0</pre>



<p>Save and quite.</p>



<p>Above two zero means filesystem will not run repair command on boot time on that partition.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-1024x614.png" alt="" class="wp-image-13963" srcset="https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/CentOS-8-64-bit-2019-09-26-20-22-44.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Unmount a partition</h2>



<p>If you want to unmount a partition use following command, where /dev/sdb1 will be replaced with your parition.</p>



<pre class="wp-block-preformatted">umount    /dev/sdb1</pre>



<p>Mount all partitions. It will read /etc/fstab file and mount all partitions which are configured in that file.</p>



<pre class="wp-block-preformatted">mount    -a</pre>



<h2>Delete a partition:</h2>



<pre class="wp-block-preformatted">df –h</pre>



<p>a-    Unmount partition. If we does not un-mount, partition will not delete.</p>



<pre class="wp-block-preformatted">umount    /dev/sdb1</pre>



<p>b-    Choose disk/drive.</p>



<pre class="wp-block-preformatted">fdisk    /dev/sdb</pre>



<p>c-    Press p to print partitions.<br>d-    Press d to delete partition.<br>e-    Now select partition number, we want to delete. E.g 1 is sdb1<br>Press 1 and enter<br>f-    Press w to write/save changes.<br>g-    Now run partprobe command.</p>



<pre class="wp-block-preformatted">partprobe</pre>



<p>That&#8217;s it, You have briefly learned how to create, mount and set filesystems on a partition. We have also mounted, unmount created a partition and also check how to delete it. So, you know how to manage partitions in CentOS 8.</p>



<p>Also, you can read our posts about CentOS 8 in this <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="https://www.osradar.com/tag/centos-8/" target="_blank">link</a>.</p>



<p>Please share this post and join our <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="Telegram channel (opens in a new tab)">Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-manage-partitions-in-centos-8-rhel-8/">How to Manage partitions in CentOS 8 / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-manage-partitions-in-centos-8-rhel-8/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
