Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Red Hat / CentOS ext4 format large partitions above 16T

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Red Hat/CentoSext4 Format Large Partitions

XX project, the client server operating system is redhat version 6.4, 40 terabytes of disk space used to store structured data, but not mounted to any directory. For MPP cluster database, considering the installation directory and data storage directory of our database, it is necessary to mount the disk space under/opt directory, but due to the large disk space, it is impossible to format it into ext4 format. In this case, it is necessary to install an rpm patch package of e2fsprogs version 1.42 or above to upgrade the formatting tool, so that the 40T disk can be formatted into ext4 format.

Since no rpm installation package was found at that time, only the e2fsprogs-1.42.tar.gz installation package was found. The steps are as follows:

tar zxvf e2fsprogs-1.42.tar.gz

cd e2fsprogs-1.42

mkdir build

cd build/

../ configure

make

make install

(There may be errors in the build process, which can be ignored and continued)

mke2fs -O 64bit,has_journal,extents,huge_file,flex_bg, uninit_bg,dir_nlink,extra_isize -i 4194304 /dev/sdb1

mount /dev/sdb1 /opt

References:

http://www.zzidcc.com/a/jiejuefangan/20140218/262.html

Later, I found the download address of rpm package of e2fsprogs version 1.42 and above:

http://rpm.pbone.net/index.php3? ... =e2fsprogs&dist[]=93&dist[]=74&dist[]=94&dist[]=79&dist[]=0&field[]=1&field[]=2

The above are all operations in the enterprise production environment for your reference. If there are other ways, please comment and share ^-^.

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report