troubleshooting Question

Creating DB on NAS location, DB created but not listed on Server

Avatar of Jordan_WM
Jordan_WM asked on
Microsoft ApplicationsMicrosoft SQL Server 2008
12 Comments1 Solution230 ViewsLast Modified:
Hello,

I have been searching other posts on here and came across about creating a DB on NAS location.

I was able to create the DB in the NAS location using the following statement but I am not able to see the DB on the server from SQL Server Management Studio even when I try to delete the DB it tells me it's in use.

I am suspecting it is a permisson issue.


CREATE DATABASE [Test] ON  PRIMARY
( NAME = N'TEST', FILENAME = N'\\NAS_LOCATION\TEST.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'TEST_log', FILENAME = N'\\NAS_LOCATION\TEST_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros