Microsoft KB Archive/832316

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

Article ID: 832316

Article Last Modified on 12/3/2007

-

APPLIES TO

 Microsoft Windows XP Home Edition Microsoft Windows XP Professional Microsoft Windows Server 2003 Service Pack 1, when used with:  Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

 Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

 Microsoft Windows Server 2003, Standard Edition (32-bit x86)</li></ul>

 Microsoft Windows Server 2003, Web Edition</li></ul>

 Microsoft Windows Server 2003, Enterprise x64 Edition</li></ul>

 Microsoft Windows Server 2003, 64-Bit Datacenter Edition</li></ul> </li> Microsoft Windows Small Business Server 2003 Premium Edition</li> Microsoft Windows Small Business Server 2003 Standard Edition</li></ul>

-

<div class="notice_section">

<div class="symptoms_section">

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.

<div class="cause_section">

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

<div class="resolution_section">

Hotfix information
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

Prerequisites
To apply this hotfix, you must have Windows XP Service Pack 1 (SP1) installed.

Restart requirement
After you apply this hotfix, you do not have to restart the computer.

Hotfix replacement information
This hotfix does not replace any other previously released hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.

Windows XP, x86-based versions
<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_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: <pre class="fixed_text">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.

<pre class="fixed_text">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: <pre class="fixed_text">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

Keywords: kbbug kbfix kbfilesystems kbqfe kbwinxpsp2fix kbwinxppresp2fix kbhotfixserver KB832316

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.