Chinaunix

标题: 创建文件系统时遇到的一些让人疑惑的选项 [打印本页]

作者: rbshhc    时间: 2003-01-25 08:24
标题: 创建文件系统时遇到的一些让人疑惑的选项
我用smitty crjfs时显示如下:

Volume group name rootvg
* SIZE of file system (in 512-byte blocks) [] #
* MOUNT POINT []
Mount AUTOMATICALLY at system restart? no +
PERMISSIONS read/write +
Mount OPTIONS [] +
Start Disk Accounting? no +
Fragment Size (bytes) 4096 +
Number of bytes per inode 4096 +
Allocation Group Size (MBytes) 8 +

想问一下,其中的“Allocation Group Size (MBytes)”是什么含义,这部分所指定的的空间是分给INODE用的吗?
那“Number of bytes per inode”选项怎样定义才合理
作者: 老农a    时间: 2003-01-26 02:09
标题: 创建文件系统时遇到的一些让人疑惑的选项
先看书吧,直接说起来有些罗嗦。
作者: 好使    时间: 2003-01-26 07:07
标题: 创建文件系统时遇到的一些让人疑惑的选项
Number of Inodes
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.

One i-node is created for every NBPI bytes of allocation group space allocated to the filesystem. An allocation group can be partially allocated, though the full number of i-nodes per allocation group is still allocated. NBPI is inversely proportional to the total number of i-nodes in a file system.

The JFS restricts all file systems to 16M (224) i-nodes.

Allocation Group Size
AIX Version 4.2 or 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 8M, 16M, 32M, and 64M. Each allocation group size has an associated npbi range. The ranges are defined by the following table:

Allocation Group
Size in Megabytes      Allowable NBPI Values
8                     512, 1024, 2048, 4096, 8192, 16384
16                          1024, 2048, 4096, 8192, 16384, 32768
32                                2048, 4096, 8192, 16384, 32768, 65536
64                                      4096, 8192, 16384, 32768, 65536, 131072
作者: goodmao    时间: 2003-01-27 09:36
标题: 创建文件系统时遇到的一些让人疑惑的选项
还没看懂




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2