最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
SQL Cluster移除存储设备后重新挂载无法使用怎么办?
时间:2022-06-29 07:52:52 编辑:袖梨 来源:一聚教程网
如果移除SQL Server的存储设备,Cluster不会给出任何警告,但是当试图对数据库进行操作时(比如创建数据库),就会有如下错误信息:
Cannot use file ‘S:MSSQL10_50.TESTMSSQLDATAtest4.mdf’ for clustered server. Only formatted files on which the cluster resource of the server has a dependency can be used. Either the disk resource containing the file is not present in the cluster group or the cluster resource of the Sql Server does not have a dependency on it.CREATE DATABASE failed. Some file names listed could not be created. Check related errors. (Microsoft SQL Server, Error: 5184)
此时,你一定会再次为SQL Cluster添加存储设备,重启服务,Cluster没有给出任何警告。但是问题依旧!
解决方法:
重新挂载或添加刚才移除的存储设备
存储设备上右击“Properties” – “Dependencies”,添加依赖条件“Name: SQLCluster”(该存储依赖于SQL Server群集),确定保存。
在“SQL Server”上右击“Properties” – “Dependencies”,添加依赖条件“AND Sdisk”(该服务依赖于存储设备Sdisk),确定保存。
重启SQL Cluster,恢复正常。
相关文章
- 原神伊涅芙的定位是什么 伊涅芙定位介绍 07-12
- 原神伊涅芙是哪个国家的 伊涅芙所属国家介绍 07-12
- 无畏契约源能行动官网地址 官网预约地址介绍 07-12
- ps怎样把相机拍摄的图片制作成手工写实插画的效果? 07-12
- 网站落地页如何设计才能提高网站转化率 07-12
- Html5移动端div固定到底部实现底部导航条的几种方式 07-12