DFS-R: 사용 가능한 디스크 공간

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

이 개체는 복제 폴더 또는 준비 폴더가 있는 볼륨에서 사용 가능한 디스크 공간을 모니터링합니다.

Knowledge Base article:

요약

이 개체는 복제 폴더 또는 준비 폴더가 있는 볼륨에서 사용 가능한 디스크 공간을 모니터링하고, 사용 가능한 디스크 공간이 너무 작아서 복제할 수 없으면 경고를 만듭니다. DFS 복제 이벤트 로그에 DFS 복제 이벤트 4502가 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 DFS 복제를 작동하는 데 필요한 사용 가능한 디스크 공간이 없음을 나타냅니다.

해결 방법

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

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

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

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

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

할당량 조정

할당량(NTFS 디스크 할당량 또는 파일 서버 리소스 관리자 할당량)으로 인해 영향을 받는 폴더 또는 볼륨이 제한되는 경우 할당량 크기를 늘리는 것이 좋습니다. 파일 서버 리소스 관리자로 만든 폴더를 조정하려면 할당량 관리(http://go.microsoft.com/fwlink/?LinkId=187098)를 참조하십시오. NTFS 디스크 할당량을 조정하려면 FSutil quota(http://go.microsoft.com/fwlink/?LinkId=187104)에 설명된 대로 Fsutil quota 명령을 사용합니다.

DFS 복제 할당량 조정

준비 폴더와 충돌 및 삭제된 항목 폴더의 할당량 크기를 편집하여 DFS 복제에 필요한 디스크 공간을 줄일 수 있습니다. 준비 폴더와 충돌 및 삭제된 항목 폴더의 할당량 크기 편집(http://go.microsoft.com/fwlink/?LinkId=186944)을 참조하십시오.

중요: 준비 폴더 할당량이 너무 작게 구성된 경우 DFS 복제에서 추가 CPU 및 디스크 리소스를 사용하여 준비 파일을 다시 생성할 수 있습니다. 또한 준비 공간이 부족하면 파트너와의 동시 전송 수를 효율적으로 제한할 수 있기 때문에 복제 속도가 느려질 수 있습니다. 준비 폴더와 충돌 및 삭제된 항목 폴더의 크기를 늘리면 복제 성능과 복구 가능한 충돌 및 삭제된 파일 수가 증가할 수 있습니다.

검증

사용 가능한 디스크 공간이 충분하고 DFS 복제에서 DFS 복제 이벤트 4504를 기록하면 이 모니터가 정상 상태로 다시 설정됩니다.

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

추가 정보

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.ReplicatedFolder
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: 디스크 공간 부족
{0} 볼륨에서 사용 가능한 공간이 부족하여 DFS Replication 서비스에서 하나 이상의 파일을 복제하는 동안 오류가 발생했습니다. 이 볼륨에 복제 폴더, 준비 폴더 또는 둘 다가 포함되어 있습니다. 복제를 계속하려면 이 볼륨에서 사용 가능한 공간이 충분한지 확인합니다. 서비스가 주기적으로 복제를 다시 시도합니다.
추가 정보:
준비 폴더: {1}
복제 폴더 루트: {2}
복제 폴더 이름: {3}
복제 폴더 ID: {4}
복제 그룹 이름: {5}
복제 그룹 ID: {6}
구성원 ID: {7}
볼륨: {8}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.FreeSpaceMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder" 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.FreeSpaceMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[8]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[9]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[2]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[3]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[1]$</AlertParameter5>
<AlertParameter6>$Data/Context/Params/Param[4]$</AlertParameter6>
<AlertParameter7>$Data/Context/Params/Param[5]$</AlertParameter7>
<AlertParameter8>$Data/Context/Params/Param[6]$</AlertParameter8>
<AlertParameter9>$Data/Context/Params/Param[7]$</AlertParameter9>
</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">4502</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.ReplicatedFolder"]/ReplicatedFolderGUID$</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.ReplicatedFolder"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4114</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4504</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>