"V-16-10051-10509 Failed to share folder" reported when trying to online FileShare resource in VCS

book

Article ID: 100015363

calendar_today

Updated On:

Description

Error Message

V-16-10051-10509 Failed to share folder %PATH% as (\\%SERVER%\%SHARE%) [15:5]

The 15 refers the category for SHARE_NET - sharing over the network and 5 refers to "Access Denied", which is found by "net helpmsg 5"
 

Cause

This is caused since the high availability daemon (HAD) must have rights to share the drive/folder.
 
HAD runs as a service logged in as the Local System account. If the Local System account has no access to the drive/folder that Cluster Server is sharing, HAD cannot bring the Fileshare resource online.
 

Resolution

To resolve this condition, in addition to the desired security settings, the Local System account needs to have minimum NTFS permissions of "List Folder Contents" or "READ" to the directory.  
 
NOTE: Ensure the FileShare is offline before performing below steps.
 
1) This can be modified by right clicking on the directory which is to be shared, and selecting properties.

2) Select the Security tab at the top for the Properties window and click "ADD" 

3) From the "Select Users, Computers, or Groups" window, select the Local System account (SYSTEM) and click "ADD", then click "OK" 

4) From this Properties window select the desired  permissions (List Folder Contents or Read as a minimum) and click "OK" (Figure 4)

5) Probe the FileShare resource once from VCS console and attempt to bring the service group online.  The directory will now be shared with the correct security.

 

Issue/Introduction

Fileshare resource will not come online after permissions for the "Everyone" group are removed.

Additional Information

UMI: V-16-10051-10509 UMI: V-16-10051-10519