Forum Discussion
amkhanfch
Aug 18, 2024Copper Contributor
Extending dynamic disk
Hi,
I have windows server 2012 R2. I have one drive with 2 folders, one of the folders is shared.
When I extend the drive space (current: 280GB), it gets increased and disk management shows 632 GB, but the file explorer and shares in server manager still shows 280 GB.
I am attaching the screenshots.
I have tried below to resolve the issue but in vain:
1. rescan disks
2. restarting the server
3. stop share and then increase the size
4. checked events but nothing found
5. checked diskpart, everything is normal there
- kyazaferrSteel Contributor
Clear Offline Files (Optional)
Sometimes, network shares might still show old information due to cached data or offline files. To clear offline files:
- Open Control Panel → Sync Center.
- Click Manage Offline Files.
- Select Disable Offline Files (if enabled), restart the server, and then re-enable offline files.
7. Check File Explorer Updates
File Explorer might not immediately show the updated size if it's caching data. To force it to refresh:
- Close File Explorer and open it again.
- If you're accessing the server remotely, ensure that the remote connection is refreshed.
- You can also try restarting Windows Explorer from the Task Manager.
8. Reboot the Server (If Not Done Yet)
If you've tried all of the above and it's still not working, consider rebooting the server again after extending the partition. Some changes may require a restart to be fully recognized
- kyazaferrSteel Contributor
erify the Partition and File System
After extending the disk space in Disk Management, you need to ensure that the partition itself is extended to use the newly added space. Sometimes, the partition might not automatically expand to use the unallocated space.
- Open Disk Management (diskmgmt.msc).
- Check if the partition on the disk has been extended to include the newly allocated space. If it hasn't, you'll need to extend the partition manually.
2. Extend the Partition Using Disk Management
If the partition hasn't automatically extended, follow these steps to manually extend it:
- Right-click the C: drive (or the drive you're extending) in Disk Management.
- Select Extend Volume.
- Follow the prompts to extend the partition to use the unallocated space.
After completing this, the File Explorer should show the updated disk size.
3. Extend the Volume Using DiskPart (If Needed)
If you're more comfortable with the command line, you can use DiskPart to extend the partition:
- Open Command Prompt as Administrator.
- Run diskpart.
- Type list disk to identify the disk you extended.
- Select the disk by typing select disk X (where X is the number of the disk).
- Then, type list volume to identify the volume (the partition) you want to extend.
- Select the volume by typing select volume X (where X is the volume number).
Check File System Integrity
If the partition is extended but the space is still not reflected, there may be an issue with the file system not recognizing the new space. You can try running the following command to check and repair the file system:
- Open Command Prompt as Administrator.
Verify Network Shares
After successfully extending the partition, verify if your network shares (especially the one that's showing as 280GB) are properly configured to use the extended space.
- Check if the shared folder is still located on the correct drive.
- If you're sharing the entire drive, it should automatically reflect the new size, but if you're sharing specific folders, ensure that the files within the folders are being managed properly.