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
0
votes
1 answer

Disk volume not extending

C: volume on a virtual disk within a Server 2008 R2 virtual machine won't extend correctly. Under Disk Management, Disk 0 is showing 119.9 GB NTFS for the C: volume, however C: under Windows Explorer only shows it as 100 GB. I have tried extending…
Ash
  • 448
  • 2
  • 9
  • 31
0
votes
2 answers

getting variables for partition size from diskpart in batch file

Im trying to execute part of a batch file only if a specific partition is at least a certain size. I found an example of diskpart being used in a batch file here:…
Sveniat
  • 3
  • 4
0
votes
1 answer

iSCSI Volume shown as two partitions on disk manager and need to merge/extend

I've just created a LUN and Target on my NAS, the from windows server, used iSCSI initiator to mount it. Disk appears in disk manager Disabled. Using diskpart i remove readonly attrib and created partition for the size of the disk…
sambomartin
  • 151
  • 1
  • 1
  • 11
0
votes
0 answers

Windows 2008 Unable to expend the disk to single drive

I'm try to expend two disk D and E but every time I do it convert the disk into spinner array disk. How do I allocated the unallocated space? Why do I have two partition with same size on Disk 1 and 2 when you can see it does have 2 partition. If…
maj
  • 5
  • 1
  • 8
0
votes
0 answers

Proper Partition Alignment

I'm trying to follow the advice from this TechNet article about partition alignment. Our San is an EMC, the disks are in a 4 disk raid 10. This services an I/O intensive application, 60:40 write:read. According to the wmic query in the article for…
Ben Reyes
0
votes
1 answer

3TB RAID1 not detected in Hyper-V Core 2012

I'm creating a small server, but I have issues with one RAID config (RAID1-HOST-DATA). As you can see in the image below, everything seems fine. My four physical disk are detected, and two RAID1 are created as expected. I installed a Hyper-V Server…
esylvestre
  • 109
  • 2
0
votes
6 answers

Resizing Partitions/Volumes on Dynamic Disks (Windows Server 2003)

What is the best way to resize partitions on a server with a Dynamic Disk? I have 4 volumes in what appears to be 2 partitions. I have ghosted each of these volumes to separate image files. I will need to have the drive letters remain the same when…
Daniel A. White
  • 635
  • 1
  • 11
  • 20
0
votes
2 answers

Is it possible to convert a basic disk to dynamic disk without losing data in Server 2008?

I am not able to extend partition in windows server 2008. We have two different partitions which we want to join and make one partition. I came to know that basic disks have limitation of 2 TB each partition and we can create a maximum of 4…
Madhava
  • 1
  • 1
  • 1
  • 1
0
votes
1 answer

What's difference between online/offline mounting/unmounting a disk?

Can someone explain the difference between: online and mount offline and unmount I know mount and unmount are not windows commands btw, I just wanna know the difference. Is mounting/dismounting a drive same as putting it into online/offline using…
codekiddy
  • 93
  • 2
0
votes
2 answers

Windows 2008 R2: can't extend C drive, mystery partitions

I have a Windows 2008 R2 server running under VMware ESX 4.0.0. I have reallocated disk space to it in order to extend the C drive, but Disk Management has "Extend Volume" greyed out. DISKPART shows more partitions than Disk Management shows,…
wfaulk
  • 6,828
  • 7
  • 45
  • 75
0
votes
1 answer

FreeBSD disk parts with no mounting. How does this work?

I'm using a VPS service. I installed FreeBSD 8.1, and now configuring. And today, I found really wired thing. This is my disklabel editor screen from sysinstall. FreeBSD Disklabel Editor Disk: ad0 Partition name:…
Eonil
  • 9,689
  • 15
  • 34
  • 53
0
votes
1 answer

Recover NTFS filesystem after DISKPART CLEAN

I managed to run the CLEAN command in DISKPART on the wrong disk (disk 1 instead of disk 3 in LIST DISK). Now it shows up as a "Healthy (Primary Partition)". If I assign a drive letter to the partition Windows just tells me its not formatted. I'm…
Tedd Hansen
  • 654
  • 4
  • 8
  • 17
0
votes
2 answers

Merge differencing and parent vhd into new vhd

Using DISKPART and the "VDISK MERGE" option, is it possible to specify that you want to keep the existing child/parent disks and do a merge into a new vhd file? That is; I still want to keep my original child/parent disks. As far as I can tell from…
Kjetil Klaussen
  • 103
  • 1
  • 4
0
votes
0 answers

gpart: arg0 'da1' invalid argument

I'm getting an error creating a disk partition when i type the command gpart create -s GPT da1 it through an error saying invalid argument
0
votes
1 answer

Windows 10 safely delete recovery partition

One of our processing PCs uses Windows 10 Pro, and I am the one in the unfortunate position of trying to upgrade the capacity of its C:\ drive (SSD) from 1TB to 2TB. I created an image backup using the "Windows 7" backup tool, removed the old SSD,…
rdi_pck
  • 11