본 게시물은 개인적인 의견으로 작성되었으니 절대적인 정보가 아닐 수 있습니다. 참고만 하시고 궁금한 사항이 있으시면 연락주세요.

티스토리 뷰

Windows - CATEGORY

Diskpart command

AWS-in 2015. 6. 9. 16:45

[참고문서]
SQL Server 도입기 - 디스크 최적화 체크리스트
http://www.sqler.com/460302

 

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>


또는

DISKPART> select volume 2
Volume 2 is the selected volume.
DISKPART> filesystems


--- Windows 2003에서는 아래와 같이 확인한다. --
C:\>fsutil fsinfo ntfsinfo d:
NTFS Volume Serial Number :       0xd6ea1663ea164063
Version :                         3.1
Number Sectors :                  0x000000001dffefff
Total Clusters :                  0x00000000003bffdf
Free Clusters  :                  0x000000000028d359
Total Reserved :                  0x0000000000000000
Bytes Per Sector  :               512
Bytes Per Cluster :               65536
Bytes Per FileRecord Segment    : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length :           0x0000000000080000
Mft Start Lcn  :                  0x000000000000c000
Mft2 Start Lcn :                  0x0000000000000001
Mft Zone Start :                  0x000000000000c000
Mft Zone End   :                  0x000000000000cca0
RM Identifier:        3388638F-9D21-11E2-9B41-005056A8090B

‘Bytes per cluster’ shows the allocation unit size.
영문 : Bytes Per Cluster :               65536
한글 : 클러스터당 바이트:                4096

 

댓글
최근에 올라온 글
최근에 달린 댓글
글 보관함
Total
Today
Yesterday