논리 디스크 조각화 수준

Microsoft.Windows.Server.2008.LogicalDisk.DefragAnalysis (UnitMonitor)

이 모니터는 정기적으로(기본값: 매주 토요일 오전 3시) 실행하여 모든 논리 드라이브의 조각화 수준을 검사합니다. 조각화 수준이 임계값을 초과하는 것으로 나타나면 기본적으로 모니터의 상태가 "경고"로 바뀌고 경고가 생성됩니다. 이 모니터를 대상으로 하는 "논리 디스크 조각 모음"이라는 복구 기능이 있지만 기본적으로는 사용되지 않습니다. 복구 기능을 사용하도록 설정하면 상태 변경에 따라 자동으로 논리 디스크의 조각을 모으는 작업이 시작됩니다.

Knowledge Base article:

요약

이 모니터는 정기적으로(기본값: 매주 토요일 오전 3시) 실행하여 모든 논리 드라이브의 조각화 수준을 검사합니다. 조각화 수준이 임계값을 초과하는 것으로 나타나면 기본적으로 모니터의 상태가 "경고"로 바뀌고 경고가 생성됩니다. 이 모니터를 대상으로 하는 "논리 디스크 조각 모음"이라는 복구 기능이 있지만 기본적으로는 사용되지 않습니다. 복구 기능을 사용하도록 설정하면 상태 변경에 따라 자동으로 논리 디스크의 조각을 모으는 작업이 시작됩니다.

구성

이 모니터는 모든 모니터에 대해 일반적으로 사용 가능한 매개 변수 외에도 다음과 같은 재정의 가능한 매개 변수를 포함합니다.

원인

새 파일을 만들거나 기존 파일에 데이터를 추가하는 경우 파일 시스템에서 가능한 한 빠르게 읽기 작업을 수행할 수 있을 정도로 연속하여 공간을 할당하려고 합니다. 시간이 경과됨에 따라 연속 섹션의 공간 할당은 점점 줄어들고 그 결과, 파일은 디스크에 걸쳐 조각화됩니다. 디스크의 파일 조각화가 심해질수록, 파일 시스템이 해당 파일에 대해 작업하는 시간이 길어지므로 전체 시스템 속도가 낮아질 수 있습니다.

해결 방법

참고: 드라이브 조각 모음은 리소스를 많이 사용하는 작업이므로 이 기능을 수행하는 동안에는 시스템 성능이 떨어질 수 있습니다. 따라서 근무 외 시간에 드라이브 조각 모음을 실행하는 것이 좋습니다.

드라이브 조각화 임계값이 적절한 경우에는 다음 방법 중 하나로 드라이브 조각 모음을 실행하여 이 문제를 해결할 수 있습니다.

이 모니터는 운영 콘솔에서 필요 시 상태 탐색기 창의 "상태 다시 계산" 기능을 지원하지 않습니다. 문제가 해결되고 경고가 종결되면 모니터의 상태를 수동으로 다시 설정하거나 다음 예약된 간격에 모니터가 자동으로 다시 설정될 때까지 기다립니다.

Element properties:

TargetMicrosoft.Windows.Server.2008.LogicalDisk
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.2008.LogicalDisk.DefragAnalysis.Monitortype
RemotableTrue
AccessibilityPublic
Alert Message
논리 디스크 조각화 수준 높음
{1} 컴퓨터의 {0} 디스크 조각화 수준이 높습니다. 파일 조각화 비율이 {2}\%입니다. 조각 모음 권장: {3}.
RunAsSystem.PrivilegedMonitoringAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2008.LogicalDisk.DefragAnalysis" RunAs="System!System.PrivilegedMonitoringAccount" Accessibility="Public" Enabled="false" Target="Server2008!Microsoft.Windows.Server.2008.LogicalDisk" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.2008.LogicalDisk.DefragAnalysis.Monitortype" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2008.LogicalDisk.DefragAnalysis.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$ ($Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/Name$)</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='FilePercentFragmentation']$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='OSRecommended']$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="OverThreshold" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<SchedulerStart>03:00</SchedulerStart>
<SchedulerDaysOfWeekMask>64</SchedulerDaysOfWeekMask>
<FilePercentFragmentationThreshold>10</FilePercentFragmentationThreshold>
<UseOSRecommendation>true</UseOSRecommendation>
</Configuration>
</UnitMonitor>