我如何获得Windows 2008上的群集大小?

这应该是非常简单的,但我不能弄明白。 我想获得一个分区的簇大小,例如512,1024,2048等。我怎么能得到这个?

在我的Windows XP中,我使用了一个名为TreeSize的小型实用程序来获取群集大小以及许多其他细节,我相信它也可以在Windows 2008中使用,但是我不相信没有实用程序就不可能实现。

你的帮助真的很感激

使用以下命令:

fsutil fsinfo ntfsinfo c: (where c: is the volume/path to obtain the data for) 

这会让你看到以下内容:

 NTFS Volume Serial Number : 0x9e800d87800d675d Version : 3.1 Number Sectors : 0x000000000c7fffff Total Clusters : 0x00000000018fffff Free Clusters : 0x000000000091cfd1 Total Reserved : 0x00000000000001b0 Bytes Per Sector : 512 Bytes Per Cluster : 4096 Bytes Per FileRecord Segment : 1024 Clusters Per FileRecord Segment : 0 Mft Valid Data Length : 0x0000000009fc0000 Mft Start Lcn : 0x00000000000c0000 Mft2 Start Lcn : 0x0000000000c7ffff Mft Zone Start : 0x00000000000c9ca0 Mft Zone End : 0x00000000000ca7e0 RM Identifier: 07A1930B-353D-11DE-AB63-E15CC5EE82D6 

你可以使用diskpart来做到这一点。 这是有点牵扯,但它也阻止你把另一个实用程序在服务器上。

命令:

 C:\>diskpart DISKPART>list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 232 GB 9 MB Disk 1 Online 232 GB 1024 KB DISKPART>Select disk 1 DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 232 GB 31 KB DISKPART> select Partition 1 Partition 1 is now the selected partition. DISKPART> FILESYSTEMS Current File System Type : NTFS Allocation Unit Size : 4096 Flags : 00000000 File Systems Supported for Formatting Type : NTFS (Default) Allocation Unit Sizes: 512, 1024, 2048, 4096 (Default), 8192, 16K, 32K, 64K DISKPART> 

你想要“分配单位大小”条目。

您可以查找一个小文件(〜1K),并检查属性中的磁盘大小值。 这将是卷的群集大小。

运行chdsk并查看分配单元大小。 这是群集大小。