免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1442 | 回复: 3
打印 上一主题 下一主题

[新手入门] 创建文件系统时遇到的一些让人疑惑的选项 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 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”选项怎样定义才合理

论坛徽章:
0
2 [报告]
发表于 2003-01-26 02:09 |只看该作者

创建文件系统时遇到的一些让人疑惑的选项

先看书吧,直接说起来有些罗嗦。

论坛徽章:
0
3 [报告]
发表于 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

论坛徽章:
0
4 [报告]
发表于 2003-01-27 09:36 |只看该作者

创建文件系统时遇到的一些让人疑惑的选项

还没看懂
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP