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)06/01 Report--
In this issue, the editor will bring you about how to manage centOS 7 disks. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.
I. disk management commands and the role of each field
1. Disk management command
2.fdisk-l the meaning of each field
First field: device ID or name
The second field: boot indicates the boot partition or boot partition, * Boot the system from the current partition
The third field: the beginning of the disk cylinder
Fourth field: disk cylinder end position
Fifth field: the size of the partition
Sixth field: partition ID 83 identifies the xfs or ext4 file system, 82 is the swap partition, and 8e is the lvm volume
Seventh field: the identification information is using the Linux system
The role and common options of the 3.fdisk command
Partition establishment, partition deletion, partition system conversion
M help
N create partition type: P primary partition, e extended partition, l logical partition, t convert partition format, p display disk information, w save exit, Q do not save exit, d delete partition
4. Considerations for creating points
Up to 4 primary partitions are available; extended partitions can only have 1; logical partitions must be created on top of extended partitions
5. Simple creation
6. Expand swap partition SPAC
1) convert disk partition type to swap
Mount the file system and configure the file system to mount automatically
1. Mount the computer partition
1) Mount the xfs file system sdb1 to the current
2) Mount the sdb2 file system to the current location sdb2
3) View the mounted file system
4) unmount the mounted file system
5) configure auto-mount partition
Esc exit,: X save, restart the computer
The above is the editor for you to share how to carry out centOS 7 disk management, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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.