Normally, commands are not simply used to monitor through command lines. Still, they are used within scripts which then work with the output obtained to perform certain automation or execute specific actions within the server, depending on the objective of the Administrator....
On the internet, you will find plenty of tools forchecking disk space usagein Linux. However, Linux has a strong built-in utility called ‘df‘. The ‘df‘ command stands for “disk filesystem“, it is used to get a full summary of available and used disk space usage of the file sys...
Step 2: Create a New Partition in Linux We have newly added our second drive to our system, but in order to use it as a separate partition for ourhomedirectory, we need to create a partition on it. At the moment it doesn’t have one since it is a new drive. Thefdisk commandconfirm...
Besides all the methods described above, there is also a quick method in Linux that allows you to check the current condition, temperature, cycle count, power-on hours, and an Overall Assessment of your hard disk. In Linux, for partition editing tasks, most users are very fond of usingGpar...
This check will run automatically at boot time when a filesystem inconsistencies detected. Also, can be run manually as needed. You can use the fsck command to repair corrupted file systems when the system fails to boot, or a partition can’t be mounted, or if it’s become read-only. ...
If you are on an RHEL, Rocky Linux, or Fedora server, you can install it by typing: sudodnfinstallparted Copy Every other command used in this tutorial should be preinstalled, so you can move on to the next step. Step 2 — Identify the New Disk on the System ...
Change UUID of Linux Partition Follow the below steps to change the UUID of Linux Partition. 1. Run the below command to find out UUID of the devices. # blkid /dev/mapper/centos_centos71-root: UUID="2bc8e0d4-64b5-4dc8-bf4a-024fc980d98a" TYPE="ext4" ...
Using a partition for the swap space Linux includes many native tools to create and manage partitions. You can choose any one you prefer. In this tutorial, we will use thegdiskcommand. It needs the disk path as an argument. It allows us to create, update, and delete partitions on the ...
5 Ways to Check disk size in Linux 4 Ways to Check Disk Partition with Examples in Linux How I Fixed a disk performance issue in Minutes – A Step by Step Guide to Optimize Linux System Iotop is an interactive real-time I/O usage monitoring tool to check disk read and write bandwidth ...
To Delete partition first, we need to list out the available partitions and select the appropriate disk. For that, we can use the fdisk command to list out and delete the selected partition.