Answered by:
Monitoring DB Free Space on a SMB Share

Question
-
Hi guys,
Customer does (unfortunately) have some DB Files on a SMB Share and we are constantly getting the error although the path definitely is accessible.... -- anyone any idea?
Event ID: 4211. Management Group: XYZ. Script: GetSQL2016DBFreeSpace.vbs. Version: 7.0.7.0 : The next errors occurred:
Database: abcDB Error: Cannot get FreeSpace of SMB shared '\\test01.test.corp\data' ('\\test01.test.corp\data\SQLSrv6\SQLTI40\testdb.mdf')
Error occurred during data file free space calculation for database 'abcDB'
Error Number: 76
Description: Path not found
Instance: SQLTI40
Thanks in advance,Markus
Tuesday, November 26, 2019 8:43 AM
Answers
-
Hi,
There's a similar thread about this in the below link, you can refer to Guy_In_IT's last reply in the thread:
"They have recommended that if we give the Computer account of the database server read access this may resolve the issue."
Best regards,
LeonBlog:
https://thesystemcenterblog.com LinkedIn:
- Proposed as answer by AlexZhu_775Microsoft contingent staff Thursday, November 28, 2019 5:28 AM
- Marked as answer by Markus--2015 Monday, December 2, 2019 9:32 AM
Tuesday, November 26, 2019 9:00 AM
All replies
-
With what run as account is the MP running, and does that account have access to the share?Tuesday, November 26, 2019 8:52 AM
-
Hi,
There's a similar thread about this in the below link, you can refer to Guy_In_IT's last reply in the thread:
"They have recommended that if we give the Computer account of the database server read access this may resolve the issue."
Best regards,
LeonBlog:
https://thesystemcenterblog.com LinkedIn:
- Proposed as answer by AlexZhu_775Microsoft contingent staff Thursday, November 28, 2019 5:28 AM
- Marked as answer by Markus--2015 Monday, December 2, 2019 9:32 AM
Tuesday, November 26, 2019 9:00 AM -
And the post just above in that other thread explains the reason why. Just sayin' : ]Tuesday, November 26, 2019 10:04 AM
-
Local System and it does not have access. But I doubt it will run with an AD RunAs Account!?Monday, December 2, 2019 9:29 AM