Problem
You attempt to apply cumulative update database updates to a Lync Server 2013 standard server with the cmdlet:
Install-CSDatabase -ConfiguredDatabases -SqlServerFqdn <standardLyncServerFQDN> -Verbose
… but it fails with the error:
WARNING: Install-CsDatabase failed.
WARNING: Detailed results can be found at
“C:Usersadministrator.SomeDomainAppDataLocalTemp2Install-CsDatabase-6b80904
b-3c18-43c0-8568-d09c4d0406c1.html”.
Install-CsDatabase : Command execution failed: Cannot find any suitable disks for database files. You must manually specify database paths.
At line:1 char:1
+ Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn
lyncstd01.someDomain …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidOperation: (:) [Install-CsDatabase], Depl
oymentException
+ FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
ment.InstallDatabaseCmdlet
PS C:Usersadministrator.SomeDomain>
Opening the install html log in the folder C:UsersadministratorAppDataLocalTemp2Install-CsDatabase-6b809… show the following:
Error: An error occurred: “Microsoft.Rtc.Management.Deployment.DeploymentException” “Cannot find any suitable disks for database files. You must manually specify database paths.
Solution
I find that most people who come across this error would immediately think that the upgrade process is unable to locate the Lync databases and that additional information needs to be Install-CSDatabase cmdlet. Unfortunately, that is usually not the solution as this is usually due to insufficient drive space on the drive where the database is located. In this example, the database is stored on the C drive and it currently only has 12GB of free drive space:
Most forum posts suggest that you need at least 20GBs but the first time I encountered this problem, I noticed that 16GB appeared to be sufficient: