Windows: Formatting a hard drive

Formatting - Formatting a hard drive
Before trying to understand formatting, you first need to understand how a hard drive works. Many people do not distinguish low-level formatting (also called physical formatting) from highlevel formatting (also called logical formatting).
Even though hard drives can be very small, they still contain millions of bits and therefore need to be organised so that information can be located. This is the purpose of the file system. The surface of each cylinder, which is originally uniform, is divided during formatting (by divided we mean of course that the surface particles are magnetised...) into little parcels that can be more easily located.

Low-level formatting
The purpose of low-level formatting is to divide the disk surface into basic elements: 
tracks 
sectors
cylinders

Remember that a hard drive consists of several circular platters rotating around an axis and covered on either side by a magnetic oxide which, since it is polarised, can be used to store data.
The tracks are the concentric areas written on both sides of a platter.

Finally, these tracks are divided into pieces called sectors.
There are millions of tracks and each has around 60 to 120 sectors.

A cylinder refers to all the data located on the same track of different platters (i.e. vertically on top of each other) as this forms a "cylinder" of data in space.
Physical formatting therefore consists in organising the surface of each platter into entities called trackers and sectors, by polarising the disk areas using the write heads. Tracks are numbered starting from 0, then the heads polarise concentrically the surface of the platters. When the head goes from one track to the next, it leaves a gap. Each track is itself organised into sectors ( numbered starting from 1) and separated by gaps. Each of these sectors starts with an area reserved for system information called a prefix and ends with an area called a suffix The purpose of low-level formatting is therefore to prepare the disk surface to receive data (and therefore does not depend on the operating system) and to mark "defective sectors" using tests performed by the manufacturer.
When you buy a hard drive, it has already undergone low-level formatting. SO YOU DO NOT NEED TO PERFORM LOW-LEVEL FORMATTING!

Checksum
During the formatting, check tests (algorithms allowing the validity of sectors to be tested using checksums) are performed and each time a sector is considered defective, the (invalid) checksum is written in the prefix. It can no longer be used thereafter and is said to be "marked defective". When the disk reads the data, it sends a value that depends on the content of the sent packet, and which is initially stored with the data. The system calculates this value based on the data received, and then it compares it with the one that is stored with the data. If these two values are different, the data are no longer valid and there is probably a problem with the disk surface. The cyclic redundancy check (CRC), is based on the same principle to check the integrity of a file.
Analysis utilities such as scandisk or chkdsk operate differently:
they write data on sectors considered to be valid, and then read them and compare them. If they are the same, the utility goes on to the next sector, otherwise it marks the sector as defective.

High-level formatting
Logical formatting occurs after the low-level formatting. It creates a file system on the disks that will allow an operating system (DOS, Windows 95, Linux, OS/2, Windows NT, ...) to use the disk space to store and access files.
Operating systems use different file systems, so the type of logical formatting will depend on the operating system you install. So, if you format your disk with a single file system, this naturally limits the number and type of operating systems that you can install (in fact, you can only install operating systems that use the same file system).
Fortunately, there is a solution to this problem which is to create partitions. Each of the partitions can effectively have its own file system, and you can therefore install different types of operating systems.
If you forget to use the "/s" switch when formatting a hard drive using the format command under DOS, it may prevent the operating system from starting. The system will then display the following message: 
Non System disk / Disk error
In this case, it is useful to have a system disk that you can boot from and execute the command sys a: c:.
Name

Azure Backup Database Clustering Crash Dumps DBCC Deadlock Link Server Log Shipping Maintenance Migration Mirroring Monitoring Performance Tuning Permissions Post Installations Prerequisites Replication Restore Database SQL Installations SQL on Linux SQL Uninstallations SSIS T-SQL Windows Server
false
ltr
item
hybriddba.blogspot.com: Windows: Formatting a hard drive
Windows: Formatting a hard drive
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia3we0YJ_6OA8AxZKl2fKrhLLZ2EbKk9RPdyX7x6hYSxipO3qo9yTmmK0fVgP6zxYg3doi3nNoQoO39lhETHJKynA24RsR8q4CEk8z-5b8DqFDE6cMsJA6e_Kx6SYwRCA06pAwPMrTEyEl/s1600/1577957556866769-0.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia3we0YJ_6OA8AxZKl2fKrhLLZ2EbKk9RPdyX7x6hYSxipO3qo9yTmmK0fVgP6zxYg3doi3nNoQoO39lhETHJKynA24RsR8q4CEk8z-5b8DqFDE6cMsJA6e_Kx6SYwRCA06pAwPMrTEyEl/s72-c/1577957556866769-0.png
hybriddba.blogspot.com
https://hybriddba.blogspot.com/2019/02/windows-formatting-hard-drive.html
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/2019/02/windows-formatting-hard-drive.html
true
7679493960263860249
UTF-8
Not found any posts Not found any related posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU Tag ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Contents See also related Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy