Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

SQL Server doesn't see Data drive Expand / Collapse
Author
Message
Posted Tuesday, October 23, 2012 8:09 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 14, 2013 10:55 AM
Points: 18, Visits: 135
I'm trying to install SQL Server 2012 on a new guest server. I can go through the installation just fine assuming I choose default file paths. Unfortunately SQL Server 2012 refuses to recognize my Data drive (D drive). I can't choose it through the Database default locations property, when creating a database etc. When I try a create database script I receive the following:

failed with the operating system error 5(Access is denied.)

This makes zero sense considering the SQL Server service account is both local administrator AND has full control with inheritable permissions on the Data drive (the D drive). I've even tried running management studio under administrator.

Has anyone experienced anything like this? This is my 7th SQL 2012 installation and the only time I've had this issue. This is the first time I've tried to install SQL Server on WIndows 2012.

Some details about the setup:
SQL Server 2012
Windows 2012
running on VSphere 5.1
100 GB vDisk MBR 64 K cluster size.
Post #1376072
Posted Tuesday, October 23, 2012 11:33 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 14, 2013 10:55 AM
Points: 18, Visits: 135
I've found a fix for this issue. If you configure a BASIC disk it fails. However when a DYNAMIC disk is used full functionality is restored. I'm not sure if this is a SQL Server or Windows 2012 issue. I've reproduced this issue on SQL Server 2012 RTM and CU1.
Post #1376182
Posted Wednesday, October 24, 2012 11:52 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:11 PM
Points: 6,466, Visits: 13,921
I suspect theres a deeper issue here. You dont want to be using dynamic disks, these are only designed for use when you want to crete a software raid through windows.

I have 2 windows 2012 vms under esx5.1 with sql server 2012 installed without issue.

How did you format the drive, what settings, before using it?


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1376785
Posted Friday, November 2, 2012 1:03 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, November 6, 2012 8:18 PM
Points: 2, Visits: 11
I am experiencing an identical problem (and this thread is the only reference I can find to it anywhere).

SQL Studio > Server > Properties > Database Settings > Default Locations > Browse - Only shows C: drive

During the initial install the other volumes ARE listed and selectable, so if you change the default locations at that stage you get the Access Denied error when trying to add our first DB afterwards.

My disks were formatted NTFS using Disk Management (via Computer Management), but I also tried Server Manager, and both GPT and MBR.

I can also confirm that converting a disk to Dynamic works (after an OS restart, just a SQL Server restart isn't enough), but formatting back to Basic the drives disappear from the list again.

[SQLSrvStd 11.0.2100.60 on WinSrvStd 2012 under ESXi5.1]
Post #1380162
Posted Friday, November 2, 2012 12:47 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:11 PM
Points: 6,466, Visits: 13,921
How are the disks presented to the OS, (iscsi, fibre channel, local raid,etc)?

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1380557
Posted Sunday, November 4, 2012 4:09 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, November 6, 2012 8:18 PM
Points: 2, Visits: 11
The storage is on an FC SAN, but the disks have just been added to the VM in VirtualCenter using the standard "Add Hardware" process...

Windows sees them as a "VMware Virtual disk SCSI Disk Device".

Post #1380842
Posted Tuesday, December 11, 2012 10:43 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 14, 2013 10:55 AM
Points: 18, Visits: 135
Perry Whittle (10/24/2012)
I suspect theres a deeper issue here. You dont want to be using dynamic disks, these are only designed for use when you want to crete a software raid through windows.

I have 2 windows 2012 vms under esx5.1 with sql server 2012 installed without issue.

How did you format the drive, what settings, before using it?


I use the exact same configuration as you. I'm formatting the drives with 64 bit cluster sizes. We have eager zero'ed the disks. I've tried both a long and quick format. The disks are vDisks not RDM.

any more ideas?
Post #1395243
Posted Tuesday, December 11, 2012 11:13 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:11 PM
Points: 6,466, Visits: 13,921
Hmm ghetto default for Windows 2012 is to set up the disk as GPT when laying the partition down, I'll need to dig into this a little more when I have time.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1395255
Posted Tuesday, December 11, 2012 1:54 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 14, 2013 10:55 AM
Points: 18, Visits: 135
Perry Whittle (12/11/2012)
Hmm ghetto default for Windows 2012 is to set up the disk as GPT when laying the partition down, I'll need to dig into this a little more when I have time.


I took your idea here and I've tried MBR basic and dynamic disks as well as GPT basic and dynamic disks. In each case only the Dynamic disk works.
Post #1395314
Posted Tuesday, December 11, 2012 2:13 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:11 PM
Points: 6,466, Visits: 13,921
Which storage driver are you using

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1395320
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse