Disk formatting is a process to configure the data-storage devices such as hard-drive, floppy disk and flash drive when we are going to use them for the very first time or we can say initial usage. Disk formatting is usually required when new operating system is going to be used by the user. It is also done when there is space issue and we require additional space for the storage of more data in the drives. When we format the disk then the existing files within the disk is also erased.
We can perform disk formatting on both magnetic platter hard-drives and solid-state drives.
When we are going to use hard-drive for initial use it is going to search for virus. It can scan for virus and repair the bad sectors within the drive. Disk formatting has also the capability to erase the bad applications and various sophisticated viruses.
As we know that disk formatting deletes data and removes all the programs installed with in the drive. So it can be done with caution. We must have the backup of all the data and applications which we require. No-doubt disk formatting requires time. But the frequent formatting of the disk decreases the life of the hard-drive. 
Figure – Formatting process of disk
1. Low-level Formatting :
Low level formatting is a type of physical formatting. It is the process of marking of cylinders and tracks of the blank hard-disk. After this there is the division of tracks into sectors with the sector markers. Now-a-days low-level formatting is performed by the hard-disk manufactures themselves.
We have data in our hard-disk and when we perform low-level formatting in the presence of data in the hard-disk all the data have been erased and it is impossible to recover that data. Some users make such a format that they can avoid their privacy leakage. Otherwise low-level will cause damage to hard-disk shortens the service-life.
Therefore, this formatting is not suggested to users.
2. Partitioning :
As suggesting from the name, partitioning means divisions. Partitioning is the process of dividing the hard-disk into one or more regions. The regions are called as partitions.
It can be performed by the users and it will affect the disk performance.
3. High-level Formatting :
High-level formatting is the process of writing. Writing on a file system, cluster size, partition label, and so on for a newly created partition or volume. It is done to erase the hard-disk and again installing the operating system on the disk-drive.

Figure – Steps of High-level Formatting
Firstly High-level formatting clears the data on hard-disk, then it will generate boot information, then it will initialise FAT after this it will go for label logical bad sectors when partition has existed.
Formatting done by the user is the high-level formatting.
Generally, It does not harm the hard-disk.It can be done easily with the Administrator, Windows snap-in Disk Management tool, diskpart, etc.
We can use such a format to fix some problems like errors in the file system, corrupted hard-drive and develop bad sectors.
Similar Reads
Disk Stripping (RAID 0)
RAID 0 stands for Redundant Array of Independent Disks 0. RAID 0, also known as disk striping, Disk Striping is the technique of breaking data into multiple blocks and storing those blocks on several storage disks. A minimum of 2 disks are used in RAID 0. RAID 0 does not provide data redundancy and
4 min read
Disk Mirroring (RAID 1)
RAID 1 stands for Redundant Array of Independent Disks 1. RAID 1, also known as disk mirroring, is the technique of storing a copy of the same data in another disk. Here, the data is not broken into blocks rather a duplicate copy of the data is stored in another disk. A minimum of 2 disks are requir
3 min read
Disk Partitioning in Linux
Disk Partitioning is the process of dividing a disk into one or more logical areas, often known as partitions, on which the user can work separately. It is one step of disk formatting. If a partition is created, the disk will store the information about the location and size of partitions in the par
8 min read
Magnetic Disk Memory
A magnetic Disk is a type of secondary memory that is a flat disc covered with a magnetic coating to hold information. It is used to store various programs and files. The polarized information in one direction is represented by 1, and vice versa. The direction is indicated by 0. Magnetic disks are l
1 min read
Disk Management in Operating System
Disk management is one of the critical operations carried out by the operating system. It deals with organizing the data stored on the secondary storage devices which includes the hard disk drives and the solid-state drives. It also carries out the function of optimizing the data and making sure tha
8 min read
Disk Attachment in Operating System
The disk attachment is a special feature that allows you to attach a disk (such as a USB flash drive) to your computerâs hard drive. Users can use this feature to store files in the cloud or transfer files between computers on their network. Host-Attached StorageHost-attached storage (HAS) is a form
5 min read
OS File Operations
File operations within an operating system (OS) encompass a set of essential tasks and actions directed at files and directories residing within a computer's file system. These operations are fundamental for the effective management and manipulation of data stored on various storage devices. In this
4 min read
Bad Block in Operating system
Bad Block is an area of storing media that is no longer reliable for the storage of data because it is completely damaged or corrupted. We know disk have moving parts and have small tolerances, they are prone to failure. In case when the failure is complete, then the disk needs to be replaced and it
5 min read
Inode in Operating System
In Unix based operating system each file is indexed by an Inode. Inode are special disk blocks they are created when the file system is created. The number of Inode limits the total number of files/directories that can be stored in the file system. An Inode is a data structure in UNIX operating sys
3 min read
Disk Defragmentation in Operating System
In the world of computer storage management, retaining the performance of Hard Disk Drives (HDDs) is important for ensuring easy operation and responsiveness of the running system. One key method used to obtain this is disk defragmentation. As data is written, modified, and deleted on a disk through
5 min read