In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
How to use FDISK partition to divide an integer hard disk partition, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.
There are a large number of partitions such as 1.99GB and 3.93GB in many friends' computers, but in fact, the original intention of using FDISK partition is not like this. We want the partition size to be an integer, such as 2GB, 4GB, etc., and we clearly calculate the partition according to 1GB=1024MB 's formula, for example, if you want to divide 2GB, enter 2048MB. In fact, when partitioning, the formula of using 1GB=1024MB directly is incorrect, and the partition is not an integer partition. How can we divide an integer partition? we only need to change the formula to calculate the value of the integer partition.
Here, if we set the integer GB to "N", the correct calculation formula should be:
(Nmur1) * 4 "1024" N
The result calculated according to this formula is MB. For example, if you want to get a partition of 2GB, the formula should be:
(2-1) * 4+1024*2=2052MB
In other words, when you type 2052MB in a FDISK partition, you can get a 2GB partition, and the 2048MB we usually enter will of course be shown as 1.99GB.
For example, if you want to get a partition of 8GB, according to the formula (8-1) * 4+1024*8=8220MB, you only need to type 8220MB to get an integer partition of 8GB. With this formula, you can calculate the size of any other partition. Now look at your hard drive. Is it more comfortable without a decimal partition?
Finally, I will give you some ready-made integer hard disk partitions as follows:
10G = (10-1) * 4+1024*10=10276MB
15G = (15-1) * 4+1024*15=15416MB
20G = (20-1) * 4+1024*20=20556MB
25G = (25-1) * 4+1024*25=25696MB
30G = (30-1) * 4+1024*30=30836MB
35G = (35-1) * 4+1024*35=35986MB
40G = (40-1) * 4+1024*40=41116MB
45G = (45-1) * 4+1024*45=46256MB
50G = (50-1) * 4+1024*50=51396MB
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.