Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Macrium Reflect "Unable to read from disk - Error Code 23 - Data error (cyclic redundancy check)": what it means and how to finish the image

Technical article
Backup & Recovery

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Macrium's knowledge base says that when a disk has bad sectors, a backup log can show Backup aborted! Unable to read from disk - Error Code 23 - Data error (cyclic redundancy check). Error 23 is the Windows code ERROR_CRC, described by Microsoft as "Data error (cyclic redundancy check)." Macrium treats it as a sign of failing media, so the first job is to protect the data, and the second is to confirm the disk before choosing between repeated chkdsk runs and Reflect's option to ignore bad sectors.

What the error means

Macrium says that, because of wear, temperature and vibration, "low-level data errors are expected over time". Our own reading: a corrected error is normal, and the abort means an error the drive could not correct. A drive's firmware corrects most low-level read errors itself. Macrium says modern drives use error correction codes, automatic retries and sector remapping, and that when a sector develops more errors than can be corrected, "the drive reports a read or write failure to the operating system." Those sectors are what Macrium calls bad sectors.

Macrium explains why Reflect may be the first to complain: it "is responsible for reading parts of the disk that are not frequently accessed during normal system operation." Its page adds that the presence of bad sectors "is often a sign of underlying media degradation, and may indicate that the disk is approaching failure and should be replaced."

Macrium's page and Microsoft's code table give no guidance on other causes of a CRC error, such as the connection between disk and computer.

Likely causes

Cause What you see How to confirm
Bad sectors on the source disk The backup aborts with the Error Code 23 line chkdsk D: without parameters shows volume status only; chkdsk D: /r is the repair step under Option 1; SMART attributes such as Reallocated Sector Count, Current Pending Sector Count or Uncorrectable Sector Count are non-zero
File system damage on the volume Disk errors in the Windows System log Event ID 7 (bad block) or Event ID 55 ("the file system structure on the disk is corrupt and unusable") in Event Viewer
A disk approaching failure Errors increase over time The same checks repeated show growing counts

Prove the cause before changing anything

Macrium names three ways to confirm bad sectors: CHKDSK, Windows Event Viewer and disk SMART tools. Macrium's CHKDSK step uses /r, which repairs; the read-only form below shows status only.

  1. Read the Reflect log and note the exact line and which disk or volume was being read.
  2. Open Event Viewer. Macrium says to expand Windows Logs, select System, and look for Event ID 7 and Event ID 55.
  3. Read the SMART data. Macrium says attributes such as "Reallocated Sector Count", "Current Pending Sector Count" and "Uncorrectable Sector Count" can indicate bad sectors, and to consult the disk manufacturer's documentation. For how a SMART verdict is read, see smartctl "SMART overall-health self-assessment test result: FAILED!": what the verdict means and what to do first.
  4. Check the volume in read-only mode. Microsoft says chkdsk "used without parameters" only displays status and does not fix errors. In an elevated Command Prompt, replace D: with the volume Reflect was reading and replace E:\reports with a folder that exists on a different disk from the one under test:
chkdsk D: > E:\reports\chkdsk-before.txt

Microsoft adds that running chkdsk without /f on an active partition "might report spurious errors because it can't lock the drive", so treat a report from a mounted volume as a hint. Our own advice: a status-only chkdsk does not scan every sector, so a clean report does not clear the disk. Macrium notes that bad sectors may not show during normal system operation.

Fix

Protect the data first

Copy the files you cannot lose to another disk before anything that writes to this one. This is our own advice, not a step from Macrium's page: chkdsk /r writes to the disk, and a failing disk may degrade further under a long full read. Macrium recommends imaging the disk "to ensure that data loss does not occur in the event of failure". The two Macrium options below are how to get that image.

Option 1: run CHKDSK, then image again

Macrium's advice is running CHKDSK repeatedly and "attempting to create the image after each CHKDSK run", so that file system clusters are allocated to good sectors.

First save the current state (the read-only report from the checks above, run again if the file is old):

chkdsk D: > E:\reports\chkdsk-before.txt

Disruptive step: the next command repairs file system errors, locates bad sectors and recovers readable information on the volume. It needs the volume locked; if Windows cannot lock it, Windows offers to run the check at the next restart, and Microsoft says that on a boot partition the check runs at restart and the computer then restarts automatically. It also reads the whole disk, which can stress a disk that is already failing. Microsoft's page gives no way to undo it; the report saved above is the record of the volume as it was.

Run the check. Microsoft says /r "includes the functionality of /f, with the additional analysis of physical disk errors", and that if chkdsk cannot lock the drive it asks whether to check at the next restart:

chkdsk D: /r

Microsoft says interrupting chkdsk is not recommended, although interrupting it "shouldn't leave the volume any more corrupt than it was before chkdsk was run." Microsoft says that on a large disk the check can take a long time to complete. Run the Reflect image again afterwards. For event 55 and 98 handling, see NTFS event 55 and 98: 'The file system structure on the disk is corrupt and unusable' on Windows Server.

Option 2: tell Reflect to ignore bad sectors

If the error persists after several chkdsk runs, Macrium says Reflect can continue the image when it finds a bad sector, instead of failing.

First save the current state: write down or screenshot the current state of the two tick boxes named below.

Risk: the next steps change a Reflect setting (the menu is called Edit Defaults and Settings). With the option on, a job that meets unreadable sectors carries on instead of stopping, so a job can finish while some clusters were not read.

Select the Other Tasks menu, then Edit Defaults and Settings..., then the Advanced Settings tab and Advanced Error Handling. Select Ignore bad sectors during image or clone. Optionally select Log each bad cluster detail, which writes lines such as Read Error: Bad sector found in cluster 2353222 to the image log.

To back out: open the same screen and return both tick boxes to the state you saved. Then run an image and check the log.

Replace the disk

Macrium says increasing bad sectors "may indicate that the disk is approaching failure and should be replaced". Our own advice: after the image completes, plan the replacement, and check the unread clusters in the log before restoring from that image.

Example (illustrative): fs01 has a 2 TB data disk D:. The Reflect job aborts with the Error Code 23 line. Event Viewer shows Event ID 7 entries on the disk. The administrator copies the payroll folder to another disk, runs chkdsk D: /r over a night, and runs Reflect again; it aborts again. With Ignore bad sectors during image or clone and Log each bad cluster detail on, the image completes and the log lists clusters 2353222 and 2353223. If the volume uses 4,096-byte clusters, 2 × 4,096 = 8,192 bytes were unreadable. The disk is ordered for replacement.

Confirm the fix

  1. The image completes and the log has no abort line.
  2. If the bad-sector option was on, the log's bad-cluster lines are counted. Macrium's page does not say how to map a cluster to a file.
  3. A test restore from the image opens correctly. A finished image shows the job ran, not that the data is intact; A successful backup job is not a successful restore explains the check.

What to watch afterwards

  • SMART attribute counts on the disk each week; Macrium says bad sectors that increase over time point to degradation.
  • New Event ID 7 and Event ID 55 entries.
  • Whether the same disk fails the next scheduled image.

Risks and limits

  • These commands have not been run or lab-tested.
  • chkdsk /r repairs in place and has no back-out; a failing disk can worsen under it.
  • The ignore-bad-sectors option lets a job finish with unread clusters.
  • Menu names come from Macrium Reflect X and may differ in other versions; Macrium's page shows no date.
  • Macrium's page gives the Error Code 23 line for backup logs and shows no separate text for clone logs, so the clone case is not covered.

Sources