Project

General

Profile

Выравнивание дисковых разделов Windows

Windows 2003 не выравнивает первый раздел, Windows 2008 иногда не выравнивает.
Это приводит к дополнительной операции ввода-вывода при записи блока

Creating and Formatting Disks

To Create and Format a Disk:
1. Open a command prompt, type DISKPART, and press ENTER.
2. For Windows 2008, Type the following commands within DISKPART:

SELECT DISK 1
CREATE PARTITION PRIMARY ALIGN=64
SELECT PARTITION 1
FORMAT FS=NTFS LABEL="New Volume" QUICK UNIT=8192
ASSIGN LETTER=E
EXIT

For Windows 2003, the format command is not available within DISKPART. Type the following commands in

DISKPART:
SELECT DISK 1
CREATE PARTITION PRIMARY ALIGN=64
SELECT PARTITION 1
ASSIGN LETTER=E
EXIT

Then type this command from the command prompt:

FORMAT E: /FS:NTFS /V:NewVolume /Q /A:8192  ISILON SYSTEMS

Checking Disk Alignment and Block Size

To Check an Existing Partition for Alignment:
1. Open a command prompt and type:

wmic partition get BlockSize, StartingOffset, Name, Index

2. Notice the result of StartingOffset is 65536 or 64 KB:

BlockSize  Index  Name                   StartingOffset
512        0      Disk #1, Partition #0  65536

To Check an Existing Partition for Unit Allocation Size (Block Size)
1. Open a command prompt and type:

fsutil fsinfo ntfsinfo e:

2. Notice the result of Bytes per Cluster is 8192 or 8 KB:

NTFS Volume Serial Number :       0xf8e05f38e05efc76
Version :                         3.1
Number Sectors :                  0x00000000095fd83d
Total Clusters :                  0x000000000095fd83
Free Clusters  :                  0x000000000095dcb2
Total Reserved :                  0x0000000000000000
Bytes Per Sector  :               512
Bytes Per Cluster :               8192
Bytes Per FileRecord Segment    : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length :           0x0000000000008000
Mft Start Lcn  :                  0x0000000000060000
Mft2 Start Lcn :                  0x00000000004afec1
Mft Zone Start :                  0x0000000000060000
Mft Zone End   :                  0x000000000018bfc0

Списано отсюда