📄 clusters.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//ZH_CN">
<!-- http://linux-ntfs.sourceforge.net/ntfs/concepts/clusters.html -->
<html lang="zh_cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="NTFS Documentation">
<link rel="stylesheet" type="text/css" href="../style/ntfsdoc.css">
<link rel="start" type="text/html" href="../index.html" title="NTFS Documentation">
<title>Clusters - Concept - NTFS Documentation</title>
</head>
<body>
<table border="0" class="toolbar" summary="" cellspacing="0">
<tr>
<td class="toolbar"><div class="toolbar"><a accesskey="1" class="toolbar" href="../index.html">主页</a></div></td> <td class="toolbar"><div class="toolbar"><a accesskey="2" class="toolbar" href="../files/index.html">文件</a></div></td> <td class="toolbar"><div class="toolbar"><a accesskey="3" class="toolbar" href="../attributes/index.html">属性</a></div></td> <td class="toolbar"><div class="toolbar"><a accesskey="4" class="toolbar" href="../concepts/index.html">概念</a></div></td> <td class="toolbar"><a accesskey="5" class="toolbar" href="../help/glossary.html">词汇</a></td>
</tr>
</table>
<h1>概念 - Clusters</h1>
<a class="prevnext" accesskey="," href="tree/index.html">前一页</a>
<a class="prevnext" accesskey="." href="collation.html">后一页</a>
<h2>概述</h2>
<p>
在NTFS里,簇是磁盘使用的基本单元。
组成一个簇的扇区数总是2的幂数,当卷被格式化时此数值是固定的。
此数值称为簇要素,通常用字节引用,如8KB,2KB。
NTFS通过每件事的逻辑簇数来寻址。
</p>
<h3>逻辑簇数(LCN)</h3>
<p>
卷里的每个簇都给定了一个顺序号,这是它的逻辑簇数。LCN0(零)指向卷的第一个簇(引导扇区)。
</p>
<p>
用LCN乘以簇的大小就可以算出在卷里的物理偏移量。
</p>
<h3>实际簇数(VCN)</h3>
<p>
一个非常驻的流的每个簇都给定了一个顺序号,这是它的实际簇数。VCN0(零)指向这个流的第一个簇。
</p>
<p>
要定位磁盘上的流,就必须把VCN转换成LCN.这是在数据运转的帮助下完成的。
</p>
<h3>数据运转</h3>
<p>
每个LCN的连续模块都被赋予了一个数据运转,它包含一个VCN,一个LCN和一个长度。
当NTFS需要在磁盘上找到一个对象时,就查看数据运转中的VCN来得到LCN。
</p>
<h2>注意</h2>
<h3>其他信息</h3>
<p>
当卷被格式化时可以选择簇的大小。
</p>
<p>
一个卷的簇的大小存储在$Boot里。也定义了此值在一个MFT文件记录和一个索引记录的簇里。
</p>
<p>
如果扇区数在用,NTFS通过引用簇数可以寻址更大的磁盘。
</p>
<p>
下面是一个关于允许和默认簇的大小的列表:
</p>
<dl>
<dt>Windows NT</dt>
<dd>512 bytes, 1KB, 2KB or 4KB</dd>
<dt>Windows 2000, Windows XP</dt>
<dd>512 bytes, 1KB, 2KB, 4KB, 8KB, 16KB, 32KB or 64KB</dd>
</dl>
<table border="1" summary="" cellspacing="0">
<tr>
<th class="numeric">卷的大小</th>
<th class="numeric">默认的簇的大小</th>
</tr>
<tr>
<td class="numeric">< 512MB</td>
<td class="numeric">Sector size</td>
</tr>
<tr>
<td class="numeric">< 1GB</td>
<td class="numeric">1KB</td>
</tr>
<tr>
<td class="numeric">< 2GB</td>
<td class="numeric">2KB</td>
</tr>
<tr>
<td class="numeric">> 2GB</td>
<td class="numeric">4KB</td>
</tr>
</table>
<h3>问题</h3>
<p>
NTFS为什么使用实际簇数?
</p>
<br>
<a class="contact" href="http://linux-ntfs.sourceforge.net/ntfs/concepts/clusters.html">Online</a>
<a class="contact" href="http://www.reddragonfly.org/ntfs/concepts/clusters.html">中文在线</a>
<!-- The two validators will only work if this page is visible on the web -->
<a class="contact" href="http://validator.w3.org/check/referer">Validate HTML</a>
<a class="contact" href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a>
<a class="contact" href="mailto:webmaster@flatcap.org">$Id: clusters.html,v 1.6 2001/07/11 11:04:05 flatcap Exp $</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -