I have been trying to get add a Mirror to my System drive in Windows Server 2012 R2 and I've been getting the error:
All Disks holding extents for a given volume must have the same sector size and the sector must be valid.
While researching this problem I found that the most likely reason is because the drives are not partitioned the same and I came across this article (KB951985) which gives step by step instructions how to setup the disks to mirror the system drive.
The problem is that it wants you to get the sizes of the EFI and MSR partitions using
DISKPART>select disk 0
According to the article I should see something like the following
Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 System 200 MB 1024 KB <- EFI PARTITION Partition 2 Reserved 128 MB 201 MB <- MSR PARTITION Partition 3 Primary 50 GB 329 MB
but since my drive has already been converted to Dynamic I see this. (This shouldn't be a barrier to the process because it needs to be dynamic before adding the mirror)
Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Dynamic Data 992 KB 31 KB Partition 2 Dynamic Data 350 MB 1024 KB Partition 3 Dynamic Data 931 GB 351 MB Partition 4 Dynamic Data 728 KB 931 GB
If I look at diskpart documentation I see the following under "list partition"
Displays the partitions listed in the partition table of the current disk. On dynamic disks, these partitions may not correspond to the dynamic volumes on the disk. This discrepancy occurs because dynamic disks contain entries in the partition table for the system volume or boot volume (if present on the disk). Dynamic disks also contain a partition that occupies the remainder of the disk and reserves space for use by dynamic volumes.
From this I can presume that following:
- Partition 1 is the EFI partition
- Partition 2 is the MSR Partition
- Partition 3 is my C drive
- Partition 4 is partition that occupies the remainder of the disk.
Problem is that I can't create an EFI partition of 992 KB because the size for creating an efi partition is specified in MB.
Syntax: CREATE PARTITION EFI [SIZE=<N>] [OFFSET=<N>] [NOERR] SIZE=<N> The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more free space in the current region.
Is there any way to do this or am I interpreting the partitioning incorrectly?