当前位置:网站首页>(cobbler) partition problem and solution 2
(cobbler) partition problem and solution 2
2022-06-09 06:19:00 【Desert Effect】
Preface
Chapter one
https://blog.csdn.net/GX_1_11_real/article/details/103766100
Next to the last one , What follows is Cobbler Of ks file On disk 16T above when Solutions to partition and format exceptions .
【1】 Partition
When the disk capacity of our server is greater than 16TB when ( for example :12 individual 4T The hard disk of , Group raid5)
because ext4 file system , Default 32 Bits can only support 16T.Centos6 It can only be enabled after upgrading the tool and modifying the configuration 64 Bit mode , Ability to support 16T above . and centos5 And the following systems do not support this method
So we have cobbler ks Use... In configuration ext4, stay Linux During the installation of the operating system , There will be a phenomenon .
When the disk is smaller than 16T when , No problem yet . But when disk space is 16TB When above , Cannot format the full amount , Even after installing the system , We will find that the disk can only see 16T Size
ps:
In fact, this kind of , Reinstall the system at the beginning of discovery . If the service has been run and has been used for storage , It is recommended to remove the service and try to partition again .
demonstration :
part /boot --fstype ext4 --size=200
part biosboot --fstype=biosboot --size=1
part / --fstype ext4 --size=102400
part swap --size=4096
part /data --fstype ext4 --size=1 --grow
swap The size of the configuration is usually related to the size of the memory . When installing the system at ordinary times , Generally, by default, it is divided into memory 2 times , Because it is easier .
If it is k8s The server , Don't configure swap
The basic rule :
Physical memory Swap partition (SWAP)
<= 4G At least 4G
4~16G At least 8G
16G~64G At least 16G
64G~256G At least 32G
–grow Is to allocate all the remaining capacity to data Partition , The disk space is greater than 16T There will be problems .
resolvent :
Method 1 :
Directly into xfs Or some other recognizable file system
About file system usage ext4 still xfs Or other , Although there are various online assessments , But in fact, it depends on personal habits .
Older employees generally like xfs, Stable and does not require other adjustments . New employees like ext4, because Centos7 Default ext4, And it is generally believed that the new technology is better than the old one .
and lvm Expansion and contraction may be used sometimes , But in fact, the safety and maintenance are poor . I haven't seen other staff use it several times , If there is not enough space, the disk is usually added directly ,ln Soft chain adjustment Directory ; You can directly adjust the disk size on the ECS .
Method 2 :
Repartition and format after installation
https://blog.csdn.net/GX_1_11_real/article/details/82053630
边栏推荐
猜你喜欢

Transplant qt5.12 to t507 development board

Powerdns 1- introduction and installation

Coredns part 4-compiling and installing unbound

Competition between am335x and Quanzhi a40i

Bladed software display incomplete solution

小米4安装微信失败

Wireshark illustrates TCP three handshakes and four waves

DNS principles 01 introduction to DNS principles

Talk about bladed software

NAND flash Basics
随机推荐
C# 委托相关
Bitmake common command parameters
Transplant qt5.12 to t507 development board
基于国产全志A40I的机器人示教器解决方案
channel is not opened
Powerdns 1- introduction and installation
Creating a digital elevation model (DEM) using point cloud data
C# 迭代器
无缓存安装指令
Unit platform related macros
Solution of robot teaching pendant based on domestic Quanzhi a40i
Implementation of Excel piecewise linear interpolation function
C event
Office software batch startup procedure
Atlas7 NAND stress test program
VK Cup 2017 - Round 2 A. Voltage Keepsake
Coredns part 3-access Prometheus monitoring
Coredns part 2- compiling and installing external plugins
Selection of industrial am335x core modules
Quanzhi t7/t507 qt5.12.5 transplantation record