which order should you run the Diskpart commands?

DRAG DROP
You have a server named Server1 that runs Windows Server 2012.
You need to create a new volume on Server1. The newvolume must have the following configurations:
Be stored on a new virtual hard disk
Be assigned the drive letter G
Have the NTFS file system
In which order should you run the Diskpart commands?
To answer, move all the Diskpart commands from the list of commands to the answer area and arrange them
in the correct order.

DRAG DROP
You have a server named Server1 that runs Windows Server 2012.
You need to create a new volume on Server1. The newvolume must have the following configurations:
Be stored on a new virtual hard disk
Be assigned the drive letter G
Have the NTFS file system
In which order should you run the Diskpart commands?
To answer, move all the Diskpart commands from the list of commands to the answer area and arrange them
in the correct order.

Answer:

Explanation:



Leave a Reply 9

Your email address will not be published. Required fields are marked *


Dude

Dude

Actually, the last two can change positions, no difference.

Adam

Adam

Format should be the last step.

If a volume is formatted then it is not possible to create a partition on it, the volume needs to be deleted, then a partition can be created on it, then the partition formatted.

MGJG

MGJG

Explanation:

For additional options, run the command help create vdisk at the DiskPart command prompt. After you create a VHD, you must attach it, create a partition, assign it a drive letter, and format it before it can be used. The following script (which must be run within a DiskPart session) demonstrates how to do this.

http://technet.microsoft.com/en-us/magazine/ee872416.aspx

jason

jason

so are the first 4 correct – create, attach, assign, format?

Adam

Adam

I carried out a test on a VM VHD, though please note the question is about a Virtual Disk which is typically created on a Hyper-V host using File and Storage Services / Storage Pools.

The steps are:
Create
Attach
Assign

The Format step occurs after the Partition has been created. The Partition can be a variable size, example 1TB on a 3TB Virtual Disk then it can be formatted.

So the final two steps are in this order:
Partition
Format

robber

robber

you tested this? briljant that u can assign a drive letter to a non existent partition.

create
attack
partition

assign
format
(i think the order for assign and format doesn’t really matter)

Peter

Peter

“Atack” option is the best :))

Pirulo

Pirulo

from https://technet.microsoft.com/en-us/library/hh825691.aspx

diskpart
create vdisk file=C:\windows.vhd maximum=25600 type=fixed
select vdisk file=C:\windows.vhdx
attach vdisk
create partition primary
assign letter=v
format quick label=vhd
exit

So order is :
CREATE VDISK
ATTACH VDISK
CREATE PARTITION
ASSIGN LETTER
FORMAT

On a side note, VHDs can be used without a hypervisor, usually for windows image maintenance.
See : https://technet.microsoft.com/en-us/library/hh825689.aspx
and https://technet.microsoft.com/en-us/library/hh825691.aspx

Marshal Bullymore

Marshal Bullymore

Why is assign before format? Can’t those two be done in any order?