System Administration & Network Administration
sql-server storage-area-network disk-volume multiple-instances
Updated Wed, 17 Aug 2022 12:00:17 GMT

Shared volume for data (multiple MDF) and another shared volume for logs (multiple LDF)

I have 3 instances of SQL Server 2008, each on different machines with multiple databases on each instance. I have 2 separate LUNS on my SAN for MDF and LDF files. The NDX and TempDB files run on the local drive on each machine. Is it O.K. for the 3 instances to share a same volume for the data files and another volume for the log files?

I don't have thin provisioning on the SAN so I would like to not constaint disk space creating multiple volumes because I was adviced that I should create a volume (drive letter) for each instance, if not for each database. I am aware that I should split my logs and data files at least. No instance would share the actual database files, just the space on drive.


Keep in mind, database disk configuration depends heavily upon your use cases. Therefore, for your environment, you may get perfectly acceptable performance by using only a log LUN and a data LUN. The key is to have data and log separated, as that will reduce IO contention.

Past that, you may wish to separate one or more instances off to separate drives if they have IO use that impedes another instance from operating at the desired performance.

Conversely, keeping all instances on the same drives may increase performance if individual instances rarely max out IO, and you have a small number of spindles.

Comments (1)

  • +0 – Thank you for your valuable insight, I solved my disk space and found a way to only share 2 separate logs files on one drive, each from different machines creating 2 volumes on this RAID1 array. 300GB for each machine and zoning on the switch. One is rarely used for development, but the other is heavily used for production. The actual log sizes are very small (MB), but I'm hoping with constant full backups I can keep them small. If not I'll move the development logs to the raid5 (plenty of space) and manually resize an just make one volume. — Oct 07, 2012 at 00:20