Выравнивание дисковых разделов Windows » История » Версия 1
Dmitry Chernyak, 17.01.2013 07:58
1 | 1 | Dmitry Chernyak | h1. Выравнивание дисковых разделов Windows |
---|---|---|---|
2 | 1 | Dmitry Chernyak | |
3 | 1 | Dmitry Chernyak | Windows 2003 не выравнивает первый раздел, Windows 2008 иногда не выравнивает. |
4 | 1 | Dmitry Chernyak | Это приводит к дополнительной операции ввода-вывода при записи блока |
5 | 1 | Dmitry Chernyak | |
6 | 1 | Dmitry Chernyak | h2. Creating and Formatting Disks |
7 | 1 | Dmitry Chernyak | |
8 | 1 | Dmitry Chernyak | To Create and Format a Disk: |
9 | 1 | Dmitry Chernyak | 1. Open a command prompt, type @DISKPART@, and press ENTER. |
10 | 1 | Dmitry Chernyak | 2. For Windows 2008, Type the following commands within DISKPART: |
11 | 1 | Dmitry Chernyak | <pre> |
12 | 1 | Dmitry Chernyak | SELECT DISK 1 |
13 | 1 | Dmitry Chernyak | CREATE PARTITION PRIMARY ALIGN=64 |
14 | 1 | Dmitry Chernyak | SELECT PARTITION 1 |
15 | 1 | Dmitry Chernyak | FORMAT FS=NTFS LABEL="New Volume" QUICK UNIT=8192 |
16 | 1 | Dmitry Chernyak | ASSIGN LETTER=E |
17 | 1 | Dmitry Chernyak | EXIT |
18 | 1 | Dmitry Chernyak | </pre> |
19 | 1 | Dmitry Chernyak | |
20 | 1 | Dmitry Chernyak | For Windows 2003, the format command is not available within DISKPART. Type the following commands in |
21 | 1 | Dmitry Chernyak | <pre> |
22 | 1 | Dmitry Chernyak | DISKPART: |
23 | 1 | Dmitry Chernyak | SELECT DISK 1 |
24 | 1 | Dmitry Chernyak | CREATE PARTITION PRIMARY ALIGN=64 |
25 | 1 | Dmitry Chernyak | SELECT PARTITION 1 |
26 | 1 | Dmitry Chernyak | ASSIGN LETTER=E |
27 | 1 | Dmitry Chernyak | EXIT |
28 | 1 | Dmitry Chernyak | </pre> |
29 | 1 | Dmitry Chernyak | |
30 | 1 | Dmitry Chernyak | Then type this command from the command prompt: |
31 | 1 | Dmitry Chernyak | <pre> |
32 | 1 | Dmitry Chernyak | FORMAT E: /FS:NTFS /V:NewVolume /Q /A:8192 ISILON SYSTEMS |
33 | 1 | Dmitry Chernyak | </pre> |
34 | 1 | Dmitry Chernyak | |
35 | 1 | Dmitry Chernyak | h2. Checking Disk Alignment and Block Size |
36 | 1 | Dmitry Chernyak | |
37 | 1 | Dmitry Chernyak | To Check an Existing Partition for Alignment: |
38 | 1 | Dmitry Chernyak | 1. Open a command prompt and type: |
39 | 1 | Dmitry Chernyak | <pre> |
40 | 1 | Dmitry Chernyak | wmic partition get BlockSize, StartingOffset, Name, Index |
41 | 1 | Dmitry Chernyak | </pre> |
42 | 1 | Dmitry Chernyak | |
43 | 1 | Dmitry Chernyak | 2. Notice the result of StartingOffset is 65536 or 64 KB: |
44 | 1 | Dmitry Chernyak | <pre> |
45 | 1 | Dmitry Chernyak | BlockSize Index Name StartingOffset |
46 | 1 | Dmitry Chernyak | 512 0 Disk #1, Partition #0 65536 |
47 | 1 | Dmitry Chernyak | </pre> |
48 | 1 | Dmitry Chernyak | |
49 | 1 | Dmitry Chernyak | To Check an Existing Partition for Unit Allocation Size (Block Size) |
50 | 1 | Dmitry Chernyak | 1. Open a command prompt and type: |
51 | 1 | Dmitry Chernyak | <pre> |
52 | 1 | Dmitry Chernyak | fsutil fsinfo ntfsinfo e: |
53 | 1 | Dmitry Chernyak | </pre> |
54 | 1 | Dmitry Chernyak | |
55 | 1 | Dmitry Chernyak | 2. Notice the result of Bytes per Cluster is 8192 or 8 KB: |
56 | 1 | Dmitry Chernyak | <pre> |
57 | 1 | Dmitry Chernyak | NTFS Volume Serial Number : 0xf8e05f38e05efc76 |
58 | 1 | Dmitry Chernyak | Version : 3.1 |
59 | 1 | Dmitry Chernyak | Number Sectors : 0x00000000095fd83d |
60 | 1 | Dmitry Chernyak | Total Clusters : 0x000000000095fd83 |
61 | 1 | Dmitry Chernyak | Free Clusters : 0x000000000095dcb2 |
62 | 1 | Dmitry Chernyak | Total Reserved : 0x0000000000000000 |
63 | 1 | Dmitry Chernyak | Bytes Per Sector : 512 |
64 | 1 | Dmitry Chernyak | Bytes Per Cluster : 8192 |
65 | 1 | Dmitry Chernyak | Bytes Per FileRecord Segment : 1024 |
66 | 1 | Dmitry Chernyak | Clusters Per FileRecord Segment : 0 |
67 | 1 | Dmitry Chernyak | Mft Valid Data Length : 0x0000000000008000 |
68 | 1 | Dmitry Chernyak | Mft Start Lcn : 0x0000000000060000 |
69 | 1 | Dmitry Chernyak | Mft2 Start Lcn : 0x00000000004afec1 |
70 | 1 | Dmitry Chernyak | Mft Zone Start : 0x0000000000060000 |
71 | 1 | Dmitry Chernyak | Mft Zone End : 0x000000000018bfc0 |
72 | 1 | Dmitry Chernyak | </pre> |
73 | 1 | Dmitry Chernyak | |
74 | 1 | Dmitry Chernyak | Списано "отсюда":http://www.isilon.com/sites/default/files/tracked_assets/Isilon%20Best%20Practices%20Guide%20for%20the%20Microsoft%20iSCSI%20Initiator.pdf |