To get the file allocation unit size of a partition (e.g. C:) :
fsutil fsinfo ntfsinfo c:
NTFS Volume Serial Number : 0xa8ecb969ecb93284
Version : 3.1
Number Sectors : 0x000000000c7ff4fd
Total Clusters : 0x000000000018ffe9
Free Clusters : 0x000000000017ac97
Total Reserved : 0x0000000000000000
Bytes Per Sector : 512
Bytes Per Cluster : 65536
Bytes Per FileRecord Segment : 1024
Clusters Per FileRecord Segment : 0Mft
Valid Data Length : 0x0000000000090000
Mft Start Lcn : 0x000000000000c000
Mft2 Start Lcn : 0x00000000000c7ff4
Mft Zone Start : 0x000000000000c000
Mft Zone End : 0x000000000003e000
Values should be 65536 bytes (64KB) for partitions on which SQL Server data or log files reside
To get the partition offset run this command:
wmic partition get BlockSize, StartingOffset, Name, Index
BlockSize Index Name StartingOffset
512 0 Disk #1, Partition #0 65536
512 0 Disk #2, Partition #0 32256
512 0 Disk #4, Partition #0 65536
512 0 Disk #6, Partition #0 65536
512 0 Disk #7, Partition #0 65536
512 0 Disk #3, Partition #0 65536
512 0 Disk #5, Partition #0 65536
512 0 Disk #0, Partition #0 16384
512 1 Disk #0, Partition #1 21474508800
- Blogger Comment
- Facebook Comment
Subscribe to:
Post Comments
(
Atom
)
1 commenti:
Thanks Vittorio - a better option compared to a read-only chkdsk..
Post a Comment