Share via


Fsutil: fsinfo

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Fsutil: fsinfo

Typically used by support professionals. 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] VolumePathname

fsutil fsinfo [ntfsinfo] RootPathname**:**

fsutil fsinfo [statistics] VolumePathname

fsutil fsinfo [volumeinfo] RootPathname**:**

Parameters
  • 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.
  • VolumePathname
    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

Sample output:

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

To query the drive type of drive C, type:

fsutil fsinfo drivetype C:

Possible results:

  • 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:\

Sample output:

Volume Name :Volume
Serial Number : 0xd0b634d9
Max Component Length : 255
File System Name : NTFS
Supports Case-sensitive filenames
Preserves Case of filenames
Supports Unicode in filenames
Preserves & Enforces ACL's
Supports file-based Compression
Supports Disk Quotas
Supports Sparse files
Supports Reparse Points
Supports Object Identifiers
Supports Encrypted File System
Supports Named Streams       

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

fsutil fsinfo ntfsinfo F:

Sample output:

NTFS Volume Serial Number :       0xe660d46a60d442cb
Number Sectors :                  0x00000000010ea04f
Total Clusters :                  0x000000000021d409
Free Clusters  :                  0x00000000000f222a
Total Reserved :                  0x0000000000003550
Bytes Per Sector  :               512
Bytes Per Cluster :               4096
Bytes Per FileRecord Segment    : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length :           0x0000000003eab000
Mft Start Lcn  :                  0x0000000000000004
Mft2 Start Lcn :                  0x000000000010ea04
Mft Zone Start :                  0x0000000000003ea0
Mft Zone End   :                  0x0000000000004700       

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

fsinfo statistics E:

Sample output:

File System Type :     NTFS
Version :              1
UserFileReads :        75021
UserFileReadBytes :    1305244512
UserDiskReads :        71213
UserFileWrites :       8037
UserFileWriteBytes :   207685440
UserDiskWrites :       5278
MetaDataReads :        14377
MetaDataReadBytes :    58888192
MetaDataDiskReads :    14773
MetaDataWrites :       18705
MetaDataWriteBytes :   138108928
MetaDataDiskWrites :   21464       

MftReads :             9394
MftReadBytes :         38477824
MftWrites :            17061
MftWriteBytes :        115359744
Mft2Writes :           0
Mft2WriteBytes :       0
RootIndexReads :       0
RootIndexReadBytes :   0
RootIndexWrites :      0
RootIndexWriteBytes :  0
BitmapReads :          136
BitmapReadBytes :      557056
BitmapWrites :         1180
BitmapWriteBytes :     11161600
MftBitmapReads :       4
MftBitmapReadBytes :   16384
MftBitmapWrites :      118
MftBitmapWriteBytes :  491520
UserIndexReads :       2938
UserIndexReadBytes :   12034048
UserIndexWrites :      2738
UserIndexWriteBytes :  20615168
LogFileReads :         4
LogFileReadBytes :     16384
LogFileWrites :        8407
LogFileWriteBytes :    180936704       

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Fsutil
Command-line reference A-Z
Command shell overview