파일시스템
2011.03.17 13:44

Data Integrity and Recoverability with NTFS

조회 수 1489 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제

Data Integrity and Recoverability with NTFS

NTFS is a recoverable file system that guarantees the consistency of the volume by using standard transaction logging and recovery techniques. In the event of a disk failure, NTFS restores consistency by running a recovery procedure that accesses information stored in a log file. The NTFS recovery procedure is exact, guaranteeing that the volume is restored to a consistent state. Transaction logging requires a very small amount of overhead.

NTFS ensures the integrity of all NTFS volumes by automatically performing HDD recovery operations the first time a program accesses an NTFS volume after the computer is restarted following a failure.

NTFS also uses a technique called cluster remapping to minimize the effects of a bad sector on an NTFS volume.

Important
If either the master boot record (MBR) or boot sector is corrupted, you might not be able to access data on the volume.

Recovering Data with NTFS

NTFS views each I/O operation that modifies a system file on the NTFS volume as a transaction, and manages each one as an integral unit. Once started, the transaction is either completed or, in the event of a disk failure, rolled back (such as when the NTFS volume is returned to the state it was in before the transaction was initiated).

To ensure that a transaction can be completed or rolled back, NTFS records the suboperations of a transaction in a log file before they are written to the disk. When a complete transaction is recorded in the log file, NTFS performs the suboperations of the transaction on the volume cache. After NTFS updates the cache, it commits the transaction by recording in the log file that the entire transaction is complete.

Once a transaction is committed, NTFS ensures that the entire transaction appears on the volume, even if the disk fails. During recovery operations, NTFS redoes each committed transaction found in the log file. Then NTFS locates the transactions in the log file that were not committed at the time of the system failure and undoes each transaction suboperation recorded in the log file. Incomplete modifications to the volume are prohibited.

NTFS uses the Log File service to log all redo and undo information for a transaction. NTFS uses the redo information to repeat the transaction. The undo information enables NTFS to undo transactions that are not complete or that have an error.

Important
NTFS uses transaction logging and recovery to guarantee that the volume structure is not corrupted. For this reason, all system files remain accessible after a system failure. However, user data can be lost because of a system failure or a bad sector.

Cluster Remapping

In the event of a bad-sector error, NTFS implements a recovery technique called cluster remapping. When Windows 2000 detects a bad-sector, NTFS dynamically remaps the cluster containing the bad sector and allocates a new cluster for the data. If the error occurred during a read, NTFS returns a read error to the calling program, and the data is lost. If the error occurs during a write, NTFS writes the data to the new cluster, and no data is lost.

NTFS puts the address of the cluster containing the bad sector in its bad cluster file so the bad sector is not reused.

Important
Cluster remapping is not a backup alternative. Once errors are detected, the disk should be monitored closely and replaced if the defect list grows. This type of error is displayed in the Event Log.

?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
61 파일시스템 NTFS Optimization admin 2011.03.17 9388
60 파일시스템 NTFS vs FAT admin 2011.03.17 4183
» 파일시스템 Data Integrity and Recoverability with NTFS admin 2011.03.17 1489
58 파일시스템 NTFS Sparse Files (NTFS5 only) admin 2011.03.17 1659
57 파일시스템 Issues with EFS admin 2011.03.17 1475
56 파일시스템 $EFS Attribute admin 2011.03.17 1515
55 파일시스템 EFS Internals admin 2011.03.17 112664
54 파일시스템 Using EFS admin 2011.03.17 1585
53 파일시스템 EFS - Encrypting File System admin 2011.03.17 1563
52 파일시스템 NTFS Compressed Files admin 2011.03.17 1480
51 파일시스템 NTFS Multiple Data Streams admin 2011.03.17 1389
50 파일시스템 NTFS 시스템 파일 admin 2011.03.17 1560
49 파일시스템 NTFS 파일속성 admin 2011.03.17 1313
48 파일시스템 NTFS MFT 분석 admin 2011.03.17 1434
47 파일시스템 NTFS 파티션 부트섹터 admin 2011.03.17 2072
46 파일시스템 NTFS 기초 admin 2011.03.17 1087
45 서버/레이드 레이드란? admin 2011.03.17 1077
44 매킨토시 맥사용시 주요장애원인과 대처 admin 2011.03.17 1532
43 하드디스크 ATA/ATAPI-5 — the fifth revision of the ATA standard released in 2000 file admin 2011.03.16 1163
42 하드디스크 ATA/ATAPI-6 — the sixth revision of the ATA standard released in 2001 file admin 2011.03.16 1103
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6