Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > Large Files
【标  题】:Large Files
【关键字】:Large,Files
【来  源】:http://www.cublog.cn/u/2984/showart.php?id=119267

Large Files

Your Ad Here

Understanding Large Files

This section contains information about creating large files and file allocation. Large files are only applicable to AIX Version 4.2 or later.

Create File Systems Enabled for Large Files

File systems enabled for large files can be created with the crfs and mkfs commands. Both commands have a new option (bf=true) to specify file systems enabled for large files. The JFS SMIT menus can create these file systems also.

Large File Geometry

In file systems enabled for large files, file data stored before the 4MB file offset is allocated in 4096 byte blocks. File data stored beyond the 4MB file offset is allocated with large disk blocks of 128 KB in size. The large disk blocks are actually 32 contiguous 4096 byte blocks. For example, a 132 MB file in a file system enabled for large files has 1024 4KB disk blocks and 1024 128KB disk blocks. In a regular file system, the 132 MB file would require 33 single indirect blocks (each filled with 1024 4KB disk addresses). However, the large file geometry requires only 2 single indirect blocks for the 132 MB file.

Sparse File Allocation

Files that do not have disk blocks allocated for each logical block are called sparse files. Sparse files are created by seeking two different file offsets and writing data. If the file offsets are greater than 4MB, then a large disk block of 128KB is allocated. Applications using sparse files larger than 4MB may require more disk blocks in a file system enabled for large files than in a regular file system.

Free Space Fragmentation

Large disk blocks require 32 contiguous 4KB blocks. If you write to large files beyond the 4MB, file offset will fail with ENOSPC if the file system does not contain 32 unused contiguous 4KB blocks.

Note: The file system may have thousands of free blocks, but if 32 of them are not contiguous, the allocation will fail.

The defragfs command reorganizes disk blocks to provide larger contiguous free block areas.

Disk Image Compatibility

File systems enabled for large files cannot be migrated to releases of Versions 3 or 4.1 of AIX. These releases of AIX will not recognize the superblock version number and may generate a message such as: unknown file system type. File systems enabled for large files are not the only file systems subject to this behavior. See "Understanding Fragments and a Variable Number of I-Nodes" for more information about file system migration.

Note: File systems from Versions 3 and 4.1 of AIX can be migrated forward.

Zeroing kproc for Large Allocations

The JFS is required to initialize all new disk allocations. The JFS starts the kernel kproc procedure used to zero initial file allocations when mounting the first large file enabled file system on your system. The kproc procedure remains once the file system enabled for large files has successfully unmounted.


故障的定义(硬件/软件):【上一篇】
Journaled File System Size Limitations:【下一篇】
【相关文章】
  • 让所有浏览软件下岗 FileSee火热试用
  • FileSystemObject使用中出错的问题
  • Linux filesystem usage info
  • 用httpClient的PostMethot频繁发送数据,抛出Too many open files
  • Growing FreeBSD's filesystems with growfs(8)
  • Union Filesystems
  • STICKY FILES
  • linux -- Too many open files
  • FileSystemWatcher的Created事件问题
  • CommunityServer 2.0中Files 与 Reader 项目的授权机制
  • 【随机文章】
  • 执行命令并从与控制台进行交互
  • [翻译] 理解IIS7的用户和组
  • 求救java mail,我装了jbuilder9企业版可是怎么找不到java mail这个包和相关的doc?大侠们帮我啊
  • tcpdump使用说明[转]
  • EtherAP (802.1X Authenticator)- 基于802.1X的网络端口访问控制解
  • 软件质量特性因子分析管理
  • modem autotest
  • IT治理信息安全管理:标准、理解与实施(3)
  • DELPHI中DLL的创建和使用
  • HardQuery Report: There will be a Preview 2.
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.