- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- FUG设计计算.doc
- 包头公司正规123.doc
- 西方经济学改进版.doc
- 勇敢的心介绍.ppt
- 2011年高考数学理科试题解析_简易逻辑.doc
- 企业营销sunshine.doc
- 昆明到呈贡公交.doc
- 自控0704认识实习报告.doc
- S域0412-1.ppt
- 苏教版一文上册第四单元试卷.doc
- 2024钢筋工绑扎承包合同范本.docx
- 2017-2018学年沪科版八年级物理下册名师导学案:第十章第三节 做功了吗.docx
- 摸球游戏-可能性(教案)-六年级上册数学青岛版.docx
- 人教版九年级全册 物理 第十三章 第三节-比热容-教案.docx
- 人教版九年级物理 全一册 第十五章 15.5 串并联电路的电流规律 教案.docx
- 2020苏科版物理 第六章:物质的物理属性复习教学案.docx
- 四年级上册数学教案- 七 生活中的负数 北师大版 (2份打包).docx
- 《长方形和正方形练习六(2)(第5课时)》(教案)苏教版三年级上册数学.docx
- 《千米的认识》(教案)-二年级下册数学青岛版.docx
- 二年级上册数学教案-7.7花园-北师大版.docx
文档评论(0)