叢集服務無法對主機共用磁碟區建立根目錄

Microsoft.Windows.6.2.Cluster.Cluster.Service.failed.to.create.root.directory.to.host.shared.volumes (Rule)

Knowledge Base article:

摘要

在容錯移轉叢集中,虛擬機器可使用位於相同 LUN (磁碟) 上的叢集共用磁碟區,同時還可在彼此獨立的情況下進行容錯移轉 (或在節點間移動)。叢集節點和磁碟區之間的通訊 (包括網路連線、存取、驅動程式和其他要素) 必須正常運作,虛擬機器才可使用叢集共用磁碟區。

事件詳細資料

事件識別碼:

5123

來源:

Microsoft-Windows-FailoverClustering

符號名稱:

DCM_EVENT_ROOT_CREATION_FAILED

訊息:叢集服務無法建立叢集共用磁碟區根目錄「%2」。錯誤訊息為「%1」。搜尋系統錯誤碼 ( http://go.microsoft.com/fwlink/?LinkId=83027)。

原因

這是因為叢集身分識別沒有足夠的權限。

解決方式

CSV - 檢查 CSV 資料夾的建立和權限

建立叢集共用磁碟區所需的資料夾 (目錄) 或為其設定權限時發生問題。這些資料夾的名稱格式如下:

[系統磁碟機]\ClusterStorage\[磁碟區名稱] 搜尋系統錯誤碼 ( http://go.microsoft.com/fwlink/?LinkId=83027)。

其中, [系統磁碟機] 搜尋系統錯誤碼 ( http://go.microsoft.com/fwlink/?LinkId=83027)。 是本機節點上的開機磁碟的磁碟機代號; [磁碟區名稱] 搜尋系統錯誤碼 ( http://go.microsoft.com/fwlink/?LinkId=83027)。 是叢集共用磁碟區中的磁碟區的名稱。C:\ClusterStorage\volume1 即為一個資料夾名稱範例。

如果您目前尚未開啟 [事件檢視器],請參閱「開啟事件檢視器和檢視與容錯移轉叢集相關的事件」。如果事件包含您尚未查閱的錯誤碼,請參閱「尋找與部分事件訊息所包含錯誤碼相關的詳細資訊」。在檢閱事件訊息後,請根據您的情況選擇適用的動作:

若要執行以下程序,您在每部叢集伺服器上都必須身為本機 Administrators 群組的成員,且您使用的帳戶必須是網域帳戶,或是已經委派您對應的權限。

開啟事件檢視器和檢視與容錯移轉叢集相關的事件

開啟事件檢視器和檢視與容錯移轉叢集相關的事件:

尋找與部分事件訊息所包含錯誤碼相關的詳細資訊

尋找與部分事件訊息所包含錯誤碼相關的詳細資訊:

NET HELPMSG errorcode

驗證

確認叢集共用磁碟區可上線。如果目前在寫入磁碟區時發生問題,可能適合監視事件記錄和對應叢集虛擬機器的功能,以確認問題已獲得解決。

若要執行以下程序,您在每部叢集伺服器上都必須身為本機 Administrators 群組的成員,且您使用的帳戶必須是網域帳戶,或是已經委派您對應的權限。

確認叢集共用磁碟區可上線

確認叢集共用磁碟區可上線:

使用 Windows PowerShell 命令檢查容錯移轉叢集中的資源狀態

使用 Windows PowerShell 命令檢查容錯移轉叢集中的資源狀態:

Get-ClusterSharedVolume

如果您執行前述命令時未指定資源名稱,則會顯示叢集中所有叢集共用磁碟區的狀態。

Element properties:

TargetMicrosoft.Windows.6.2.Cluster.Monitoring.Service
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
叢集服務無法對主機共用磁碟區建立根目錄
{0}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.6.2.Cluster.EventProvider Default
WA WriteAction Microsoft.Windows.Cluster.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.6.2.Cluster.Cluster.Service.failed.to.create.root.directory.to.host.shared.volumes" Enabled="onEssentialMonitoring" Target="Clus8Library!Microsoft.Windows.6.2.Cluster.Monitoring.Service" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.6.2.Cluster.EventProvider">
<Criteria>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5123</Value>
</ValueExpression>
</SimpleExpression>
</Criteria>
<LogName>System</LogName>
<PublisherName>Microsoft-Windows-FailoverClustering</PublisherName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="ClusLibrary!Microsoft.Windows.Cluster.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.6.2.Cluster.Cluster.Service.failed.to.create.root.directory.to.host.shared.volumes.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>