- 论坛徽章:
- 0
|
文件系统大小限制
[quote]原帖由 "哇哈哈"]大猫,是不是这样,inode所占的空间越大,反而可建文件系统却越大?那么文件(或目录)数是增大还是减小?[/quote 发表:
不是这样,应该说...
Number of i-nodes The total number of i-nodes in a file system limits the total number of files and the total size of the file system. The JFS provides the nbpi (number of bytes per i-node) parameter that affects the number of i-nodes in a file system. JFS supports nbpi values of 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, and 131072. The values 32768, 65536, and 131072 only apply to AIX Version 4.2 or later.
For example, to create an 8 MB file system with an nbpi value of 4096, an i-node will be generated for each 4096 bytes of data. This would result in a maximum of 2048 i-nodes for an 8 MB file system, which means that if every file in the file system is ideally 4 KB in length, a maximum of 2048 files can be created in the file system.
The JFS restricts all file systems to 16 MB (2的24次方 ) 个i-nodes.
Allocation group size
AIX Version 4.2 and later supports various allocation group sizes. The JFS segregates file system space into groupings of i-nodes and disk blocks for user data. These groupings are called allocation groups. The allocation group size can be specified when the file system is created. The allocation group sizes are 8 MB, 16 MB, 32 MB, and 64 MB. Each allocation group size has an associated
nbpi range. |
|