diskpart.ps1 script from e2013calc6.6 failing - not sure what I'm missing

This has worked great for me in the past, but the difference this time is that we are separating out of logs to a separate volume. As such, we've created 12 LUNs (6 x 215GB, 6 x 10GB) for each of the three (3) MBX servers, added as raw device mappings via their individual VMware hosts.

For each MBX server, they are evenly distributed across 3 virtual SCSI controllers, interleaving the smaller and larger disks. Using the CSV files and PS scripts exported by the sizing calculator, we had an issue with diskpart.ps1 failing. I'm unsure how the diskpart.ps1 script understands which is the smaller disks but it seems to, which is great.

It seems to run Run-Diskpart and PrepareVolumes() functions without issue but runs into a snag during the PrepareDatabases() function. The result if that we're left with the formatted drives, but there are no mount points within the root directory specified in the companion Servers.csv file.

It notes that "the volume you selected is not valid or does not exist. There is no volume selected."
This is where it would normally create the database directory within the c:\ExchangeDatabases\ directory matching the corresponding database name and assign the c:\ExchangeVolumes\volumeName.

As a result it cannot create the enclosing subdirectories for databaseName.db and databaseName.log

An excerpt

Microsoft DiskPart version 6.3.9600

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: PHCEX13MBX01

The volume you selected is not valid or does not exist.

There is no volume selected.
What if: Performing the operation "Create Directory" on target "Destination: C:\ExchangeDatabases\DAG1-2".
Diskpart /s select volume C:\ExchangeVolumes\ExVol3, assign mount="C:\ExchangeDatabases\DAG1-2",

Microsoft DiskPart version 6.3.9600

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: PHCEX13MBX01

The volume you selected is not valid or does not exist.

There is no volume selected.
What if: Performing the operation "Create Directory" on target "Destination: C:\ExchangeDatabases\DAG1-2\DAG1-2.db".
What if: Performing the operation "Create Directory" on target "Destination: C:\ExchangeDatabases\DAG1-2\DAG1-2.log".
Diskpart /s select volume C:\ExchangeVolumes\ExVol4, assign mount="C:\ExchangeDatabases\DAG1-2\DAG1-2.log",

We can send along the full transcript and the sizing calculator files if it's helpful.
Otherwise, should we reach out to the Ross and co, at the contact address specified in the calculator?
-- strgcalc@microsoft.com


May 21st, 2015 2:26pm

Hi,

Since this issue is related to diskpart.ps1, I recommend contact to Scripting for Exchange Server Team so that you can get more professional suggestion, please refer to:
https://technet.microsoft.com/en-us/scriptcenter/dd742246.aspx?f=255&MSPPError=-2147217396

I suggest use latest version of Exchange 2013 calculator. Please refer to: https://gallery.technet.microsoft.com/Exchange-2013-Server-Role-c81ac1cf
Meanwhile, I have an article about update for Exchange 2010 Role Requirements Calculator. It indicate that the diskpart.ps1 has some issue and that have been rectified on the updates, for your reference:
http://blogs.technet.com/b/exchange/archive/2010/01/22/3409223.aspx

Thanks

Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2015 2:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics