Project Record · WQ-2026-003Projects
Dongguan Zhongtang data recovery: RAID 5 production database rescue
A paper packaging plant in Zhongtang, Dongguan, lost two RAID 5 drives. Read-only imaging and database validation restored shipping data in 36 hours.
- Client
- Paper packaging · production and warehousing
- Site
- Zhongtang, Dongguan
- Scope
- RAID 5 reassembly / SQL Server database recovery
- Lead time
- 36 hours
A paper packaging plant in Zhongtang, Dongguan, could not log in to its production and warehousing server at the morning shift handover on 10 November. ERP and warehousing shared one database server built on a RAID 5 array of four 4TB enterprise SATA drives. After the first drive dropped offline, the site replaced it and started a rebuild; halfway through, a second drive dropped and the array went offline, leaving the day shipping plan stuck at picking.
Quick summary
- When: 10–12 November 2026. Where: a paper packaging plant in Zhongtang, Dongguan.
- Failure: one RAID 5 drive went offline and a rebuild was started immediately; a second drive dropped during the rebuild and the array failed.
- Response: read-only imaging of all four drives, virtual RAID 5 reassembly, SQL Server database validation, then migration to a new array.
- Outcome: work orders, inventory movements and shipping queries were restored; a small number of gaps were listed separately.
- Boundaries: no guarantee of 100% recovery; no physical repair of the original drives, ERP reinstallation or manual data re-entry.
01 · Site and failure boundary
The server ran Windows Server 2016 with a SQL Server database of about 680GB. Order attachments and some historical backups sat on the same array. The server room had no separate UPS zone, and the machine had restarted once during a mains fluctuation. Those details shaped the recovery order: protect the drives first, then talk about data.
We confirmed three things first: array level and drive order, whether database files spanned drives, and the time of the last usable backup. The most recent successful job on the backup NAS was five days old; later jobs had failed repeatedly without raising an alert. The goal was therefore not to return to last night, but to recover as much of the last five days of shipping, inventory and production orders as possible.
A rebuild had already been attempted, and the first removed drive had been left loose in the rack. We asked the site to stop all writes and rebuild attempts immediately, then took the four drives out with their original slot order recorded. The originals were read once; every later attempt ran on images.
02 · Why a rebuild made the array fail
RAID 5 tolerates one failed drive, but a rebuild is not instant: the controller must read every remaining drive and recalculate data onto the replacement. That can run for hours or days, raising load and temperature on the surviving drives. If one of them already has bad sectors or a firmware fault, it can drop during the rebuild; with the second drive gone, RAID 5 goes offline as a whole.
The safer order is to power down, remove the drives, record the slot order, image each drive read-only, and reassemble virtually from the images. The originals are read once, so later attempts no longer consume the last remaining copy. For a plant that cannot stop production, that order matters more than getting a replacement drive online quickly.
03 · Process: image, reassemble, validate
Step one was read-only imaging. Each of the four drives was connected to an imaging device in turn; bad sectors were skipped by sector and their positions logged to avoid repeated reads that could damage the platters further. After imaging, the originals were sealed and never powered again.
Step two was virtual reassembly. The RAID 5 volume was rebuilt from the controller parameters, stripe size and drive order. We first confirmed that the file system could be recognised, then located the SQL Server MDF, LDF and backup files. Residual metadata from the interrupted rebuild can mislead the analysis, so drive order and parity direction were cross-checked against the images.
Step three was database validation. Data files were copied to an isolated environment, DBCC CHECKDB was run, and pages that reported errors were repaired and exported. Work orders, inventory movements and shipping documents were reconciled table by table over the relevant date range, with missing records listed separately.
Step four was migration. The original server was fitted with new drives and a new array, the validated data was migrated back, and ERP and warehousing were tested in isolation for login, queries, postings and printing before the switch back to production. From drive removal to completed migration took 36 hours.
04 · Outcome and boundaries
Within 36 hours, production work orders, inventory movements and shipping queries were back. A small number of differences caused by page-level damage were listed for the business team to reconcile against paper documents and supplier statements. The original drives were not written to and remain available for further examination if needed.
No physical repair of the original drives was performed, and ERP was not reinstalled nor interfaces rebuilt; the data was recovered, not the whole system. The recovery ratio depends on platter condition and how much was written after the failure, so any promise of 100% recovery would be false.
05 · Backup advice for manufacturers in Zhongtang and nearby
- RAID is not a backup: it only covers a single drive failure. Accidental deletion, ransomware, controller faults or two offline drives can still lose data.
- Keep a copy outside the same rack: at least one off-site or cloud copy, so fire, flooding or theft does not take everything at once.
- Run a restore drill every week: a successful backup message is not enough; mount the data and open sample files.
- Alert on backup jobs: repeated failures must reach a person, not wait until an incident exposes them.
- Record array and drive order: note slot and model before replacing a drive, and never mix old drives loosely in the rack.
Delivery log
5 entries
| Date | Site | Issue | Action | Result |
|---|---|---|---|---|
| 2026-11-10 | Zhongtang plant server room | One drive went offline and the site replaced it and started a rebuild | Powered down, removed the drives, recorded slot order and imaged all four read-only | Originals left untouched; images completed |
| 2026-11-10 | Recovery bench | A second drive dropped during the rebuild and the array went offline | Parsed RAID 5 stripe and parity parameters and reassembled the array virtually | File system recognised; database files located |
| 2026-11-11 | Recovery bench | Risk of page-level database corruption | Extracted MDF/LDF, ran DBCC CHECKDB and exported key business tables | Production, inventory and shipping data queryable |
| 2026-11-11 | Zhongtang plant | The original server and array could not be returned to service | Rebuilt the array on new drives, migrated the data and ran business spot checks | System restored; differences listed |
| 2026-11-12 | Zhongtang plant | Backup jobs had failed for days without alerts | Moved backups to an off-site NAS, added weekly restore drills and alerting | Backup results now visible |
FAQ
Frequently asked questions
- 01Two drives in a RAID 5 array are offline after a failed rebuild. Can the data still be recovered?
- AnswerIn most cases it is worth attempting. The key is to stop the rebuild and all writes immediately, image every drive read-only including the one already removed, then reassemble the array virtually from the original stripe parameters. The final recovery ratio depends on inspection and validation.
- 02Why not just replace the failed drive and rebuild?
- AnswerA RAID 5 rebuild reads every surviving drive continuously. If one of them is marginal, it can drop during the rebuild and take the array offline. Imaging first preserves the last remaining copy.
- 03Can the original server go back into production after recovery?
- AnswerNot advisable. Drives in the original array had dropped offline more than once. Fit new drives, rebuild the array, migrate the validated data, and complete business spot checks in an isolated environment before switching over.
- 04We have a NAS backup. Why is data recovery still needed?
- AnswerA backup only covers the last successful job. In this case backup jobs had failed for several days without an alert, and the most recent usable copy was five days old, so recent shipping and inventory records had to be rebuilt from database logs and residual pages.
NEXT · WHAT HAPPENS AFTER
Need an assessment for a similar site?
Data recovery can be triaged remotely first, before deciding whether to ship the media.
