The partition size is extended, but the file system remains the original size when you extend an NTFS volume (832316)



The information in this article applies to:

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows Server 2003 SP1, when used with:
    • Microsoft Windows Server 2003, Datacenter Edition
    • Microsoft Windows Server 2003, Enterprise Edition
    • Microsoft Windows Server 2003, Standard Edition
    • Microsoft Windows Server 2003, Web Edition
    • Microsoft Windows Server 2003, 64-Bit Enterprise Edition
    • Microsoft Windows Server 2003, 64-Bit Datacenter Edition
  • Microsoft Windows Small Business Server 2003, Premium Edition
  • Microsoft Windows Small Business Server 2003, Standard Edition

SYMPTOMS

In Microsoft Windows XP and in Windows Server 2003, after you use the Disk Management snap-in or the Diskpart.exe command-line utility to extend a basic or dynamic NTFS file system volume, the partition size is extended, but the file system remains its original size. You do not receive an error message, but when you view the disk information in the Disk Management snap-in, the volume appears as the extended partition size, but the value in the Capacity column still shows the original size. If you view the properties of the volume in My Computer, or if you run the Chkdsk.exe tool against the NTFS volume, both items report the file system size as it was before the extension.

Note You may still experience this problem on a computer that has Microsoft Windows Server 2003 Service Pack 1 (SP1) installed. However, the Diskpart.exe hotfix that is described in this article is included in Windows Server 2003 SP1.

CAUSE

This problem occurs because the NTFS driver exhausts its resources when it tries to extend the volume.

RESOLUTION

Service pack information

Windows XP

To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Windows Server 2003

To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version        Size     File name     Platform
   ------------------------------------------------------------------
   05-Dec-2003  01:26  5.1.3564.0     153,088  Diskpart.exe  x86    
   04-Dec-2003  21:26  5.1.2600.1323  584,192  Xpsp2res.dll  x86
   05-Dec-2003  01:26  5.1.3564.0     420,864  Diskpart.exe  IA-64
   04-Dec-2003  21:27  5.1.2600.1323  583,680  Xpsp2res.dll  IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This hotfix includes a new Diskpart.exe utility command (extend filesystem) that you can use to extend the file system only. After you install the hotfix, to extend the file system only, type the following commands at the Diskpart prompt:

DISKPART> select volume #

Where # is the NTFS volume number of the volume where you want to extend the file system.

DISKPART> extend filesystem

Note The extend filesystem command is not currently documented in the Diskpart.exe Help file.

For example, the following Chkdsk utility output shows that the volume size for drive E: is 1 gigabyte (GB), but the Diskpart.exe utility shows the partition size as 2 GB:
C:\>chkdsk e:
The type of the file system is NTFS.
Volume label is DATA_VOL.

WARNING!  F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
Security descriptor verification completed.
Windows has checked the file system and found no problem. 1020095 KB total disk space.
        20 KB in 1 files.
         4 KB in 9 indexes.
         0 KB in bad sectors.
      7710 KB in use by the system.
      7152 KB occupied by the log file.
   1012361 KB available on disk.

      1024 bytes in each allocation unit.
   1020095 total allocation units on disk.
   1012361 allocation units available on disk.


Microsoft DiskPart version 5.1.3564

Copyright (C) 1999-2003 Microsoft Corporation.
On computer: MYSERVER

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D                      Removable     27 PB
  Volume 1     E   DATA_VOL    NTFS   Partition   2000 MB  Healthy
  Volume 2     C   Windows     NTFS   Partition   4001 MB  Healthy    System
The Diskpart utility's extend filesystem command extends the file system on the volume.

DISKPART> select volume 1 

DISKPART> extend filesystem

DiskPart successfully extended the file system on the volume.

DISKPART> exit

Leaving DiskPart...


After the extend filesystem command is used to extend the file system, the Chkdsk utility now shows the corrected new volume size of 2 GB:
C:\>chkdsk e:
The type of the file system is NTFS.
Volume label is DATA_VOL.

WARNING!  F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
Security descriptor verification completed.
Windows has checked the file system and found no problem.

   2047999 KB total disk space.
        20 KB in 1 files.
         4 KB in 9 indexes.
         0 KB in bad sectors.
      7835 KB in use by the system.
      7152 KB occupied by the log file.
   2040140 KB available on disk.

      1024 bytes in each allocation unit.
   2047999 total allocation units on disk.
   2040140 allocation units available on disk.
Note The extended volume size also appears correctly if you view the properties of the volume in My Computer and in the Disk Management snap-in.

For additional information about how to prevent this issue in Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:

329826 Extending NTFS Volume Fails but Appears to Be Successful


For additional information about the Diskpart.exe utility, click the following article numbers to view the articles in the Microsoft Knowledge Base:

300415 A Description of the Diskpart Command-Line Utility


325590 How to Use Diskpart.exe to Extend a Data Volume


For additional information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New File Naming Schema for Microsoft Windows Software Update Packages

For additional information about the standard terminology that is used to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates


Modification Type:MajorLast Reviewed:7/14/2006
Keywords:kbHotfixServer kbQFE kbWinXPsp2fix kbFileSystems kbWinXPpreSP2fix kbfix kbbug KB832316 kbAudITPRO