大网数据广告活动
Windows排障命令

Fsutil fsinfo

· 52CE 我爱测

Reference article for the fsutil fsinfo command, which lists all drives, queries the drive type, queries volume information, queries NTFS-specific volume information, or queries file system statistics.

Lists all drives, queries the drive type, queries volume information, queries NTFS-specific volume information, or queries file system statistics.

Syntax

fsutil fsinfo [drives]
fsutil fsinfo [drivetype] <volumepath>
fsutil fsinfo [ntfsinfo] <rootpath>
fsutil fsinfo [statistics] <volumepath>
fsutil fsinfo [volumeinfo] <rootpath>

Parameters

Parameter Description
drives Lists all drives in the computer.
drivetype Queries a drive and lists its type, for example CD-ROM drive.
ntfsinfo Lists NTFS specific volume information for the specified volume, such as the number of sectors, total clusters, free clusters, and the start and end of the MFT Zone.
sectorinfo Lists information about the hardware's sector size and alignment.
statistics Lists file system statistics for the specified volume, such as metadata, log file, and MFT reads and writes.
volumeinfo Lists information for the specified volume, such as the file system, and whether the volume supports case-sensitive file names, unicode in file names, disk quotas, or is a DirectAccess (DAX) volume.
<volumepath>: Specifies the drive letter (followed by a colon).
<rootpath>: Specifies the drive letter (followed by a colon) of the root drive.

Examples

To list all of the drives in the computer, type:

fsutil fsinfo drives

Output similar to the following displays:

Drives: A:\ C:\ D:\ E:\

To query the drive type of drive C, type:

fsutil fsinfo drivetype c:

Possible results of the query include:

Unknown Drive
No such Root Directory
Removable Drive, for example floppy
Fixed Drive
Remote/Network Drive
CD-ROM Drive
Ram Disk

To query the volume information for volume E, type:

fsutil fsinfo volumeinfo e:

Output similar to the following displays:

Volume Name : Volume
Serial Number : 0xd0b634d9
Max Component Length : 255
File System Name : NTFS
Supports Named Streams
Is DAX Volume

To query drive F for NTFS-specific volume information, type:

fsutil fsinfo ntfsinfo f:

Output similar to the following displays:

NTFS Volume Serial Number : 0xe660d46a60d442cb
Number Sectors : 0x00000000010ea04f
Total Clusters : 0x000000000021d409
Mft Zone End : 0x0000000000004700

To query the file system's underlying hardware for sector information, type:

fsutil fsinfo sectorinfo d:

Output similar to the following displays:

D:\>fsutil fsinfo sectorinfo d:
LogicalBytesPerSector : 4096
PhysicalBytesPerSectorForAtomicity : 4096
Trim Not Supported
DAX capable

To query the file system statistics for drive E, type:

fsutil fsinfo statistics e:

Output similar to the following displays:

File System Type : NTFS
Version : 1
UserFileReads : 75021
UserFileReadBytes : 1305244512
LogFileWriteBytes : 180936704

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。