Applies To: SQL Server 2014, SQL Server 2016 Preview
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Returns the names of shared drives used by the clustered server.
This SQL Server system function is included for backward compatibility. We recommend that you use sys.dm_io_cluster_valid_path_names (Transact-SQL) instead.
Applies to: SQL Server (SQL Server 2008 through current version).
fn_servershareddrives returns a list of shared drives used by this clustered server. These shared drives belong to the same cluster group as the Microsoft SQL Server resource. Further, the SQL Server resource is dependent on these drives.
This function is helpful in identifying drives available to users.
The following example uses fn_servershareddrives to query on a clustered server instance:
SELECT * FROM fn_servershareddrives();
Here is the result set.