DFS-R: NTFS 변경 저널 생성

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

이 개체는 변경 저널이 없는 복제 폴더를 호스트하는 볼륨에 대한 NTFS 변경 저널 생성을 모니터링하고, 저널 생성에 실패하면 경고를 만듭니다.

Knowledge Base article:

요약

이 개체는 변경 저널이 없는 복제 폴더를 호스트하는 볼륨에 대한 NTFS 변경 저널 생성을 모니터링하고, 저널 생성에 실패하면 경고를 만듭니다. DFS 복제 이벤트 2210이 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 DFS 복제에서 하나 이상의 복제 폴더를 호스트하는 볼륨에 NTFS 변경 저널을 만들지 못했음을 나타냅니다. 영향을 받는 볼륨의 모든 복제 폴더에 대해 복제가 사용하지 않도록 설정되었습니다.

이 문제는 볼륨에서 사용 가능한 디스크 공간이 512MB 이상 없는 경우에 발생할 수 있습니다.

해결 방법

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

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

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

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

변경 저널에 내부 오류가 있고 파일을 이동하거나 삭제하여 512MB 공간을 복구할 수 없는 경우 볼륨에서 Chkdsk를 실행하여 손상된 저널이 사용한 공간을 복구합니다.

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

sc 명령을 사용하여 서비스를 원격으로 다시 시작하려면 명령 프롬프트 창을 열고 다음을 수행하십시오.

1. 서비스를 중지하려면 다음 명령을 입력합니다. 여기서 [servername]은 원격 서버의 UNC(범용 명명 규칙) 경로입니다.

sc[servername] stop dfsr

2. 서비스가 중지됨 상태인지 확인하려면 다음 명령을 입력합니다.

sc[servername] query dfsr

3. 서비스를 다시 시작하려면 다음 명령을 입력합니다.

sc [servername] start dfsr

참고: 서비스를 다시 시작하려면 영향을 받는 서버에서 로컬 관리자 그룹의 구성원이어야 합니다. 서비스 스냅인, Windows PowerShell Start-ServiceStop-Service cmdlet 또는 명령줄 도구(예: net stopnet start)를 사용하여 서비스를 다시 시작할 수도 있습니다.

복제 폴더 위치 이동

복제 폴더를 호스트하는 볼륨에서 사용 가능한 디스크 공간이 부족하면 복제 폴더 위치를 사용 가능한 공간이 더 많은 다른 볼륨으로 이동하는 것이 좋습니다. 복제 그룹에서 서버의 구성원 자격을 제거하고 다시 만들면 됩니다. 이 작업을 수행하려면 Domain Admins 그룹의 구성원 자격 또는 위임된 권한이 필요합니다.

검증

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

추가 정보

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: NTFS 변경 저널을 만들지 못함
DFS 복제에서 변경 저널이 없는 하나 이상의 복제 폴더를 호스트하는 볼륨에 대한 NTFS 변경 저널을 만들지 못했습니다. 영향을 받는 볼륨의 모든 복제 폴더에 대해 복제가 사용하지 않도록 설정되었습니다.
추가 정보
볼륨: {0}
필요한 사용 가능 공간(MB): {1}
오류: {2} ({3})
볼륨 GUID: {4}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.UsnJournalCreationFailureMonitor" 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.UsnJournalCreationFailureMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[2]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[3]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[4]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[5]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[1]$</AlertParameter5>
</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">2210</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>