Questions tagged [diskpart]

Diskpart is a scriptable Windows command-line tool which allows management of disk volumes including partitions and virtual disk (VHD/VHDX) files.

The Diskpart command allows command-line management of disk volumes including partitions and virtual disk (VHD/VHDX) files, both interactively and in a scripted fashion.

More information on the use of Diskpart can be found at http://support.microsoft.com/kb/300415.

51 questions
2
votes
1 answer

Server 2008 R2 - Boot disk RAID 1 - migrate to larger disk

My group inherited several 2008 R2 servers with single 70GB RAID 1 boot/system disks. No other disks in the servers. We need larger boot / system disk. Plan is : to replace one disk with new 500 GB drive wait for resync replace other smaller disk…
2
votes
2 answers

How to create dynamic volume in stripe configuration, aligned to 1024?

I am trying to create a software stripe setup with two physical disks (underneath they are 128K stripe, RAID5 for each). I've read that one can use diskpart, but I am unable to come up with a command that works. This is on Server 2k3 SP2. I was…
GregC
  • 889
  • 2
  • 8
  • 25
2
votes
3 answers

How long should diskpart take?

I am using diskpart to extend a drive that is actually a VHD. I've already extended the VHD. It's on Windows 2003 and the C drive doesn't contain the swap file and the available space is contiguous. However didn't see the Note about the Resource Kit…
sam
1
vote
1 answer

0xC03A001B error while trying to compact VHD

What can be the reason of such error? I tried to compact both via DISKPART and Optimize-Vhd commandlet. Via DISKPART I get following error: DISKPART> compact vdisk DiskPart has encountered an error: The requested operation cannot be performed on a…
Suncatcher
  • 594
  • 2
  • 7
  • 22
1
vote
1 answer

remove volume on missing dynamic disk

I had 2 drives in my Server 2003 PDC 1 of the drives went bad and was replaced. Now i show the working drive, the new drive and a missing disk. I am trying to delete the missing disk but am not able to because it contains a volume that was part of…
Khalid Rahaman
  • 263
  • 1
  • 7
  • 17
1
vote
0 answers

issue in increasing disk size in ubuntu guest vmware

Have followed link I was trying to increase the size of my disk allocated to ubuntu guest in vmware below are the things i have already done Increased max setting in vmware settings - Done Partition the new disk space - Done fdisk /dev/sda …
pkm
  • 203
  • 1
  • 2
  • 7
1
vote
0 answers

Windows Server 2008 R2 server not booting

It's a Hyper-V machine that runs the DC for my lab environment. Had a power failure that shut down my server and all other machines come up fine except this lone DC. It boots up straight to Recovery. Startup Repair hasnt helped. When I go into…
Agent
  • 314
  • 4
  • 16
1
vote
0 answers

Device imaging process Won't work first time

I'm having an issue regarding a disk imaging process. To get the machine into it's initial state, I first run a simple DISKPART CLEAN, and then restart the machine. . Diskpart sel disk 0 clean exit I then boot the machine into a Win-PE…
1
vote
1 answer

Cannot reactivate RAID-5 volume: The size of the plex member is invalid

We had a 3-drive Windows Server 2008 R2 RAID-5 fail (operating in redundancy mode): WDC 1 TB WDC 1 TB WDC 1 TB We removed the failed hard drive, and put a WDC 1 TB drive (that we had standing by) into the machine. When launched, Disk Manager,…
Ian Boyd
  • 5,293
  • 14
  • 60
  • 82
1
vote
3 answers

Resizing a System Partition Windows Server 2003 VM (Getting GParted Error)

I am getting an error while trying to resize System Partition for Windows 2003 Server (this is a VM on a Hyper-v Windows Server 2008) using GParted Live CD ISO. Followed this…
Dina
  • 189
  • 1
  • 9
1
vote
1 answer

How to increase partition size for FAT32 volume on VHD?

I have VHD file attached as a disk (Disk 2 on screenshot below). It has only 1 partition formatted in FAT32 (so Linux clients can write something there). It got full, so I want to extend it. I used Hyper-V tool to extend the size of the disk - but I…
avs099
  • 322
  • 6
  • 23
1
vote
2 answers

WinPE diskpart can't attach vdisk

I created WinPE 3.0 and didn't modify it in any way. I want to attach a vdisk (.vhd file) while running WinPE but I can't attach it, no error is shown, no indication that diskpart didn't attach it, it just doesn't happen. These are the steps that I…
Luka Kusulja
  • 11
  • 1
  • 2
1
vote
1 answer

Dell MD3000 - Resizing a virtual disk

I've replaced some drives to our MD3000 with bigger ones. These currently store database files used in a SQL Server 2005 cluster running on Windows Server 2003. Now, we replaced the smaller hard drives with new bigger ones and let the array get…
1
vote
1 answer

disk management/diskpart on windows server 2008 hangs

I am having an issue on my Windows Server 2008 "Sql Server". When I access Disk Management, the UI hangs on "Loading disk configuration information" When I run diskpart it does nothing after showing the server name. I NEED to expand my secondary…
Josh
  • 483
  • 2
  • 9
  • 19
1
vote
4 answers

GUI version of diskpart.exe or equivalent on Windows 2003 Server

I have a 95% OS X server shop..and just a handful of Windows servers I occasionally have to mess with... I need to resize some disks on a Windows 2003 box, and am looking for the equivalent of OS X's Disk Utility, if there is such a thing built…
CaseyIT
  • 427
  • 3
  • 8
  • 14