Fsutil fsinfo

Applies To: Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista

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

For examples of how to use this command, see Examples.

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.

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, or disk quotas.

<VolumePath>

Specifies the drive letter (followed by a colon).

<RootPathname>

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:

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       

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 statistics for drive E, type:

fsinfo statistics e:

Output similar to the following displays:

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

Additional references

Command-Line Syntax Key

Fsutil