In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
In this issue, the editor will bring you how to solve the problem of the limitation of large files on AIX5.3. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
On an AIX minicomputer, an error was reported while transferring files, with the following message
# scp root@10.4.41.81:/home/LAW.0.db2inst2.NODE0000.CATN0000.20130402094303.001 / home/
Root@10.4.41.81's password:
LAW.0.db2inst2.NODE0000.CATN0000.20130402094303.001 100% 2071MB 9.4MB/s 12:45
/ home/LAW.0.db2inst2.NODE0000.CATN0000.20130402094303.001: File too large
After the AIX system is installed by default, a single file size is not allowed to exceed 2G. For enterprise applications, this limit generally needs to be modified.
First of all, remove the file size limit and modify the configuration file / etc/security/limits, which can be used for all users in default
Section modification, or modify the limits of a specific user by specifying the user segment.
The following is an example where fsize is set to-1, which means that the size limit is removed and can take effect directly. (if this change does not take effect, you need to restart the system to take effect.)
# cat / etc/security/limits
* The following table contains the default hard values if the
* hard values are not explicitly defined:
*
* Attribute Value
* = =
* fsize_hard set to fsize
* cpu_hard set to cpu
* core_hard-1
* data_hard-1
* stack_hard 8388608
* rss_hard-1
* nofiles_hard-1
*
* NOTE: A value of-1 implies "unlimited"
*
Default:
Fsize =-1 (originally 2097151)
Core = 2097151
Cpu =-1
Data = 262144
Rss = 65536
Stack = 65536
Nofiles = 2000
Root:
Daemon:
Bin:
Sys:
Adm:
Uucp:
Guest:
Nobody:
Lpd:
Esaadmin:
Stack = 393216
Stack_hard = 393216
Db2inst1:
Core =-1
Rss =-1
Fsize =-1
Data = 491519
In addition to this limitation, individual file size is also limited by the file system type. JFS and JFS2 file systems are mainly used in AIX.
Here is a comparison table. It can be seen that JFS can only support a single file with a maximum of 64g, and sometimes this limit may be exceeded when making archived backups of large files, so it is recommended to use the JFS2 file system.
This is how to solve the problem of the limitation of large files on AIX5.3 shared by the editor. 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.