免费注册 查看新帖 |

Chinaunix

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

介绍disk的基本体系结构 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-06 23:38 |只看该作者 |倒序浏览
Disk设备有物理部分和逻辑部分。物理部分包括磁盘片和读写头。逻辑部分包括disk分区,柱面,磁道和扇区。
物理disk的结构:
platters,spindle,Head,Head actuator arm。
Disk Platter上的数据组织结构
{
Sector:
The smallest addressable unit on a platter.One sector can hold 512 bytes of data.Sectors are also known as disk blocks.
Track:
A series of sectors positioned end-to-end in a circular path. The number of sectors per track varies with the radius of a track on the platter. The outer tracks are larger and can hold more sectors than the inner tracks.
Cylinder:
A stack of concentric tracks.
}
扇区:
在磁盘片上面最小的可寻址单元。每个扇区包含512B数据。扇区也是众所周知的disk block。
磁道:
一系列扇区尾接尾的排列在一个圆形的路径上。在磁盘片上,每个磁道上扇区的数量随着每个磁道的半径不同而变化。越在外边的磁道越大,并且比内部磁道能拥有(hold)更多的扇区。
柱面:
一系列同轴磁道。
磁盘分区
××组柱面分成分区来组织数据,方便备份和提供交换空间。
slice 0到slice 7,slice 2表示整个盘。
slice 2维护整个盘重要的数据,像盘实际的大小,用来存储文件和目录的可用柱面的总数。
硬盘分区的命名习惯:
8个字符串标识一个分区的全名。
controller/target/disk/slice number
SCSI和IDE配置是2个不同的体系结构。
HBA(scsi)->t0,t1,t2...在同一个bus上。
HBA(IDE)->primary  {Master,Slave}t0,t1
        ->secondary{Master,Slave}t2,t3
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/84098/showart_1385459.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP