Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New Check - Default File Paths #330
@TheRockStarDBA so you are referring to a standard drive letter being mapped to your mount point across all servers in order to check the path of data files?
If we add a configuration for default data file paths, it will be one path...it would be difficult to come up with a way to handle multiple unless our configs can handle hash tables (which I'm not aware it can). Otherwise all we can validate is a single path in use for data files, which in cases where they are spread across multiple volumes or mount points will be difficult to not provide false positives...just in general thought of how this would possibly work.
Two possible solutions or tests.
Check that the default path settings are set to the correct path instead of the defaults
Check that the databases are not on the C Drive ( This was the particular scenario that the person was talking to me about) They had set up some new instances and created new databases but all the data files ended up on the C drive because they hadnt noticed they hadnt set the default file paths
If they had had a test for the default path settings they could have checked after SQL installation and config
If they had had a test for datafiles on C drive they could have identified the solution much earlier.