DFS-R: 볼륨 상태

Microsoft.Windows.FileServer.DFSR.ReplForVolStoppedOnErrorMonitor (UnitMonitor)

이 개체는 복제 폴더를 호스트하는 볼륨을 모니터링하고, DFS 복제에서 복제를 중지하도록 하는 볼륨 오류가 검색되면 경고를 만듭니다.

Knowledge Base article:

요약

이 개체는 복제 폴더를 호스트하는 볼륨을 모니터링하고, DFS 복제에서 복제를 중지하도록 하는 볼륨 오류가 검색되면 경고를 만듭니다. DFS 복제 이벤트 2004가 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 복제 폴더를 호스트하는 볼륨에 오류가 있어서 복제가 중지되었음을 나타냅니다. 이 오류는 다음과 같은 문제로 발생할 수 있습니다.

해결 방법

경고의 추가 정보 섹션에서 오류 정보를 검사하고 다음과 같은 해결 방법을 사용합니다.

사용 가능한 디스크 공간 증가

준비 폴더 또는 디버그 로그 파일을 호스트하는 볼륨에 디스크 공간이 부족한 경우 볼륨에서 사용 가능한 디스크 공간을 늘리거나, 볼륨의 크기를 늘리거나, 준비 폴더의 경로를 사용 가능한 디스크 공간이 더 많은 볼륨으로 변경합니다.

사용 가능한 디스크 공간의 크기를 수동으로 확인하려면 명령 프롬프트 창을 열고 다음 명령을 입력합니다. 여기서 [servername]은 영향을 받는 폴더를 호스트하는 서버의 이름이고, [domain\user]는 사용자 이름입니다.

WMIC /node: "[servername]" /user: [domain\user] volume list status.

공간을 확보한 후 DFS Replication 서비스를 다시 시작합니다.

할당량 조정

할당량(NTFS 디스크 할당량 또는 파일 서버 리소스 관리자 할당량)으로 인해 영향을 받는 폴더 또는 볼륨이 제한되는 경우 할당량 크기를 늘리는 것이 좋습니다.

준비 폴더 경로 변경

DFS 관리를 사용하여 준비 폴더의 위치를 변경합니다. 준비 폴더와 충돌 및 삭제된 항목 폴더의 할당량 크기 편집(http://go.microsoft.com/fwlink/?LinkId=186944)을 참조하십시오.

참고: 복제 폴더를 관리하려면 복제 그룹이 구성된 도메인에서 Domain Admins 그룹의 구성원이거나, 복제 그룹 생성자거나, 권한이 위임되어 있어야 합니다.

볼륨 오류 확인

이 문제가 자주 발생하면 chkdsk 명령을 사용하여 DFS 복제 데이터베이스를 호스트하는 볼륨을 확인합니다. 또한 이벤트 뷰어에서 시스템 로그에 NTFS 원본 관련 이벤트가 있는지 확인합니다. 이러한 이벤트는 디스크에서 오류가 발생하는지 여부를 나타낼 수도 있습니다.

검증

문제가 해결되면 이 모니터가 자동으로 정상 상태로 다시 설정됩니다.

추가 정보

DFS 복제 이벤트 2004(http://go.microsoft.com/fwlink/?LinkId=187121)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Volume
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: 볼륨 오류로 인해 복제가 중지됨
복제 폴더를 호스트하는 볼륨에 오류가 있어 DFS 복제에서 복제를 중지했습니다.
추가 정보:
오류: {0}({1})
볼륨: {2}
GUID: {3}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.ReplForVolStoppedOnErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Volume" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.ReplForVolStoppedOnErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[4]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[2]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[1]$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.Volume"]/VolumeGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1104</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.Volume"]/VolumeGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="System!System.Entity"]/DisplayName$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>