存储技术英文PPT1.5.ppt

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
存储技术英文PPT1.5

Intelligent Storage System Copyright ? 2009 EMC Corporation. Do not Copy - All Rights Reserved. Intelligent Storage System Unix File Systems Module 1.5 File Systems File system provides the most fundamental service for building any information systems. file storage, management and retrieve service. We look at two file operations: fp = open (“stf/exam”, r, 0); r = read (fp, n, buf); Hard disk Structure Head, cylinder, sector Data stored in the same cylinder first to reduce the head movement Disk operation in units of sectors Data Block and Block Number File system uses block as a data unit for disk operation Usually a block size is 1K (= sector size) Disk block is referenced by its block # Block # to Physical Address Translation sectors = blk_num ? (#sects-per-blk) cyld_num = sectors ? (#sects-per-cyld) head_num = (sectors mod (#sects-per-cyld)) ? (#sects-per-track) sect_num = sectors mod (#sects-per-track) Internal File Structure Each file has an i-node: file attributes and data index: File attributes: owner, access permissions, access times, file size 12 bytes Data index: 10 direct index, 1 indirect index, 1 double indirect index, 1 triple indirect index 13 * 4 =52 bytes The size of an inode = 64 bytes. An inode is referenced by its inode # Diagram of data index in inode Unix Directory File Directory files are ordinary files consisting of entries mapping names to i-node #s, e.g., directory file /etc After BSD4.3, file names are of variable length (upto 255 bytes). Each entry has the entry-length, name inode #. Directory structure and name resolution Directories are in a tree structure. Convert a pathname recursively to an i-node number, component by component from the root or relative dir: e.g., /users/lecturer/liu/stf/notes/UFS.ppt component name ? inode # inode # ? inode inode ? directory file content directory file content ? inode # (of the next component) Disk Management (inode # ? i-nodes) Super block Each file system has a super block wh

文档评论(0)

yan698698 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档