<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hetman Software]]></title><description><![CDATA[Practical data recovery guides for RAID, NAS, Linux, Windows, macOS, virtual machines, encrypted drives, filesystems, and storage failures.]]></description><link>https://hetman-software.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6a43c0aca0b4b0b753fadb54/778e4f8d-ac54-4d16-8052-77dfe35818ad.png</url><title>Hetman Software</title><link>https://hetman-software.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 18:40:54 GMT</lastBuildDate><atom:link href="https://hetman-software.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Recovering Deleted fscrypt Files from EXT4: A Practical Recovery Workflow]]></title><description><![CDATA[Deleting a file from an EXT4 filesystem is already a metadata problem: the directory entry and inode state change, while some of the file's blocks may remain until they are reused.
With fscrypt, there]]></description><link>https://hetman-software.hashnode.dev/recovering-deleted-fscrypt-files-from-ext4-a-practical-recovery-workflow</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/recovering-deleted-fscrypt-files-from-ext4-a-practical-recovery-workflow</guid><category><![CDATA[Linux]]></category><category><![CDATA[ext4]]></category><category><![CDATA[encryption]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[filesystem]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Fri, 11 Sep 2026 06:58:20 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/a6421aae-34f8-48f9-83be-19a8f5c010cb.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Deleting a file from an EXT4 filesystem is already a metadata problem: the directory entry and inode state change, while some of the file's blocks may remain until they are reused.</p>
<p>With <code>fscrypt</code>, there is another layer to consider. The surviving blocks may still contain the file data, but that data is encrypted. The original filename may also be encrypted. A useful recovery workflow therefore has to solve two different problems:</p>
<ol>
<li><p>reconstruct the deleted filesystem objects;</p>
</li>
<li><p>obtain the fscrypt key material required to turn the recovered ciphertext back into usable files.</p>
</li>
</ol>
<p>This makes fscrypt recovery fundamentally different from recovering ordinary deleted files from EXT4.</p>
<blockquote>
<p><strong>Disclosure:</strong> I work with Hetman Software. The practical examples below use Hetman Partition Recovery because this test was created to validate our implementation of EXT4 and fscrypt recovery. The goal of this article is to explain the storage and recovery workflow, including its limitations.</p>
</blockquote>
<h2>What fscrypt changes on EXT4</h2>
<p><code>fscrypt</code> is Linux filesystem-level encryption. It is integrated into supported filesystems such as EXT4 rather than operating as a separate encrypted block-device layer like LUKS.</p>
<p>That distinction matters.</p>
<p>With full-device encryption, the filesystem itself is normally hidden until the encrypted volume is unlocked. With fscrypt, encryption can be applied to selected directory trees while the rest of the filesystem remains accessible.</p>
<p>For a typical fscrypt configuration:</p>
<ul>
<li><p>file contents are encrypted before they are written to storage;</p>
</li>
<li><p>filenames inside protected directories are encrypted;</p>
</li>
<li><p>most ordinary filesystem metadata is not encrypted;</p>
</li>
<li><p>different encrypted directory trees can use different policies and keys.</p>
</li>
</ul>
<p>Modern fscrypt policies support several encryption-mode combinations. A common and recommended pair is AES-256-XTS for file contents and AES-256-CTS-CBC for filenames, although other modes are supported as well.</p>
<p>From a recovery perspective, the important point is that EXT4 metadata can still provide useful structural information even when the file contents themselves are encrypted.</p>
<p>Without the correct key, however, locating a deleted encrypted file and reconstructing its blocks does <strong>not</strong> mean the plaintext has been recovered.</p>
<h2>The recovery model: filesystem first, decryption second</h2>
<p>It helps to think about the problem as three layers:</p>
<p><strong>Layer 1 — EXT4 structure</strong></p>
<p>Can the recovery tool still identify the partition, superblock, allocation structures, inodes, directory records, extents, and other useful metadata?</p>
<p><strong>Layer 2 — deleted encrypted objects</strong></p>
<p>Can it reconstruct a deleted file or directory well enough to determine where its encrypted content is stored?</p>
<p><strong>Layer 3 — fscrypt access</strong></p>
<p>Is the required password, protector, raw key, or other fscrypt key material still available?</p>
<p>If layer 1 or 2 is destroyed by overwriting, the encryption key cannot recreate the deleted filesystem metadata.</p>
<p>If layer 3 is unavailable, correctly recovered ciphertext may still be unreadable.</p>
<p>That is why "the sectors are still there" is not enough when filesystem-level encryption is involved.</p>
<h2>Test environment</h2>
<p>For the lab test, we prepared a USB drive with several EXT4 partitions and focused on two data-loss scenarios.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/fscrypt-ubuntu-test-environment.jpg" alt="fscrypt test environment in Ubuntu" style="display:block;margin:0 auto" />

<p>The first test partition contained an fscrypt-protected directory. We copied a mixed dataset into it and then deleted part of the data.</p>
<p>For the second scenario, we prepared another EXT4 partition with fscrypt-protected data and then deleted the partition itself in Ubuntu.</p>
<p>The recovery phase was performed from Windows. This is useful in a lab because the recovery workstation does not need to mount the original Linux filesystem read/write.</p>
<p>The complete test is shown in this video:</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=sDJd8C4E72k">https://www.youtube.com/watch?v=sDJd8C4E72k</a></p>

<h2>Step 1: stop writing to the source device</h2>
<p>The most important action after accidental deletion is not a scan. It is preventing additional writes.</p>
<p>Every write to the affected filesystem can reuse blocks that previously belonged to deleted files. On flash storage and SSDs, discard/TRIM and internal garbage collection can make the situation even worse by causing previously freed blocks to become physically unavailable.</p>
<p>For that reason, the safest workflow is:</p>
<ul>
<li><p>disconnect or unmount the affected storage when practical;</p>
</li>
<li><p>avoid filesystem repair tools before imaging;</p>
</li>
<li><p>do not reinstall software onto the source device;</p>
</li>
<li><p>do not save recovered files back to the same storage;</p>
</li>
<li><p>create a sector-level image and work from the image whenever possible.</p>
</li>
</ul>
<h2>Step 2: create a disk image</h2>
<p>In this test, we first created an image of the USB drive.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-save-disk-image.jpg" alt="Creating a disk image before recovery" style="display:block;margin:0 auto" />

<p>Working from an image has two advantages.</p>
<p>First, the original device remains unchanged while you experiment with different scan settings.</p>
<p>Second, you can repeat the analysis without repeatedly stressing a failing or unstable source drive.</p>
<p>The image itself should always be stored on a different physical disk with enough free space.</p>
<p>After the image was created, it was mounted in the recovery software and appeared as a virtual disk.</p>
<h2>Step 3: scan the EXT4 partition</h2>
<p>The mounted image preserved the original partition layout, including the EXT4 test volumes.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-ext4-partition.jpg" alt="EXT4 partition mounted from the disk image" style="display:block;margin:0 auto" />

<p>For the first pass, we used a quick filesystem analysis.</p>
<p>This is a useful starting point when the partition still exists and the EXT4 metadata is mostly intact. The goal is to reconstruct the filesystem using the surviving structural information before resorting to a deeper scan.</p>
<p>When the scanner encountered the fscrypt-protected directory, it requested the credentials needed to unlock the encrypted data.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-fscrypt-password.jpg" alt="Entering fscrypt credentials during analysis" style="display:block;margin:0 auto" />

<p>This is an important distinction: the password is not being "cracked." It is supplied by the user and used to access the corresponding fscrypt key material.</p>
<p>A recovery application should not imply that encryption can be bypassed simply because deleted encrypted blocks were found.</p>
<h2>Step 4: inspect deleted files before saving them</h2>
<p>After the key was supplied, the recovered directory could be browsed together with the deleted objects found during the scan.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-fscrypt-files.jpg" alt="Deleted and existing files found inside an fscrypt-protected directory" style="display:block;margin:0 auto" />

<p>Preview is especially useful here.</p>
<p>A filename alone is not proof that a file was reconstructed correctly. Files can be partially overwritten, fragmented, or associated with stale metadata. Being able to open a document, image, archive, or video before saving it provides a much stronger validation signal.</p>
<p>Only after checking the results should the selected files be copied to another physical disk.</p>
<h2>Step 5: what if the whole EXT4 partition was deleted?</h2>
<p>Deleting a partition adds another failure layer because the current partition table may no longer describe where the old filesystem begins and ends.</p>
<p>In our second scenario, the EXT4 partition was deleted in Ubuntu, but the previous filesystem structures were still detectable in the image.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-deleted-ext4-partition.jpg" alt="A deleted EXT4 partition detected in the disk image" style="display:block;margin:0 auto" />

<p>The recovery workflow is similar:</p>
<ol>
<li><p>identify the lost partition or previous filesystem boundaries;</p>
</li>
<li><p>analyze the reconstructed EXT4 volume;</p>
</li>
<li><p>locate the fscrypt-protected directory;</p>
</li>
<li><p>provide the required decryption credentials;</p>
</li>
<li><p>inspect and recover the files to another disk.</p>
</li>
</ol>
<p>After unlocking the directory, the recovered folder structure became available again.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-deleted-partition-files.jpg" alt="Recovered directory from the deleted EXT4 partition" style="display:block;margin:0 auto" />

<h2>When a quick scan is not enough</h2>
<p>A quick filesystem analysis works best when enough valid EXT4 metadata survives.</p>
<p>If the partition has been reformatted, heavily damaged, partially overwritten, or its primary metadata is missing, a deeper scan may be required.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a44/hetman-partition-recovery-full-analysis-ext4.jpg" alt="Full analysis of an EXT4 partition" style="display:block;margin:0 auto" />

<p>A full analysis can search more broadly for previous filesystem structures and file signatures, but there is an important limitation with encrypted data:</p>
<p><strong>content-based carving is much less useful when the file content is encrypted.</strong></p>
<p>A normal JPEG, PDF, ZIP, or SQLite database has recognizable internal signatures and structure. Encrypted blocks are intentionally designed to look like high-entropy data. That means metadata-based reconstruction becomes even more important for fscrypt-protected files.</p>
<p>This is one of the reasons encryption can make deleted-file recovery much more dependent on surviving filesystem metadata.</p>
<h2>Cases where recovery may fail</h2>
<p>Even with the correct fscrypt password or key, recovery is not guaranteed.</p>
<p>The main failure conditions are straightforward:</p>
<p><strong>The blocks were overwritten.</strong><br />Once another file reuses the same physical blocks, the previous encrypted content is gone.</p>
<p><strong>Discard/TRIM removed the freed blocks.</strong><br />On storage where discard is supported and actually executed, deleted data can become unavailable much faster than on a traditional hard drive.</p>
<p><strong>Critical EXT4 metadata was destroyed.</strong><br />If the inode, extent information, directory records, or other structural data required to map the encrypted file are gone, reconstructing the original object may be impossible.</p>
<p><strong>The fscrypt key material is unavailable.</strong><br />Recovering encrypted file blocks without the matching key may preserve the ciphertext, but it does not restore readable plaintext.</p>
<p><strong>The recovered file is only partial.</strong><br />Large or fragmented files can survive only in part if some of their extents were reused.</p>
<h2>fscrypt is not the same as LUKS</h2>
<p>This distinction is worth emphasizing because it affects both incident response and recovery.</p>
<p>With LUKS, encryption operates below the filesystem. You normally unlock the encrypted block device first, and only then does EXT4 become visible.</p>
<p>With fscrypt, EXT4 itself remains the filesystem being analyzed. Encryption applies to selected file and directory contents inside it.</p>
<p>A simplified stack looks like this:</p>
<pre><code class="language-text">fscrypt on EXT4:

physical storage
└── EXT4 filesystem
    ├── ordinary directory
    └── fscrypt-protected directory
        ├── encrypted filename
        └── encrypted file contents
</code></pre>
<p>Compared with LUKS:</p>
<pre><code class="language-text">LUKS + EXT4:

physical storage
└── LUKS encrypted block device
    └── EXT4 filesystem
        └── files and directories
</code></pre>
<p>Those are different recovery problems, even if both ultimately involve an EXT4 filesystem.</p>
<h2>Practical takeaways</h2>
<p>The test confirmed several points that are useful beyond any single recovery tool.</p>
<p>The first is that filesystem-level encryption does not automatically eliminate the value of filesystem metadata. With fscrypt, much of the EXT4 structure remains outside the encrypted file contents, and that structure can be useful when reconstructing deleted objects.</p>
<p>The second is that locating encrypted data and decrypting it are separate stages. A tool may successfully reconstruct an encrypted deleted file while still requiring the legitimate fscrypt credentials before the file becomes usable.</p>
<p>The third is that imaging matters. When deleted encrypted data is involved, every unnecessary write to the source can reduce the amount of metadata and ciphertext that remains recoverable.</p>
<p>Finally, encryption makes metadata preservation more important, not less. Once encrypted content loses the metadata that describes how its blocks belong together, raw signature-based recovery has far less information to work with.</p>
<hr />
<p>For the complete step-by-step test, additional screenshots, and a more detailed walkthrough, see the <a href="https://hetmanrecovery.com/recovery_news/fscrypt-ext4-data-recovery">original guide</a>.</p>
]]></content:encoded></item><item><title><![CDATA[How to Recover Deleted Files from E01, S01, and AFD Forensic Disk Images]]></title><description><![CDATA[A forensic disk image is useful because it lets you investigate a storage device without repeatedly working with the original medium.
But creating an image is only the first step.
If files were delete]]></description><link>https://hetman-software.hashnode.dev/how-to-recover-deleted-files-from-e01-s01-and-afd-forensic-disk-images</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/how-to-recover-deleted-files-from-e01-s01-and-afd-forensic-disk-images</guid><category><![CDATA[Digital Forensics]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[cybersecurity]]></category><category><![CDATA[filesystem]]></category><category><![CDATA[Windows]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Thu, 10 Sep 2026 07:14:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/613201bd-a141-49bb-b58a-8d21b2927785.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A forensic disk image is useful because it lets you investigate a storage device without repeatedly working with the original medium.</p>
<p>But creating an image is only the first step.</p>
<p>If files were deleted before acquisition, a partition was damaged, or the filesystem metadata is incomplete, simply opening the image may not expose the data you need. In those cases, the image itself has to be analyzed as a storage device.</p>
<p>In this article, I’ll walk through a practical recovery workflow for three forensic image types you may encounter in real investigations and data recovery work:</p>
<ul>
<li><p><strong>E01</strong> — Expert Witness / EnCase evidence images;</p>
</li>
<li><p><strong>S01</strong> — SMART / Expert Witness images;</p>
</li>
<li><p><strong>AFD</strong> — the directory-based AFF image variant.</p>
</li>
</ul>
<p>The main goal is not to modify or “repair” the source image. Instead, we mount it, analyze the filesystem and unallocated space, preview recoverable files, and copy the required data to another storage device.</p>
<blockquote>
<p><strong>Disclosure:</strong> I work with Hetman Software, and the recovery examples below use Hetman Partition Recovery. The focus here is the image-handling and recovery workflow rather than a general product review.</p>
</blockquote>
<h2>Why a forensic image may still require data recovery</h2>
<p>A bitstream forensic image can preserve much more than the files currently visible through the filesystem.</p>
<p>Depending on the format and how the image was acquired, it may also contain:</p>
<ul>
<li><p>deleted files whose clusters have not been overwritten;</p>
</li>
<li><p>unallocated disk space;</p>
</li>
<li><p>old filesystem records;</p>
</li>
<li><p>damaged or partially overwritten metadata;</p>
</li>
<li><p>lost partitions;</p>
</li>
<li><p>fragments of files that are no longer referenced by the active directory structure.</p>
</li>
</ul>
<p>This is why mounting an image and browsing its visible filesystem is not always enough.</p>
<p>If the operating system or forensic viewer cannot locate the original file through filesystem metadata, a recovery tool can analyze the image at a lower level and search for both filesystem records and file signatures.</p>
<h2>E01, S01, and AFD: what is the difference?</h2>
<p>All three formats are designed to preserve storage data for later examination, but their container structures differ.</p>
<table>
<thead>
<tr>
<th>Format</th>
<th>Typical structure</th>
<th>Useful characteristics</th>
</tr>
</thead>
<tbody><tr>
<td><strong>E01</strong></td>
<td>Expert Witness / EnCase image, often split into <code>.E01</code>, <code>.E02</code>, <code>.E03</code>, etc.</td>
<td>Compression, metadata, segmentation, integrity information, wide forensic-tool support</td>
</tr>
<tr>
<td><strong>S01</strong></td>
<td>SMART / Expert Witness segmented image</td>
<td>Similar forensic-image workflow, metadata and integrity mechanisms</td>
</tr>
<tr>
<td><strong>AFD</strong></td>
<td>AFF Directory — a directory-based AFF representation</td>
<td>Stores an AFF image across multiple files in a directory rather than relying on one large container</td>
</tr>
</tbody></table>
<p>One detail is worth clarifying: <strong>AFD should be understood as the directory-based form of the Advanced Forensic Format family</strong>. This is useful when an AFF image needs to be distributed across multiple files instead of being stored as one large <code>.aff</code> file.</p>
<h2>Creating the test images in FTK Imager</h2>
<p>For the test environment, forensic images can be created with <strong>Exterro FTK Imager</strong>.</p>
<p>After selecting the physical source device, FTK Imager lets you choose the destination image type.</p>
<p>For an Expert Witness image, select <strong>E01</strong>:</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/05-exterro-ftk-imager-select-e01-format.jpg" alt="Select E01 forensic image format in FTK Imager" style="display:block;margin:0 auto" />

<p>For a SMART image, select <strong>SMART</strong>:</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/09-exterro-ftk-imager-select-smart-s01-format.jpg" alt="Select SMART S01 forensic image format in FTK Imager" style="display:block;margin:0 auto" />

<p>For the AFF-based workflow, select <strong>AFF</strong>. Depending on the implementation and output configuration, AFF data may also be stored as a directory-based AFD image.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/11-exterro-ftk-imager-select-aff-directory-image.jpg" alt="Select AFF forensic image format in FTK Imager" style="display:block;margin:0 auto" />

<p>During acquisition, case metadata, evidence information, examiner details, destination path, compression, and image segmentation can be configured as required by the workflow.</p>
<p>For actual forensic work, preserve the acquisition logs and hashes together with the image.</p>
<h2>Recovery workflow: work from the image, not the original disk</h2>
<p>Once the forensic image has been created, the recovery stage should be performed against the image or, for evidence-sensitive work, against a verified working copy of that image.</p>
<p>This reduces the risk of accidental writes to the original storage device.</p>
<p>The workflow is straightforward:</p>
<ol>
<li><p>attach the forensic image;</p>
</li>
<li><p>verify that its partitions are detected correctly;</p>
</li>
<li><p>scan the required partition;</p>
</li>
<li><p>preview the results;</p>
</li>
<li><p>recover files to a different physical storage device.</p>
</li>
</ol>
<p>Let’s go through each stage.</p>
<h3>Step 1: Mount the forensic image</h3>
<p>In Hetman Partition Recovery, click <strong>Mount Disk</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/14-hetman-partition-recovery-mount-forensic-image.jpg" alt="Mount a forensic disk image in Hetman Partition Recovery" style="display:block;margin:0 auto" />

<p>The program groups supported images by type.</p>
<p>For the formats discussed here:</p>
<ul>
<li><p>choose <strong>EnCase / EWF images</strong> for E01 or S01;</p>
</li>
<li><p>choose <strong>AFF directory images</strong> for AFD.</p>
</li>
</ul>
<p>The same dialog also supports several other forensic, virtual-machine, and Apple disk-image formats, which is useful when evidence arrives from different acquisition or virtualization environments.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/15-hetman-partition-recovery-select-forensic-image-type.jpg" alt="Select the forensic disk image type" style="display:block;margin:0 auto" />

<p>For a segmented image, start with the first segment or select the corresponding image set as required by the format. The software should treat the segments as one logical storage device.</p>
<h3>Step 2: Verify the detected disk and partitions</h3>
<p>After mounting, the forensic image appears in the disk list as a separate device.</p>
<p>Before scanning anything, check:</p>
<ul>
<li><p>image size;</p>
</li>
<li><p>partition layout;</p>
</li>
<li><p>filesystem type;</p>
</li>
<li><p>expected volume size;</p>
</li>
<li><p>whether lost or unallocated areas are present.</p>
</li>
</ul>
<p>In this example, AFD, E01, and S01 test images are mounted at the same time and each exposes the expected NTFS partition.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/16-hetman-partition-recovery-mounted-forensic-images.jpg" alt="Mounted AFD E01 and S01 forensic disk images" style="display:block;margin:0 auto" />

<p>This verification step matters.</p>
<p>If the image size or partition layout is obviously wrong, scanning immediately may waste time or produce misleading results. First confirm that the correct image, segment set, and partition have been selected.</p>
<h3>Step 3: Start with a quick filesystem scan</h3>
<p>When the filesystem is still structurally intact, start with <strong>Fast Scan</strong>.</p>
<p>A quick scan is appropriate when:</p>
<ul>
<li><p>the partition still exists;</p>
</li>
<li><p>the filesystem is recognized correctly;</p>
</li>
<li><p>files were deleted but the volume was not reformatted;</p>
</li>
<li><p>you want to preserve the original directory structure and filenames wherever possible.</p>
</li>
</ul>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/17-hetman-partition-recovery-forensic-image-scan-types.jpg" alt="Fast Scan and Full Analysis options for a forensic image" style="display:block;margin:0 auto" />

<p>Starting with the faster method is useful because deep analysis is not always necessary.</p>
<p>If the required files appear with correct names, paths, sizes, and preview content, there is little reason to run a more expensive scan.</p>
<h3>When to use Full Analysis</h3>
<p>Use a deeper scan when the simple filesystem pass is not enough.</p>
<p>Typical cases include:</p>
<ul>
<li><p>the partition was formatted;</p>
</li>
<li><p>filesystem metadata is damaged;</p>
</li>
<li><p>the partition table was modified or deleted;</p>
</li>
<li><p>the image contains unallocated regions that need deeper analysis;</p>
</li>
<li><p>the original directory entries are missing;</p>
</li>
<li><p>files must be searched by content signatures.</p>
</li>
</ul>
<p>A full analysis may combine filesystem reconstruction with signature-based searching.</p>
<p>That distinction is important.</p>
<p>Filesystem metadata can often restore filenames, paths, timestamps, and fragmented file extents. Signature searching can find data even when those records are gone, but it may lose the original filename and directory structure and may be less reliable for fragmented files.</p>
<h3>Step 4: Review and preview the recovered files</h3>
<p>After the scan finishes, do not immediately copy every item the software reports.</p>
<p>First review the results.</p>
<p>Deleted files should appear alongside existing data, allowing you to compare their:</p>
<ul>
<li><p>names;</p>
</li>
<li><p>paths;</p>
</li>
<li><p>sizes;</p>
</li>
<li><p>status;</p>
</li>
<li><p>file type;</p>
</li>
<li><p>preview.</p>
</li>
</ul>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/18-hetman-partition-recovery-forensic-image-found-files.jpg" alt="Deleted files found inside a forensic disk image" style="display:block;margin:0 auto" />

<p>Preview is particularly useful because a directory entry alone does not prove that the file content is intact.</p>
<p>For example, the filesystem may still contain a deleted filename while some of the clusters previously assigned to that file have already been reused. In that case, the entry may be recoverable but the content may be partially or completely corrupted.</p>
<p>For documents, images, video, archives, and other supported formats, previewing the file before export gives you a much better indication of the real recovery result.</p>
<h3>Step 5: Recover to another physical device</h3>
<p>Select the required files and click <strong>Recovery</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a41/19-hetman-partition-recovery-recover-forensic-files.jpg" alt="Recover selected files from a forensic disk image" style="display:block;margin:0 auto" />

<p>Save the recovered data to another physical disk.</p>
<p>Do not write recovered files:</p>
<ul>
<li><p>back into the source image;</p>
</li>
<li><p>to the original evidence disk;</p>
</li>
<li><p>to a storage device that is itself part of the recovery target.</p>
</li>
</ul>
<p>This is standard recovery discipline even outside formal forensic work: avoid writing to the source from which data is still being extracted.</p>
<h3>What determines whether a deleted file can actually be recovered?</h3>
<p>A forensic image preserves the state of the source <strong>at acquisition time</strong>.</p>
<p>That means the most important question is not whether the file was deleted, but whether its content still existed when the image was created.</p>
<p>Recovery chances are generally better when:</p>
<ul>
<li><p>imaging was performed soon after the loss;</p>
</li>
<li><p>the source disk was not actively used after deletion;</p>
</li>
<li><p>the deleted clusters were not overwritten;</p>
</li>
<li><p>filesystem metadata still references the original file extents;</p>
</li>
<li><p>the file was not heavily fragmented;</p>
</li>
<li><p>the image contains the complete relevant storage range.</p>
</li>
</ul>
<p>If the original sectors had already been overwritten before acquisition, the forensic container cannot restore the previous bytes. The image can only preserve what was physically readable at the moment it was created.</p>
<h2>A note about SSDs and TRIM</h2>
<p>This is especially important with SSDs.</p>
<p>When TRIM or a similar discard mechanism is active, deleting a file may cause the operating system to notify the SSD that the corresponding logical blocks are no longer required. The SSD controller can later erase or remap those blocks internally.</p>
<p>As a result, an image acquired after the discard operation may already contain zeros or otherwise unrecoverable data in the deleted area.</p>
<p>For SSD investigations, minimizing activity on the source device and acquiring the image as early as possible can be critical.</p>
<h2>Forensic recovery is not the same as forensic validation</h2>
<p>There is also an important distinction between <strong>recovering data from a forensic container</strong> and conducting a complete forensic examination.</p>
<p>A recovery application can be useful for:</p>
<ul>
<li><p>reconstructing damaged filesystems;</p>
</li>
<li><p>searching for deleted files;</p>
</li>
<li><p>locating lost partitions;</p>
</li>
<li><p>carving files by signatures;</p>
</li>
<li><p>exporting accessible data from an image.</p>
</li>
</ul>
<p>But a formal forensic investigation may require additional procedures such as:</p>
<ul>
<li><p>chain-of-custody documentation;</p>
</li>
<li><p>write-blocked acquisition;</p>
</li>
<li><p>independent hash verification;</p>
</li>
<li><p>evidence handling logs;</p>
</li>
<li><p>reproducibility of examiner actions;</p>
</li>
<li><p>organization-specific or jurisdiction-specific forensic procedures.</p>
</li>
</ul>
<p>For legal or evidentiary work, treat the original forensic image as immutable, preserve its acquisition metadata and hashes, and perform analysis on a verified working copy.</p>
<h2>Video walkthrough</h2>
<p>The video below shows the complete workflow for working with AFD, E01, and S01 forensic disk images and recovering deleted data from them.</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=UlN933-iRLA">https://www.youtube.com/watch?v=UlN933-iRLA</a></p>

<h2>Practical checklist</h2>
<p>Before starting recovery from a forensic image, I use this checklist:</p>
<ul>
<li><p>confirm the image format;</p>
</li>
<li><p>verify all required image segments are present;</p>
</li>
<li><p>work from a copy when evidence preservation matters;</p>
</li>
<li><p>check the detected disk size and partition layout;</p>
</li>
<li><p>start with a filesystem-based quick scan;</p>
</li>
<li><p>use full analysis only when necessary;</p>
</li>
<li><p>preview important files before export;</p>
</li>
<li><p>save recovered data to another physical disk;</p>
</li>
<li><p>preserve the original image and its hashes.</p>
</li>
</ul>
<h2>Conclusion</h2>
<p>Forensic containers such as E01, S01, and AFD are not only archival formats. They can also be practical sources for data recovery when the original disk should no longer be accessed directly.</p>
<p>The key is to treat the image as a complete storage device rather than as a folder of files.</p>
<p>Mount the image, verify its structure, start with the least invasive scan, move to deeper filesystem and signature analysis only when necessary, and always export recovered data elsewhere.</p>
<p>If the deleted content was still physically present when the image was acquired, this workflow can often recover files that are no longer visible through normal filesystem access.</p>
<p>For the full step-by-step guide, additional screenshots, and format details, <a href="https://hetmanrecovery.com/recovery_news/forensic-disk-image-data-recovery-afd-e01-s01">see the original article</a>.</p>
]]></content:encoded></item><item><title><![CDATA[How to Recover Data from VeraCrypt Volumes and Containers]]></title><description><![CDATA[VeraCrypt protects data so effectively that a damaged container or a deleted encrypted partition can look like random, unusable bytes. That does not always mean the files are gone.
If the encrypted da]]></description><link>https://hetman-software.hashnode.dev/how-to-recover-data-from-veracrypt-volumes-and-containers</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/how-to-recover-data-from-veracrypt-volumes-and-containers</guid><category><![CDATA[veracrypt]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[encryption]]></category><category><![CDATA[cybersecurity]]></category><category><![CDATA[Windows]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Wed, 09 Sep 2026 08:29:33 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/d5be7d24-a459-4a74-8646-dc68efb2967e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>VeraCrypt protects data so effectively that a damaged container or a deleted encrypted partition can look like random, unusable bytes. That does not always mean the files are gone.</p>
<p>If the encrypted data is still present, the correct credentials are available, and the affected sectors have not been overwritten, you may be able to unlock the volume and analyze the filesystem inside it.</p>
<p>This guide covers three practical recovery scenarios:</p>
<ul>
<li><p>recovering deleted files from a VeraCrypt container;</p>
</li>
<li><p>recovering files from a VeraCrypt-encrypted USB drive, including a hidden volume;</p>
</li>
<li><p>reconstructing and scanning a deleted VeraCrypt partition.</p>
</li>
</ul>
<blockquote>
<p><strong>Disclosure:</strong> I work with Hetman Software. The examples below use Hetman Partition Recovery to demonstrate the recovery workflow. The same safety principles—stop writing, image unstable media, unlock before scanning, and save elsewhere—apply regardless of the tool you use.</p>
</blockquote>
<h2>Video walkthrough</h2>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=NlgMI807V2I">https://www.youtube.com/watch?v=NlgMI807V2I</a></p>

<h2>Why VeraCrypt recovery is different</h2>
<p>With an ordinary NTFS, FAT, or exFAT volume, recovery software can examine filesystem records and unallocated space directly. VeraCrypt adds another layer:</p>
<pre><code class="language-text">Physical disk or container file
        ↓
VeraCrypt encrypted volume
        ↓
Decrypted logical volume
        ↓
NTFS / FAT / exFAT filesystem
        ↓
Files and folders
</code></pre>
<p>The filesystem can be analyzed correctly only after the encryption layer has been unlocked. A raw scan of the encrypted bytes cannot identify normal file signatures because both filesystem metadata and file content are encrypted.</p>
<p>VeraCrypt volumes may require:</p>
<ul>
<li><p>a <strong>password</strong>;</p>
</li>
<li><p>a custom <strong>PIM</strong> value;</p>
</li>
<li><p>one or more <strong>keyfiles</strong>;</p>
</li>
<li><p>the correct password for either the standard or hidden volume.</p>
</li>
</ul>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/01-veracrypt-access-options.jpg" alt="Password, PIM, and keyfile options used to access a VeraCrypt volume" style="display:block;margin:0 auto" />

<p>Recovery software does not bypass VeraCrypt encryption. You still need the correct credentials. If a custom PIM or keyfile was used when the volume was created, the password alone may not be sufficient.</p>
<h2>Before you start: protect the source</h2>
<p>Every write to the affected device can overwrite recoverable data. Before attempting recovery:</p>
<ol>
<li><p>Stop using the disk, flash drive, or container.</p>
</li>
<li><p>Do not format the device or create a new partition table.</p>
</li>
<li><p>Do not initialize an unallocated disk in Windows Disk Management.</p>
</li>
<li><p>Do not restore recovered files to the source device.</p>
</li>
<li><p>If the device is unstable, create a sector-by-sector image and work with the image.</p>
</li>
</ol>
<p>If the VeraCrypt container file itself was deleted, recover that file first. Only then can you try to unlock and analyze the encrypted filesystem stored inside it.</p>
<h2>Scenario 1: Recover files from a VeraCrypt container</h2>
<p>A VeraCrypt container is a file that behaves like an encrypted disk after it is mounted. It may use the <code>.hc</code> extension, but an extension is not required.</p>
<h3>Step 1: Add the container as a disk</h3>
<p>Open Hetman Partition Recovery and add the container file. If it is not visible in the file picker, enable the display of all files. Add the container as a <strong>RAW disk</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/03-hetman-partition-recovery-add-veracrypt-container.jpg" alt="Adding a VeraCrypt container file as a RAW disk" style="display:block;margin:0 auto" />

<p>The container should now appear in the list of available disks.</p>
<h3>Step 2: Unlock the encrypted volume</h3>
<p>Right-click the container and select <strong>Unlock VeraCrypt</strong>. Enter the password and, when applicable, the custom PIM and keyfile.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/06-hetman-partition-recovery-veracrypt-password-pim-keyfile.jpg" alt="Unlocking VeraCrypt with a password, PIM, or keyfile" style="display:block;margin:0 auto" />

<p>After successful authentication, the software exposes the decrypted filesystem as a separate logical disk.</p>
<h3>Step 3: Scan the unlocked disk</h3>
<p>Scan the <strong>unlocked logical volume</strong>, not the original encrypted container.</p>
<p>Start with <strong>Quick Analysis</strong> when files were recently deleted and the filesystem is otherwise healthy. Use <strong>Full Analysis</strong> when:</p>
<ul>
<li><p>Quick Analysis does not find the required files;</p>
</li>
<li><p>the filesystem is damaged;</p>
</li>
<li><p>the container no longer mounts normally;</p>
</li>
<li><p>directory metadata has been lost.</p>
</li>
</ul>
<h3>Step 4: Preview and recover</h3>
<p>Review the results and preview important files before recovery. A successful preview is a useful indication that the file content is intact and was decrypted correctly.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/08-hetman-partition-recovery-veracrypt-files-preview.jpg" alt="Previewing files found inside the VeraCrypt container" style="display:block;margin:0 auto" />

<p>Select the required files and save them to another physical disk.</p>
<h2>Scenario 2: Recover data from an encrypted USB drive</h2>
<p>When a USB drive contains a VeraCrypt-encrypted partition, select the encrypted <strong>partition</strong>, not the entire physical device, and choose <strong>Unlock with VeraCrypt</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/09-hetman-partition-recovery-unlock-veracrypt-flash-drive.jpg" alt="Unlocking a VeraCrypt-encrypted partition on a USB drive" style="display:block;margin:0 auto" />

<p>Enter the credentials for the standard volume. After it is unlocked, select the new decrypted logical disk and run Quick Analysis first. Switch to Full Analysis if the expected files are missing.</p>
<p>The scan results can include existing files, deleted entries, and folders reconstructed from the remaining filesystem metadata.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/12-hetman-partition-recovery-found-veracrypt-files.jpg" alt="Files found after scanning an unlocked VeraCrypt volume" style="display:block;margin:0 auto" />

<h3>What about a hidden VeraCrypt volume?</h3>
<p>A hidden volume exists inside the free space of an outer VeraCrypt volume and uses different credentials. Its presence is intentionally difficult to prove from the outside.</p>
<p>To scan it:</p>
<ol>
<li><p>Return to the original encrypted partition.</p>
</li>
<li><p>Select <strong>Unlock with VeraCrypt</strong> again.</p>
</li>
<li><p>Enter the password, PIM, and keyfile associated with the hidden volume.</p>
</li>
<li><p>Select the newly unlocked hidden logical volume.</p>
</li>
<li><p>Analyze it separately and recover the files to another device.</p>
</li>
</ol>
<p>The standard and hidden volumes are therefore two different recovery targets, even though they occupy the same encrypted partition.</p>
<h2>Scenario 3: Recover a deleted VeraCrypt partition</h2>
<p>Suppose a flash drive was processed with <code>diskpart clean</code>, or its partition table was otherwise erased. Windows may now display the entire device as unallocated even though the encrypted data still exists.</p>
<p>Do not create a replacement partition in Disk Management. Writing a new partition table or formatting the device can make recovery more difficult.</p>
<h3>Step 1: Reconstruct the partition virtually</h3>
<p>In Hetman Partition Recovery, right-click the physical device and select <strong>Create virtual disk</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/14-hetman-partition-recovery-create-virtual-disk.jpg" alt="Creating a virtual disk over the deleted VeraCrypt partition" style="display:block;margin:0 auto" />

<p>Specify the original partition boundaries. Sector <code>2048</code> is a common starting offset on modern media, but it is only an example—not a universal value. If the device contained several encrypted partitions, reconstruct each range separately.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/15-hetman-partition-recovery-set-virtual-disk-boundaries.jpg" alt="Setting the boundaries of the deleted encrypted partition" style="display:block;margin:0 auto" />

<p>This virtual reconstruction should describe the lost partition without writing a new partition table to the source device.</p>
<h3>Step 2: Unlock the reconstructed volume</h3>
<p>Right-click the virtual partition, choose <strong>Unlock with VeraCrypt</strong>, and enter the corresponding password, PIM, and keyfile.</p>
<p>If the boundaries and credentials are correct, the software can decrypt the volume, recognize its filesystem, and expose it as a logical disk.</p>
<h3>Step 3: Analyze the decrypted filesystem</h3>
<p>Select the unlocked volume—not the physical flash drive and not the still-encrypted virtual partition—and run the analysis.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/19-hetman-partition-recovery-found-files-deleted-veracrypt-volume.jpg" alt="Existing and deleted files found inside a reconstructed VeraCrypt volume" style="display:block;margin:0 auto" />

<p>If the original partition also contained a hidden volume, repeat the unlock operation on the virtual partition using the hidden volume's credentials. The hidden volume will appear as a separate unlocked disk and must be scanned separately.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a43/21-hetman-partition-recovery-hidden-veracrypt-volume.jpg" alt="A hidden VeraCrypt volume opened as a separate logical disk" style="display:block;margin:0 auto" />

<h2>Choosing between Quick and Full Analysis</h2>
<table>
<thead>
<tr>
<th>Situation</th>
<th>Recommended scan</th>
</tr>
</thead>
<tbody><tr>
<td>Files were simply deleted</td>
<td>Start with Quick Analysis</td>
</tr>
<tr>
<td>Quick Analysis found the required files</td>
<td>Preview and recover them</td>
</tr>
<tr>
<td>Filesystem metadata is damaged</td>
<td>Use Full Analysis</td>
</tr>
<tr>
<td>The expected files are missing</td>
<td>Use Full Analysis</td>
</tr>
<tr>
<td>A lost partition was reconstructed</td>
<td>Start quick, then run full if needed</td>
</tr>
</tbody></table>
<p>A deeper scan cannot recover sectors that have already been overwritten or discarded. It only provides a more thorough search of the data that remains.</p>
<h2>Common mistakes that reduce recovery chances</h2>
<ul>
<li><p><strong>Formatting the device:</strong> even a quick format changes filesystem metadata.</p>
</li>
<li><p><strong>Creating a new partition:</strong> it writes new structures over the old layout.</p>
</li>
<li><p><strong>Scanning the encrypted device instead of the unlocked volume:</strong> encrypted bytes do not contain readable filesystem signatures.</p>
</li>
<li><p><strong>Using the wrong PIM or omitting a keyfile:</strong> the volume will not decrypt correctly.</p>
</li>
<li><p><strong>Saving recovered files to the source:</strong> this may overwrite other deleted data.</p>
</li>
<li><p><strong>Continuing to use a failing drive:</strong> repeated reads can accelerate physical degradation.</p>
</li>
</ul>
<h2>What this workflow cannot do</h2>
<p>VeraCrypt uses strong encryption. Recovery is generally not practical without the correct password and any required PIM or keyfiles. This workflow also cannot restore data that has been overwritten, securely erased, or removed by storage-level garbage collection.</p>
<p>The goal is not to break encryption. It is to reconstruct the storage layout, authenticate normally, expose the decrypted filesystem, and recover whatever data remains inside it.</p>
<h2>Final recovery checklist</h2>
<ul>
<li><p>Work from an image when the source device may be unstable.</p>
</li>
<li><p>Keep the original medium read-only whenever possible.</p>
</li>
<li><p>Reconstruct deleted partition boundaries virtually.</p>
</li>
<li><p>Unlock the VeraCrypt layer with all required credentials.</p>
</li>
<li><p>Scan the resulting decrypted logical volume.</p>
</li>
<li><p>Preview files before recovery.</p>
</li>
<li><p>Save recovered data to a different physical device.</p>
</li>
</ul>
<p>With the correct credentials and an intact encrypted data area, a deleted partition or damaged VeraCrypt container does not automatically mean permanent data loss.</p>
<p>For a more detailed step-by-step guide, see the original article: <a href="https://hetmanrecovery.com/recovery_news/how-to-recover-data-from-veracrypt-drives-and-containers">How to Recover Data from VeraCrypt Disks and Containers</a>.</p>
]]></content:encoded></item><item><title><![CDATA[BitLocker Data Recovery: Deleted Files, RAW Volumes, and Locked Drives]]></title><description><![CDATA[BitLocker protects data from unauthorized access, but encryption does not prevent accidental deletion, formatting, file-system corruption, or hardware failure.
This creates a recovery problem with two]]></description><link>https://hetman-software.hashnode.dev/bitlocker-data-recovery-deleted-files-raw-volumes-and-locked-drives</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/bitlocker-data-recovery-deleted-files-raw-volumes-and-locked-drives</guid><category><![CDATA[bitlocker]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[Windows]]></category><category><![CDATA[storage]]></category><category><![CDATA[cybersecurity]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Tue, 08 Sep 2026 11:35:12 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/b3459831-c6de-4315-afa0-db44c5379c34.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>BitLocker protects data from unauthorized access, but encryption does not prevent accidental deletion, formatting, file-system corruption, or hardware failure.</p>
<p>This creates a recovery problem with two separate layers:</p>
<ol>
<li><p>The BitLocker volume must be unlocked with valid credentials.</p>
</li>
<li><p>The decrypted file system must then be analyzed for deleted or damaged data.</p>
</li>
</ol>
<p>Treating these as separate stages is the key to safe recovery. Unlocking a volume only restores access to its decrypted sectors; it does not automatically restore deleted files or repair a damaged NTFS or exFAT structure.</p>
<p>This guide demonstrates a practical workflow for three common cases:</p>
<ul>
<li><p>A Windows system drive that no longer boots.</p>
</li>
<li><p>An additional BitLocker-encrypted HDD with a damaged or missing partition.</p>
</li>
<li><p>A BitLocker To Go USB drive that appears as RAW or asks to be formatted.</p>
</li>
</ul>
<blockquote>
<p><strong>Important:</strong> Stop writing to the affected drive immediately. Do not reinstall Windows, format the volume, run CHKDSK, create new partitions, or save recovered files back to the same device.</p>
</blockquote>
<h2>The BitLocker Recovery Chain</h2>
<p>The recovery process can be summarized as follows:</p>
<p><strong>Physical drive → BitLocker volume → Valid key → Decrypted sector stream → File-system analysis → Recovered files</strong></p>
<p>If the correct password or key is unavailable, a recovery tool sees encrypted sectors rather than recognizable NTFS, FAT, or exFAT metadata. Modern BitLocker encryption is not something a file-recovery scan can simply bypass.</p>
<p>For recovery, you will normally need one of the following:</p>
<ul>
<li><p>The password used for the encrypted volume.</p>
</li>
<li><p>The 48-digit BitLocker Recovery Key.</p>
</li>
<li><p>A BitLocker startup key stored in a <code>.bek</code> file.</p>
</li>
</ul>
<p>When several recovery keys exist in a Microsoft account or an organization directory, compare their <strong>Key ID</strong> with the identifier shown for the locked volume.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/01-bitlocker-recovery-key-list.jpg" alt="A list of BitLocker recovery keys and their Key IDs" style="display:block;margin:0 auto" />

<p><em>Match the Key ID before entering a 48-digit recovery key.</em></p>
<p>Recovery keys may be stored in a Microsoft account, Active Directory, Microsoft Entra ID, a text file, a USB drive, or a printed copy. A <code>.bek</code> file may be hidden, so make sure that hidden and protected operating-system files are visible when searching for it.</p>
<h2>Before Scanning: Preserve the Source Drive</h2>
<p>The safest recovery workflow is read-only at the source, with all recovered data written to a different physical device.</p>
<p>If the drive is healthy and stable, connect it directly to a working computer through SATA when possible. A USB enclosure or docking station can also work, although it may be slower and can occasionally introduce connection resets during a long scan.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/03-connect-bitlocker-drives-to-another-pc.jpg" alt="Connecting BitLocker-encrypted drives to another computer" style="display:block;margin:0 auto" />

<p><em>Connect the affected drive as a secondary device whenever possible.</em></p>
<p>If the disk disconnects, makes unusual sounds, reports a rapidly increasing number of bad sectors, or becomes extremely slow, stop repeated scans. Create a sector-by-sector image on healthy storage first or send the device to a hardware recovery specialist. Logical recovery software cannot repair physical media damage.</p>
<p>Before doing anything else:</p>
<ul>
<li><p>Disconnect the affected drive from normal workloads.</p>
</li>
<li><p>Prepare another drive with enough free space for the recovered files.</p>
</li>
<li><p>Find the password, Recovery Key, or <code>.bek</code> file.</p>
</li>
<li><p>If the disk may be failing, work from an image rather than the original.</p>
</li>
<li><p>Avoid tools that modify file-system metadata.</p>
</li>
</ul>
<h2>Scenario 1: The Encrypted Windows System Drive No Longer Boots</h2>
<p>A BitLocker-protected system disk may request a Recovery Key after a BIOS or firmware update, TPM reset, Secure Boot change, or hardware replacement.</p>
<p>This does not necessarily mean that the files are damaged. The TPM may simply refuse to release the key automatically because the measured boot environment has changed.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/04-bitlocker-recovery-screen.jpg" alt="Windows requesting the BitLocker recovery key during startup" style="display:block;margin:0 auto" />

<p><em>A change in the trusted boot configuration can trigger the BitLocker recovery screen.</em></p>
<p>If the computer still cannot boot after the correct key is supplied, remove the drive and connect it to another working machine as a secondary disk. Do not initialize or format it if Windows offers to do so.</p>
<p>In Hetman Partition Recovery, select the locked BitLocker volume. The software displays an unlock dialog where you can enter the 48-digit Recovery Key or provide an available key file.</p>
<p>Check the Key ID to make sure you are using the correct recovery key.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/06-hetman-partition-recovery-unlock-bitlocker-disk.jpg" alt="Unlocking a BitLocker system volume in Hetman Partition Recovery" style="display:block;margin:0 auto" />

<p><em>Unlock the encrypted layer before analyzing the file system.</em></p>
<p>After successful authentication, the application decrypts sectors as they are read and exposes the underlying file system for analysis.</p>
<p>Start with <strong>Fast Scan</strong>. This is usually enough when the partition is intact and the problem is limited to deleted files or minor logical damage.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/08-hetman-partition-recovery-fast-scan-bitlocker-disk.jpg" alt="Starting a fast scan of an unlocked BitLocker volume" style="display:block;margin:0 auto" />

<p><em>Use Fast Scan first. Run a deeper analysis only when its results are incomplete.</em></p>
<p>When scanning finishes, browse the reconstructed folder tree and preview important documents, photos, archives, and other files.</p>
<p>A successful preview is one of the best indicators that a file’s content can be recovered correctly.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/09-hetman-partition-recovery-found-files-on-bitlocker-disk.jpg" alt="Previewing files found on a BitLocker-encrypted system disk" style="display:block;margin:0 auto" />

<p><em>Preview critical files before adding them to the recovery list.</em></p>
<p>If expected folders or files are missing, run <strong>Full Analysis</strong>. It searches more deeply for file-system structures and file signatures, but it takes longer and cannot restore content that has already been overwritten.</p>
<h2>Scenario 2: An Encrypted Secondary HDD Is RAW, Formatted, or Missing</h2>
<p>A secondary drive may contain one or more BitLocker volumes. The affected partition can disappear after an operating-system reinstall, an accidental format, damage to the partition table, or corruption that makes Windows identify the file system as RAW.</p>
<p>Do not recreate the partition merely to make it visible in File Explorer. Writing a new partition table or formatting the volume can overwrite metadata required for reconstruction.</p>
<p>If the volume uses an external BitLocker startup key, select the locked partition and specify the saved <code>.bek</code> file.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/12-hetman-partition-recovery-select-bek-key-file.jpg" alt="Selecting a BEK key file to unlock a BitLocker volume" style="display:block;margin:0 auto" />

<p><em>A valid</em> <code>.bek</code> <em>file can unlock the encrypted volume without changing the source disk.</em></p>
<p>Once unlocked, scan only the relevant volume first. This is faster than analyzing the entire physical disk and helps determine whether the original file-system metadata is still usable.</p>
<p>Use the following order:</p>
<ol>
<li><p>Unlock the BitLocker volume.</p>
</li>
<li><p>Run Fast Scan.</p>
</li>
<li><p>Inspect the original folder structure and preview several important files.</p>
</li>
<li><p>Run Full Analysis if the required files are absent or the directory structure is severely damaged.</p>
</li>
<li><p>Save the selected files to a different physical disk or network location.</p>
</li>
</ol>
<p>If the partition itself is missing, analyze the physical disk so that the software can search for lost partitions. Any candidate BitLocker volume still needs the correct key before its internal file system can be interpreted.</p>
<h2>Scenario 3: A BitLocker To Go USB Drive Asks to Be Formatted</h2>
<p>BitLocker To Go protects removable media such as USB flash drives. After a logical failure, Windows may report the drive as RAW or ask to format it.</p>
<p>Cancel the format prompt. Formatting is not required for recovery and may overwrite useful metadata.</p>
<p>Hetman Partition Recovery can detect a supported BitLocker volume and request its password or Recovery Key. Enter the password used when BitLocker To Go was configured.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/17-hetman-partition-recovery-unlock-bitlocker-usb-with-password.jpg" alt="Entering a password for a BitLocker To Go USB drive" style="display:block;margin:0 auto" />

<p><em>Enter the BitLocker To Go password to expose the underlying file system.</em></p>
<p>After unlocking, run Fast Scan and check the results. Preview files before recovery, then save them to the computer’s internal disk or another healthy storage device—not to the affected USB drive.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a33/18-hetman-partition-recovery-files-on-unlocked-bitlocker-usb-drive.jpg" alt="Files found on an unlocked BitLocker USB drive" style="display:block;margin:0 auto" />

<p><em>Verify the recovered content in the preview pane before saving it.</em></p>
<p>USB flash memory adds another complication: some devices and storage stacks can discard deleted blocks. Once these blocks have been erased internally, no logical recovery tool can reconstruct their previous content.</p>
<p>This is another reason to disconnect the device immediately after data loss.</p>
<h2>Video Walkthrough</h2>
<p>The following video demonstrates BitLocker recovery for deleted files, lost partitions, and damaged drives:</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=CbMA34Zr0ak&amp;t=4s">https://www.youtube.com/watch?v=CbMA34Zr0ak&amp;t=4s</a></p>

<h2>Fast Scan or Full Analysis?</h2>
<p>Choose the scan mode according to the failure rather than starting with the slowest option.</p>
<table>
<thead>
<tr>
<th>Situation</th>
<th>Start with</th>
<th>Why</th>
</tr>
</thead>
<tbody><tr>
<td>Recently deleted files</td>
<td>Fast Scan</td>
<td>The file-system records may still exist.</td>
</tr>
<tr>
<td>Intact partition that unlocks normally</td>
<td>Fast Scan</td>
<td>The directory tree can often be reconstructed quickly.</td>
</tr>
<tr>
<td>RAW file system</td>
<td>Fast Scan, then Full Analysis</td>
<td>First check whether core metadata remains readable.</td>
</tr>
<tr>
<td>Formatted partition</td>
<td>Full Analysis if Fast Scan is incomplete</td>
<td>Deeper reconstruction may be required.</td>
</tr>
<tr>
<td>Missing BitLocker partition</td>
<td>Physical-disk analysis</td>
<td>The partition must be found before it can be unlocked.</td>
</tr>
<tr>
<td>Physically unstable disk</td>
<td>Sector-by-sector image first</td>
<td>Repeated direct scans can make the condition worse.</td>
</tr>
</tbody></table>
<h2>Common Mistakes That Reduce Recovery Chances</h2>
<h3>Formatting Because Windows Suggests It</h3>
<p>Formatting creates new file-system structures. It does not decrypt or repair the original volume and can overwrite recoverable metadata.</p>
<h3>Running CHKDSK Before Copying the Data</h3>
<p>CHKDSK is a repair utility, not a recovery utility. It modifies the file system to make it internally consistent, and these changes may remove or rewrite records needed to recover deleted files.</p>
<h3>Reinstalling Windows on the Same Disk</h3>
<p>An installation writes large amounts of data and can overwrite deleted content, old metadata, and even the original partition layout.</p>
<h3>Scanning Without Unlocking BitLocker</h3>
<p>File-system scanners need decrypted sectors. Without a valid key, recognizable metadata remains encrypted.</p>
<h3>Saving Recovered Files to the Source Drive</h3>
<p>Every write can overwrite another file that has not yet been recovered. Always use a different physical device.</p>
<h3>Expecting the Recovery Key to Restore Overwritten Data</h3>
<p>The key grants access to encrypted sectors; it does not reverse deletion or overwriting. Normal data-recovery limitations still apply after the volume is unlocked.</p>
<h2>What If the BitLocker Key Is Missing?</h2>
<p>Check every legitimate key-storage location before assuming it is lost:</p>
<ul>
<li><p>The Microsoft account associated with the Windows installation.</p>
</li>
<li><p>Active Directory or Microsoft Entra ID for an organization-managed device.</p>
</li>
<li><p>Printed copies and password-manager records.</p>
</li>
<li><p>USB devices and external disks.</p>
</li>
<li><p>Text files containing the 48-digit key.</p>
</li>
<li><p><code>.bek</code> startup-key files.</p>
</li>
<li><p>IT administration records for corporate hardware.</p>
</li>
</ul>
<p>The Key ID helps identify the correct entry but is not itself a decryption key.</p>
<p>Without valid BitLocker credentials or usable key material, recovering the encrypted contents is generally not feasible.</p>
<h2>Final Checklist</h2>
<p>Before starting recovery, confirm that:</p>
<ul>
<li><p>No new data is being written to the affected device.</p>
</li>
<li><p>The BitLocker password, Recovery Key, or <code>.bek</code> file is available.</p>
</li>
<li><p>The Key ID matches the selected volume.</p>
</li>
<li><p>The drive is physically stable or a sector-by-sector image has been created.</p>
</li>
<li><p>Fast Scan will be tried before a deeper scan when appropriate.</p>
</li>
<li><p>Important files will be verified with preview.</p>
</li>
<li><p>Recovered data will be saved to a separate physical device.</p>
</li>
</ul>
<p>BitLocker changes the order of operations, but not the fundamentals of data recovery: preserve the source, unlock the encryption layer, analyze the decrypted file system, verify the results, and save everything elsewhere.</p>
<p>For a more detailed walkthrough with additional screenshots, see the original guide: <a href="https://hetmanrecovery.com/recovery_news/how-to-recover-data-from-bitlocker-drive">How to Recover Data from an Encrypted BitLocker Drive</a>.</p>
<p><em>Disclosure: This workflow was prepared using Hetman Partition Recovery. I am affiliated with the team that develops the software.</em></p>
]]></content:encoded></item><item><title><![CDATA[Recovering RAID 0, RAID 5, and RAID 6 from an Infortrend ESDS 1012 RC]]></title><description><![CDATA[Enterprise storage systems are designed to survive hardware failures, but RAID redundancy does not eliminate the possibility of data loss.
A failed controller, corrupted RAID metadata, interrupted reb]]></description><link>https://hetman-software.hashnode.dev/recovering-raid-0-raid-5-and-raid-6-from-an-infortrend-esds-1012-rc</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/recovering-raid-0-raid-5-and-raid-6-from-an-infortrend-esds-1012-rc</guid><category><![CDATA[raid]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[storage]]></category><category><![CDATA[sysadmin]]></category><category><![CDATA[Windows]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Sat, 05 Sep 2026 07:46:28 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/153d9143-2c56-4acc-a5ae-b87c8a4f4a79.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Enterprise storage systems are designed to survive hardware failures, but RAID redundancy does not eliminate the possibility of data loss.</p>
<p>A failed controller, corrupted RAID metadata, interrupted rebuild, accidental formatting, or the loss of several drives can leave an otherwise healthy set of disks inaccessible.</p>
<p>In this lab, we worked with an <strong>Infortrend ESDS 1012 RC</strong> and tested several recovery scenarios involving <strong>RAID 0, RAID 5, and RAID 6</strong>.</p>
<p>The recovery strategy changes considerably depending on whether the storage controller is still operational.</p>
<p>There are essentially two paths:</p>
<p><strong>Working controller → Connect the logical volume through iSCSI → Scan the filesystem → Recover files</strong></p>
<p>or:</p>
<p><strong>Failed controller / damaged RAID → Connect the member disks → Create sector-by-sector images → Reconstruct the RAID → Locate the filesystem → Recover files</strong></p>
<blockquote>
<p><strong>Disclosure:</strong> This lab uses Hetman RAID Recovery and Hetman Partition Recovery, software developed by our team at Hetman Software. The goal of this article is to document the RAID reconstruction workflow and the parameters we observed during the test.</p>
</blockquote>
<hr />
<h2>The Test Environment</h2>
<p>The Infortrend ESDS 1012 RC is a rack-mounted enterprise storage system with 12 drive bays and support for several RAID configurations, including RAID 0, RAID 1, RAID 5, RAID 6, RAID 10, RAID 50, and RAID 60.</p>
<p>For this experiment, we focused on three configurations:</p>
<table>
<thead>
<tr>
<th>RAID</th>
<th>Test members</th>
<th>Redundancy</th>
<th>Recovery requirement</th>
</tr>
</thead>
<tbody><tr>
<td><strong>RAID 0</strong></td>
<td>2</td>
<td>None</td>
<td>All members are required</td>
</tr>
<tr>
<td><strong>RAID 5</strong></td>
<td>3</td>
<td>Single parity</td>
<td>One member may be missing</td>
</tr>
<tr>
<td><strong>RAID 6</strong></td>
<td>4</td>
<td>Dual parity</td>
<td>Up to two members may be missing</td>
</tr>
</tbody></table>
<p>This distinction becomes critical once the original controller is unavailable.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a27/raid-explained.jpg" alt="RAID 0, RAID 5 and RAID 6 recovery requirements" style="display:block;margin:0 auto" />

<hr />
<h2>Scenario 1: The Infortrend Controller Still Works</h2>
<p>A RAID controller does not need to be physically damaged for data recovery to become necessary.</p>
<p>The storage may still operate normally while files have been:</p>
<ul>
<li><p>accidentally deleted;</p>
</li>
<li><p>removed with Shift + Delete;</p>
</li>
<li><p>lost after formatting;</p>
</li>
<li><p>lost after partition changes;</p>
</li>
<li><p>made inaccessible because of filesystem damage.</p>
</li>
</ul>
<p>In this situation, manually reconstructing the RAID is unnecessary.</p>
<p>The better approach is to let the original Infortrend controller assemble the array and work with the resulting logical volume.</p>
<h3>Connecting the Storage Through iSCSI</h3>
<p>The logical storage can be connected to a Windows workstation using <strong>iSCSI Initiator</strong>.</p>
<p>Open iSCSI Initiator, enter the IP address of the Infortrend storage system, and connect to the required target.</p>
<p>After the connection is established, Windows receives the logical disks exposed by the storage controller.</p>
<p>They should appear in <strong>Disk Management</strong>.</p>
<p>At this point, there is no need for recovery software to determine RAID geometry. The Infortrend controller is already handling disk order, striping, and parity.</p>
<p>The recovery task therefore moves one level higher in the storage stack — to the filesystem.</p>
<h3>Scan the Logical Volume</h3>
<p>For recently deleted files, start with a fast filesystem scan.</p>
<p>If the volume was formatted or its filesystem structures were damaged, a deeper analysis may be required.</p>
<p>After scanning, existing and deleted files can be reviewed before recovery.</p>
<p>One rule is particularly important:</p>
<p><strong>Never save recovered files back to the source volume.</strong></p>
<p>Use another physical disk or another independent storage system. Writing to the source can overwrite data that has not yet been recovered.</p>
<hr />
<h2>Scenario 2: The Controller or RAID Configuration Is Unavailable</h2>
<p>The more interesting recovery scenario begins when the Infortrend controller can no longer provide the logical volume.</p>
<p>Possible causes include:</p>
<ul>
<li><p>controller failure;</p>
</li>
<li><p>corrupted RAID metadata;</p>
</li>
<li><p>lost RAID configuration;</p>
</li>
<li><p>interrupted rebuild;</p>
</li>
<li><p>incorrect disk order;</p>
</li>
<li><p>firmware problems;</p>
</li>
<li><p>multiple disk failures.</p>
</li>
</ul>
<p>In this case, the individual RAID members have to be analyzed directly.</p>
<hr />
<h2>Image the Disks Before RAID Reconstruction</h2>
<p>For important data, RAID reconstruction should ideally not be performed directly on the original drives.</p>
<p>A safer workflow is:</p>
<p><strong>Physical RAID disks → Sector-by-sector images → RAID reconstruction → Filesystem analysis → File recovery</strong></p>
<p>Create a sector-by-sector image of every available RAID member.</p>
<p>In Hetman RAID Recovery, this can be done by selecting a physical drive and using <strong>Save Disk</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a27/save-disk-image.jpg" alt="Creating a sector-by-sector image of a RAID member" style="display:block;margin:0 auto" />

<p>The image should be stored on another physical device with sufficient free space.</p>
<p>This approach has two important advantages.</p>
<p>First, the original drives can be disconnected after imaging.</p>
<p>Second, different RAID configurations can be tested repeatedly without modifying or unnecessarily stressing the source media.</p>
<p>This becomes especially important when one or more disks have read errors or other signs of physical degradation.</p>
<hr />
<h2>Mounting the RAID Member Images</h2>
<p>Once the member disks have been imaged, mount every image as a separate virtual disk.</p>
<p>For our test, we used RAW images.</p>
<p>After mounting, each image represents one original member of the Infortrend array.</p>
<p>From this point forward, RAID reconstruction can be performed entirely on the disk images.</p>
<hr />
<h2>Manual RAID Reconstruction</h2>
<p>If usable RAID metadata is unavailable, several parameters need to be determined manually:</p>
<ul>
<li><p>RAID level;</p>
</li>
<li><p>number of members;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>block or stripe size;</p>
</li>
<li><p>parity layout;</p>
</li>
<li><p>data offset, when applicable.</p>
</li>
</ul>
<p>For the lab, we used the <strong>RAID Constructor</strong> in manual mode.</p>
<p>The values below are the parameters observed in <strong>our specific test arrays</strong>.</p>
<p>They should not be interpreted as universal defaults for every Infortrend ESDS configuration. Another array may use different stripe sizes, disk order, or other parameters.</p>
<hr />
<h2>Reconstructing RAID 0</h2>
<p>RAID 0 is structurally simple because it has no parity, but from a recovery perspective it is also the least forgiving RAID level.</p>
<p>Data is striped across all members.</p>
<p>If one disk is missing, portions of virtually every sufficiently large file may be missing as well.</p>
<p>For our two-disk RAID 0 test, the relevant parameters were:</p>
<ul>
<li><p><strong>RAID type:</strong> RAID 0</p>
</li>
<li><p><strong>Block size:</strong> 128 KB</p>
</li>
<li><p><strong>Disk order:</strong> original member order</p>
</li>
</ul>
<p>Disk order and block size are especially important.</p>
<p>An incorrect configuration may still produce something that superficially resembles a filesystem, but files can be corrupted because their blocks are being read from the wrong locations.</p>
<p>For example, with an incorrect stripe size you might encounter:</p>
<ul>
<li><p>directories that appear valid;</p>
</li>
<li><p>small files that open correctly;</p>
</li>
<li><p>larger images that are partially corrupted;</p>
</li>
<li><p>archives that fail integrity checks;</p>
</li>
<li><p>videos that stop playing after a certain point.</p>
</li>
</ul>
<p>Once the RAID 0 parameters are configured correctly, scan the reconstructed volume.</p>
<p>The ability to preview known files is useful here because it provides a practical way to validate the RAID geometry before recovering the entire dataset.</p>
<hr />
<h2>Reconstructing RAID 5</h2>
<p>RAID 5 adds distributed parity.</p>
<p>This makes the layout more complex than RAID 0, but it also allows the array to tolerate the loss of one member.</p>
<p>In our test, RAID 5 consisted of three disk images.</p>
<p>The detected parameters were:</p>
<ul>
<li><p><strong>RAID type:</strong> RAID 5</p>
</li>
<li><p><strong>Block order:</strong> Right Asynchronous</p>
</li>
<li><p><strong>Block size:</strong> 64 KB</p>
</li>
<li><p><strong>Disk order:</strong> original member order</p>
</li>
</ul>
<p>After creating the virtual RAID, a useful next step is to search for the original partitions.</p>
<p>Finding a valid filesystem at the expected location is one of the first indications that the RAID parameters are likely correct.</p>
<p>In other words:</p>
<p><strong>Correct disk order + Correct stripe size + Correct parity layout → Coherent filesystem structures</strong></p>
<p>If the partition is found successfully, scan it and inspect several known files before starting a large recovery operation.</p>
<p>RAID 5 can theoretically be reconstructed with one missing member because the missing blocks can be calculated from the remaining data and parity blocks.</p>
<p>However, if all members are readable, using all of them is preferable.</p>
<hr />
<h2>Reconstructing RAID 6</h2>
<p>RAID 6 uses two independent parity blocks.</p>
<p>This allows the array to tolerate the simultaneous loss of up to two members, but it also makes the RAID layout more complex.</p>
<p>Our test RAID 6 used four disk images.</p>
<p>The reconstruction parameters were:</p>
<ul>
<li><p><strong>RAID type:</strong> RAID 6</p>
</li>
<li><p><strong>Block order:</strong> Right Asynchronous</p>
</li>
<li><p><strong>Block size:</strong> 32 KB</p>
</li>
<li><p><strong>Disk order:</strong> original member order</p>
</li>
</ul>
<p>After creating the virtual RAID, we performed the same type of partition search used for RAID 5.</p>
<p>When the filesystem was located, the resulting volume appeared inside the reconstructed RAID and could then be scanned normally.</p>
<p>The ability to tolerate two missing disks does not mean that every damaged RAID 6 can always be recovered completely.</p>
<p>For successful reconstruction, there still needs to be enough valid information to determine the original layout and calculate the missing blocks.</p>
<hr />
<h2>How to Tell If the RAID Parameters Are Wrong</h2>
<p>A RAID constructor accepting the configuration does <strong>not</strong> automatically mean that the array has been assembled correctly.</p>
<p>Several symptoms may indicate an incorrect configuration:</p>
<ul>
<li><p>no recognizable partition;</p>
</li>
<li><p>filesystem signatures at inconsistent offsets;</p>
</li>
<li><p>folder names mixed with corrupted entries;</p>
</li>
<li><p>small files opening while larger files fail;</p>
</li>
<li><p>partially displayed images;</p>
</li>
<li><p>corrupted archives;</p>
</li>
<li><p>broken videos;</p>
</li>
<li><p>databases that fail consistency checks;</p>
</li>
<li><p>virtual machines that no longer boot or mount correctly.</p>
</li>
</ul>
<p>If this happens, review the parameters approximately in this order:</p>
<p><strong>Disk order → Block size → Parity layout → Starting offset → RAID level</strong></p>
<p>Disk order is particularly important.</p>
<p>Even when the RAID type and block size are correct, swapping two member disks can make the reconstructed filesystem unusable.</p>
<hr />
<h2>Validate Before Recovering Everything</h2>
<p>One useful mistake to avoid is starting a multi-terabyte recovery immediately after the first apparently successful reconstruction.</p>
<p>First validate the result.</p>
<p>Check:</p>
<ul>
<li><p>filesystem structure;</p>
</li>
<li><p>several directory trees;</p>
</li>
<li><p>JPEG or PNG images;</p>
</li>
<li><p>ZIP or RAR archives;</p>
</li>
<li><p>large video files;</p>
</li>
<li><p>documents;</p>
</li>
<li><p>virtual disks, if present.</p>
</li>
</ul>
<p>For archive formats, an integrity test is especially useful because a file may have the correct filename and size while still containing incorrectly reconstructed blocks.</p>
<p>The same principle applies to databases and virtual machine disks.</p>
<p>Seeing a correct directory structure is encouraging, but successfully opening known files provides much stronger evidence that the RAID geometry is correct.</p>
<hr />
<h2>Video Walkthrough</h2>
<p>The complete experiment shows the Infortrend configuration, iSCSI access, disk imaging, and manual reconstruction of RAID 0, RAID 5, and RAID 6.</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=94_DMSOr7-c">https://www.youtube.com/watch?v=94_DMSOr7-c</a></p>

<hr />
<h2>What This Experiment Demonstrates</h2>
<p>The main lesson from this lab is that <strong>RAID recovery is not a single operation</strong>.</p>
<p>The correct workflow depends on which layer of the storage stack has failed.</p>
<p>When the original controller is still operational:</p>
<p><strong>Infortrend controller → Logical volume → Filesystem scan → Files</strong></p>
<p>When the RAID itself can no longer be assembled:</p>
<p><strong>Member disks → Disk images → RAID reconstruction → Partition → Filesystem → Files</strong></p>
<p>The differences between the three tested RAID levels are also fundamental:</p>
<ul>
<li><p><strong>RAID 0</strong> requires every member for complete reconstruction.</p>
</li>
<li><p><strong>RAID 5</strong> can tolerate one missing member.</p>
</li>
<li><p><strong>RAID 6</strong> can tolerate up to two missing members.</p>
</li>
</ul>
<p>However, redundancy alone is not sufficient for recovery.</p>
<p>The correct disk order, stripe size, parity layout, and filesystem location still need to be established.</p>
<p>And whenever possible, the first operation should be preservation of the source disks rather than experimentation on them.</p>
<hr />
<h2>Full Step-by-Step Infortrend Recovery Guide</h2>
<p>This article focuses on the RAID reconstruction methodology and on the differences between RAID 0, RAID 5, and RAID 6.</p>
<p>For the complete step-by-step procedure, additional screenshots, iSCSI configuration, and recovery workflow, see the original Hetman Software <a href="https://hetmanrecovery.com/recovery_news/how-to-recover-raid6-raid5-raid0-data-from-infortrend-esds1012rc">technical guide</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Recovering RAID 5 After an LSI 3ware 9750 Controller Failure]]></title><description><![CDATA[A hardware RAID controller can fail while the data on its member disks remains intact.
That creates a practical recovery challenge: the operating system no longer sees the logical RAID volume, but the]]></description><link>https://hetman-software.hashnode.dev/recovering-raid-5-after-an-lsi-3ware-9750-controller-failure</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/recovering-raid-5-after-an-lsi-3ware-9750-controller-failure</guid><category><![CDATA[RAID Storage]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[storage]]></category><category><![CDATA[hardware]]></category><category><![CDATA[Windows]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Fri, 04 Sep 2026 06:13:10 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/0f225d78-4bb8-42f4-807d-75ff7c9e4296.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A hardware RAID controller can fail while the data on its member disks remains intact.</p>
<p>That creates a practical recovery challenge: the operating system no longer sees the logical RAID volume, but the individual disks may still contain enough metadata and filesystem information to reconstruct the array.</p>
<p>In this article, I’ll walk through a practical workflow for recovering data from RAID arrays created on an <strong>LSI 3ware 9750</strong> controller.</p>
<p>The main example focuses on <strong>RAID 5</strong>, but the same general logic can be applied to <strong>RAID 0</strong>, <strong>RAID 1</strong>, and <strong>RAID 10</strong> as well.</p>
<blockquote>
<p><strong>Disclosure:</strong> I work with Hetman Software, and the recovery examples below use Hetman RAID Recovery. This article focuses on the RAID reconstruction workflow and the reasoning behind each step.</p>
</blockquote>
<h2>Why RAID recovery on 3ware controllers can be tricky</h2>
<p>The LSI 3ware 9750 is a hardware RAID controller designed for SAS and SATA drives. In normal operation, it presents the array as a single logical disk to the operating system.</p>
<p>When something goes wrong — for example:</p>
<ul>
<li><p>the controller fails;</p>
</li>
<li><p>the RAID configuration is lost;</p>
</li>
<li><p>one of the drives drops out;</p>
</li>
<li><p>the array is no longer detected;</p>
</li>
<li><p>the rebuild process is interrupted;</p>
</li>
</ul>
<p>you may lose access to the logical volume even though the data on the member disks still exists.</p>
<p>The key principle is simple:</p>
<p><strong>Don’t rush to rebuild or reinitialize the RAID on the original hardware.</strong></p>
<p>Instead, preserve the source disks first and analyze them separately.</p>
<h2>1. Disconnect and label the RAID member disks</h2>
<p>If the original controller is unavailable or unreliable, disconnect the drives from the LSI 3ware controller and connect them directly to another machine.</p>
<p>Before doing that, label each drive carefully.</p>
<p>For example:</p>
<ul>
<li><p>Disk 0</p>
</li>
<li><p>Disk 1</p>
</li>
<li><p>Disk 2</p>
</li>
</ul>
<p>That matters because disk order is often critical during manual RAID reconstruction.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/disconnect-disks.jpg" alt="Disconnecting disks from the RAID controller" style="display:block;margin:0 auto" />

<p>A direct motherboard connection is preferable. If needed, USB-to-SATA adapters can also be used, but direct access is usually more stable.</p>
<p>For <strong>RAID 5</strong>, one missing drive may still be acceptable.</p>
<p>For <strong>RAID 0</strong>, all member disks are required.</p>
<h2>2. Create disk images before repeated testing</h2>
<p>If any drive shows instability, bad sectors, or signs of physical degradation, it’s better not to keep scanning the original device.</p>
<p>Instead, create a sector-by-sector image and work from that image.</p>
<p>In Hetman RAID Recovery, you can select the disk, right-click it, and choose <strong>Save Disk</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/save-disk-image.jpg" alt="Creating a disk image" style="display:block;margin:0 auto" />

<p>This gives you a safer workflow:</p>
<p>Physical RAID disks<br />↓<br />Sector-by-sector images<br />↓<br />RAID reconstruction<br />↓<br />Filesystem analysis<br />↓<br />File recovery</p>
<p>This approach is especially useful when you need to try more than one RAID configuration and want to avoid repeated reads from a questionable source disk.</p>
<h2>3. Mount the image and let the software detect the RAID automatically</h2>
<p>Once you have the images or the physical drives connected, the next step is to see whether the software can detect the RAID automatically.</p>
<p>In many cases, enough RAID metadata remains on the disks for the program to determine:</p>
<ul>
<li><p>RAID level;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>stripe size;</p>
</li>
<li><p>offsets;</p>
</li>
<li><p>parity rotation.</p>
</li>
</ul>
<p>If that happens, the reconstructed array will appear as a single logical device.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/3ware-raid5-array.jpg" alt="Automatically detected 3ware RAID 5" style="display:block;margin:0 auto" />

<p>This is one of the most useful things to understand about RAID recovery:</p>
<p><strong>You do not always need the original controller to recover the data.</strong></p>
<p>If the member disks are available and their metadata is intact, the logical RAID structure can often be rebuilt in software.</p>
<h2>4. Start with a Quick scan</h2>
<p>Once the RAID is recognized, the next task is filesystem analysis.</p>
<p>I normally recommend starting with a <strong>Quick scan</strong>.</p>
<p>That is often enough when:</p>
<ul>
<li><p>the RAID structure is valid;</p>
</li>
<li><p>the filesystem metadata is still readable;</p>
</li>
<li><p>the issue is logical rather than physical.</p>
</li>
</ul>
<p>A <strong>Full scan</strong> is more appropriate when the filesystem is damaged, formatted, or its metadata is heavily corrupted.</p>
<p>After the scan finishes, review the results carefully.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/deleted-files-on-raid5.jpg" alt="Files found on the reconstructed RAID" style="display:block;margin:0 auto" />

<p>When validating the result, look for:</p>
<ul>
<li><p>familiar folder names;</p>
</li>
<li><p>correct filenames;</p>
</li>
<li><p>realistic file sizes;</p>
</li>
<li><p>previewable images and documents;</p>
</li>
<li><p>larger files that open without corruption.</p>
</li>
</ul>
<p>A folder tree alone is not enough.</p>
<p>The real test is whether real user files open correctly.</p>
<h2>5. What to do if automatic RAID detection fails</h2>
<p>Automatic reconstruction is ideal, but it doesn’t always work.</p>
<p>If RAID metadata is missing or badly damaged, the array must be reconstructed manually.</p>
<p>For a RAID 5 built on an LSI 3ware 9750, the critical parameters are:</p>
<ul>
<li><p>RAID level;</p>
</li>
<li><p>number of member disks;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>block / stripe size;</p>
</li>
<li><p>parity layout;</p>
</li>
<li><p>data offset;</p>
</li>
<li><p>missing disk position, if applicable.</p>
</li>
</ul>
<p>In RAID Constructor, these values can be entered manually.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/3ware-raid5-default-parameters.jpg" alt="Selecting RAID 5 parameters in RAID Constructor" style="display:block;margin:0 auto" />

<p>Typical values for this controller may include block sizes such as:</p>
<ul>
<li><p>16 KB</p>
</li>
<li><p>64 KB</p>
</li>
<li><p>256 KB</p>
</li>
</ul>
<p>But they should never be treated as guaranteed values.</p>
<p>They are only candidates.</p>
<p>The final validation must always come from the resulting filesystem and the integrity of the recovered files.</p>
<h2>6. Disk order matters more than many people expect</h2>
<p>One of the most common reasons a manually reconstructed RAID does not work is incorrect disk order.</p>
<p>For striped arrays, a wrong disk sequence causes adjacent stripes to be assembled incorrectly.</p>
<p>Example:</p>
<p>Correct order:<br />Disk 0 → Disk 1 → Disk 2</p>
<p>Incorrect order:<br />Disk 1 → Disk 0 → Disk 2</p>
<p>In RAID Constructor, you can reorder the disks and test different variants until the array begins to produce a coherent filesystem.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/setup-disk-order.jpg" alt="Setting disk order in RAID Constructor" style="display:block;margin:0 auto" />

<p>The best validation pattern is:</p>
<ol>
<li><p>Check whether the expected partitions appear.</p>
</li>
<li><p>Check whether the filesystem is recognized correctly.</p>
</li>
<li><p>Open several directories.</p>
</li>
<li><p>Preview files.</p>
</li>
<li><p>Verify that larger files are not internally corrupted.</p>
</li>
</ol>
<p>Once the correct configuration is found, the rebuilt array should appear in the main window and behave like a normal logical volume.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a28/recovered-raid-array.jpg" alt="Reconstructed RAID array" style="display:block;margin:0 auto" />

<h2>7. RAID 0, RAID 1, and RAID 5: recovery expectations</h2>
<p>Different RAID levels give you different recovery chances.</p>
<h3>RAID 0</h3>
<p>RAID 0 has no redundancy.</p>
<p>If one member is unavailable, portions of almost every large file may be missing.</p>
<p>That means complete recovery is often impossible without all disks.</p>
<h3>RAID 1</h3>
<p>RAID 1 mirrors the same data across drives.</p>
<p>If one member is intact, you may still be able to access the full filesystem.</p>
<h3>RAID 5</h3>
<p>RAID 5 stores both data and distributed parity.</p>
<p>That means the array can generally tolerate one missing disk.</p>
<p>In a three-disk RAID 5, recovery from two surviving members is often possible — as long as the remaining disks are healthy and the RAID geometry is reconstructed correctly.</p>
<h2>Video walkthrough</h2>
<p>The full walkthrough is also available as a video:</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=ZxnAEL0hWwo">https://www.youtube.com/watch?v=ZxnAEL0hWwo</a></p>

<h2>A safer RAID recovery workflow</h2>
<p>When dealing with a failed LSI 3ware 9750 array, I recommend the following order:</p>
<ol>
<li><p>Stop writing to the RAID.</p>
</li>
<li><p>Label all member disks.</p>
</li>
<li><p>Connect the drives separately.</p>
</li>
<li><p>Create images of unstable disks.</p>
</li>
<li><p>Try automatic RAID detection.</p>
</li>
<li><p>Validate the filesystem and file previews.</p>
</li>
<li><p>Reconstruct the array manually if needed.</p>
</li>
<li><p>Recover files to another storage device.</p>
</li>
</ol>
<p>The sequence matters.</p>
<p>Trying to make the original RAID operational before preserving the source can turn a recoverable case into a much harder one.</p>
<h2>Final thoughts</h2>
<p>The most important takeaway from this test is that <strong>the original LSI 3ware 9750 controller is not always required to recover the data</strong>.</p>
<p>If the disks are still available, recovery software can often reconstruct the array from the member disks themselves.</p>
<p>When the metadata survives, the process may be mostly automatic.</p>
<p>When it does not, recovery becomes a matter of correctly determining:</p>
<ul>
<li><p>RAID members;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>block size;</p>
</li>
<li><p>parity layout;</p>
</li>
<li><p>offsets.</p>
</li>
</ul>
<p>Once those parameters are correct, the rest becomes standard filesystem analysis and file recovery.</p>
<p>If you want the complete step-by-step guide with more screenshots and additional details, see the <a href="https://hetmanrecovery.com/recovery_news/how-to-recover-data-raid5-raid0-raid1-lsi-3ware-9750">original article</a> on the Hetman Software website.</p>
]]></content:encoded></item><item><title><![CDATA[Recovering Data from mdadm RAID 0, RAID 5, and RAID 6 on OpenMediaVault]]></title><description><![CDATA[OpenMediaVault is a popular Debian-based platform for building NAS systems. For software RAID, it relies on mdadm, which makes it possible to combine several physical drives into RAID 0, RAID 5, RAID ]]></description><link>https://hetman-software.hashnode.dev/recovering-data-from-mdadm-raid-0-raid-5-and-raid-6-on-openmediavault</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/recovering-data-from-mdadm-raid-0-raid-5-and-raid-6-on-openmediavault</guid><category><![CDATA[openmediavault]]></category><category><![CDATA[raid]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[mdadm]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Thu, 03 Sep 2026 07:54:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/7330a728-b47e-45fd-914d-1e62040295d4.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>OpenMediaVault is a popular Debian-based platform for building NAS systems. For software RAID, it relies on <strong>mdadm</strong>, which makes it possible to combine several physical drives into RAID 0, RAID 5, RAID 6, and other configurations.</p>
<p>One advantage of mdadm is that the RAID configuration is implemented in software rather than being tied to a specific hardware RAID controller. If the original NAS, motherboard, or operating system fails, the member disks can often be connected to another computer and the array reconstructed there.</p>
<p>But RAID is not a backup.</p>
<p>A failed drive, damaged mdadm metadata, an interrupted rebuild, filesystem corruption, or accidental file deletion can still make an entire volume inaccessible.</p>
<p>In this guide, we'll look at a practical recovery workflow for <strong>RAID 0, RAID 5, and RAID 6 arrays created in OpenMediaVault</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a29/openmediavault-web.jpg" alt="OpenMediaVault web interface" style="display:block;margin:0 auto" />

<p><em>OpenMediaVault provides a web interface for managing disks, filesystems, shared folders, and NAS services.</em></p>
<h2>RAID 0 vs RAID 5 vs RAID 6</h2>
<p>Before attempting recovery, it is important to understand how much redundancy the original array provides.</p>
<table>
<thead>
<tr>
<th>RAID level</th>
<th>Minimum drives</th>
<th>Redundancy</th>
<th>Missing drives</th>
</tr>
</thead>
<tbody><tr>
<td>RAID 0</td>
<td>2</td>
<td>None</td>
<td>None</td>
</tr>
<tr>
<td>RAID 5</td>
<td>3</td>
<td>Single parity</td>
<td>Up to 1</td>
</tr>
<tr>
<td>RAID 6</td>
<td>4</td>
<td>Dual parity</td>
<td>Up to 2</td>
</tr>
</tbody></table>
<p>With <strong>RAID 0</strong>, data is striped across all members without parity. Every disk is required to reconstruct the complete data stream.</p>
<p>With <strong>RAID 5</strong>, distributed parity makes it possible to reconstruct the contents of one missing member.</p>
<p><strong>RAID 6</strong> stores two independent parity blocks and can normally tolerate the loss of two drives.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a29/raid0-raid5-raid6.jpg" alt="RAID 0 RAID 5 RAID 6 comparison" style="display:block;margin:0 auto" />

<p>This difference is important during recovery. A degraded RAID 5 or RAID 6 may still contain enough information to reconstruct missing data, while RAID 0 does not have this protection.</p>
<h2>A safe recovery workflow</h2>
<p>A typical recovery process can be summarized as:</p>
<pre><code class="language-text">OpenMediaVault / mdadm disks
            ↓
Preserve the original drives
            ↓
Create disk images if necessary
            ↓
Detect or reconstruct the RAID
            ↓
Verify the filesystem
            ↓
Scan the logical RAID volume
            ↓
Preview recovered files
            ↓
Save them to separate storage
</code></pre>
<p>The most important principle is to avoid changing the original disks.</p>
<p>Do not create a new RAID over the old drives, rebuild the array unnecessarily, format the volume, or write recovered files back to the source storage.</p>
<h2>Do not initialize Linux RAID disks in Windows</h2>
<p>After connecting OpenMediaVault disks to a Windows computer, Disk Management may report some of them as unknown or uninitialized.</p>
<p>Windows may then offer to initialize the disks as GPT or MBR.</p>
<p><strong>Cancel this operation.</strong></p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a29/windows-disk-initialization.jpg" alt="Windows disk initialization warning" style="display:block;margin:0 auto" />

<p>A disk being unrecognized by Windows does not mean it is empty. Linux RAID members may contain mdadm metadata, filesystem structures, and user data that Windows cannot interpret directly.</p>
<p>Initialization can overwrite important structures and make subsequent reconstruction more difficult.</p>
<h2>Create disk images when the drives are unstable</h2>
<p>Whenever possible, recovery should be performed from disk images instead of repeatedly accessing unstable physical media.</p>
<p>This is especially important when a drive:</p>
<ul>
<li><p>reports SMART errors;</p>
</li>
<li><p>contains bad sectors;</p>
</li>
<li><p>disconnects intermittently;</p>
</li>
<li><p>produces read errors;</p>
</li>
<li><p>makes unusual mechanical noises;</p>
</li>
<li><p>is suspected of degrading.</p>
</li>
</ul>
<p>Disk images are also useful when the recovery workstation does not have enough SATA ports to connect every member simultaneously.</p>
<p>You can connect each disk individually, create an image, and then work with all images together as a virtual RAID.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a29/save-disk-image.jpg" alt="Creating a disk image" style="display:block;margin:0 auto" />

<p>Conceptually, the workflow looks like this:</p>
<pre><code class="language-plaintext">Disk 1 → image1
Disk 2 → image2
Disk 3 → image3
Disk 4 → image4

             ↓

Virtual RAID reconstruction
</code></pre>
<p>Remember that a full sector-by-sector image requires approximately the same amount of storage as the capacity of the original drive.</p>
<p>A 4 TB RAID member therefore requires approximately 4 TB of destination space for its full image, regardless of how much user data is actually stored on it.</p>
<h2>Automatic mdadm RAID reconstruction</h2>
<p>The easiest recovery case is when enough mdadm metadata remains intact.</p>
<p>After the physical disks or their images are connected, RAID recovery software can analyze the available metadata and determine parameters such as:</p>
<ul>
<li><p>RAID level;</p>
</li>
<li><p>number of members;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>stripe or chunk size;</p>
</li>
<li><p>data offset;</p>
</li>
<li><p>parity layout;</p>
</li>
<li><p>filesystem.</p>
</li>
</ul>
<p>In our OpenMediaVault test, the RAID 5 configuration was detected automatically and presented as a complete logical volume.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a29/open-raid5-disk.jpg" alt="Automatically detected OpenMediaVault RAID 5" style="display:block;margin:0 auto" />

<p>Once the RAID has been reconstructed, the logical volume can be analyzed in much the same way as a normal disk.</p>
<p>Start with a filesystem-aware <strong>Fast Scan</strong>.</p>
<p>If the filesystem metadata remains intact, a quick scan may be enough to reconstruct the directory tree and locate both existing and recently deleted files.</p>
<p>Before saving anything, preview several files.</p>
<p>This is an important validation step. Seeing correct filenames and directories does not necessarily prove that the RAID geometry is correct.</p>
<p>Try opening different types of files:</p>
<ul>
<li><p>JPEG or RAW photographs;</p>
</li>
<li><p>documents;</p>
</li>
<li><p>ZIP archives;</p>
</li>
<li><p>database files;</p>
</li>
<li><p>videos;</p>
</li>
<li><p>large files that span multiple RAID stripes.</p>
</li>
</ul>
<p>If several files preview correctly, the reconstructed RAID parameters are probably correct.</p>
<h2>Video walkthrough</h2>
<p>The following video demonstrates the recovery process in practice:</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=xz3rfgPD2J4">https://www.youtube.com/watch?v=xz3rfgPD2J4</a></p>

<h2>What if the RAID is not detected automatically?</h2>
<p>Automatic reconstruction depends heavily on the availability of valid RAID metadata.</p>
<p>Detection may fail after:</p>
<ul>
<li><p>mdadm superblocks are damaged;</p>
</li>
<li><p>the RAID configuration is deleted;</p>
</li>
<li><p>a new operating system is installed;</p>
</li>
<li><p>disks are accidentally initialized;</p>
</li>
<li><p>RAID expansion fails;</p>
</li>
<li><p>an interrupted migration corrupts metadata;</p>
</li>
<li><p>one or more member drives are unavailable.</p>
</li>
</ul>
<p>In these situations, the underlying filesystem and user data may still exist even though the metadata describing the RAID geometry has been lost.</p>
<p>The array must then be reconstructed <strong>virtually</strong>.</p>
<h2>Manual RAID reconstruction</h2>
<p>A RAID constructor can recreate the original geometry without modifying the physical disks.</p>
<p>The most important parameters include:</p>
<pre><code class="language-plaintext">RAID level
Disk order
Stripe / chunk size
Parity layout
Sector size
Data offset
Missing disk positions
</code></pre>
<p>For example, a RAID 6 array may require parameters similar to:</p>
<pre><code class="language-plaintext">RAID level:     RAID 6
Parity layout:  Left Synchronous P+Q
Stripe size:    512 KB
Sector size:    512 bytes
</code></pre>
<p>These values are only examples.</p>
<p><strong>Never assume that another mdadm array uses the same parameters.</strong></p>
<p>Actual values depend on the configuration used when the original RAID was created.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a29/raid6-default-parameters.jpg" alt="RAID Constructor parameters" style="display:block;margin:0 auto" />

<p>The correct disk order is particularly important.</p>
<p>Changing the position of even one drive changes the order of data blocks in the reconstructed stream.</p>
<h2>Handling missing disks</h2>
<p>A missing drive should normally remain represented in its original position.</p>
<p>For example, suppose the original RAID 5 consists of:</p>
<pre><code class="language-plaintext">Disk 1
Disk 2
Disk 3
Disk 4
</code></pre>
<p>If Disk 3 has failed, the reconstruction should remain:</p>
<pre><code class="language-plaintext">Disk 1
Disk 2
[MISSING]
Disk 4
</code></pre>
<p>You should not simply move Disk 4 into the third position.</p>
<p>RAID 5 can use parity to reconstruct the missing member logically.</p>
<p>RAID 6 can perform a similar reconstruction with up to two missing members, assuming the remaining disks are readable and the RAID geometry is known.</p>
<p>RAID 0 cannot reconstruct a missing member because it contains no parity information.</p>
<h2>The data offset can be critical</h2>
<p>Another parameter that is easy to overlook is the <strong>data offset</strong>.</p>
<p>The filesystem does not always begin at the first sector of each RAID member. mdadm may reserve space before the actual RAID data area for metadata and other structures.</p>
<p>If the RAID metadata has been damaged, the recovery software may not be able to determine this value automatically.</p>
<p>In our test configuration, the data offset was:</p>
<pre><code class="language-plaintext">135266304 bytes
</code></pre>
<p>This value had to be specified for the corresponding RAID members during manual reconstruction.</p>
<p>This value is specific to the test array and should <strong>not</strong> be copied blindly to another RAID.</p>
<p>An incorrect offset may produce symptoms such as:</p>
<ul>
<li><p>no filesystem detected;</p>
</li>
<li><p>corrupted directory structures;</p>
</li>
<li><p>missing files;</p>
</li>
<li><p>files that appear with correct names but contain invalid data.</p>
</li>
</ul>
<h2>Use the filesystem to validate the RAID geometry</h2>
<p>One of the best indicators of a correct RAID configuration is a recognizable filesystem.</p>
<p>The validation process looks like this:</p>
<pre><code class="language-plaintext">RAID members
     ↓
Correct disk order
     ↓
Correct stripe and parity layout
     ↓
Correct data offset
     ↓
Filesystem detected
     ↓
Directory structure appears
     ↓
Files preview correctly
</code></pre>
<p>A RAID Constructor can often show the resulting virtual volume before a complete scan is performed.</p>
<p>This allows you to test different combinations without immediately scanning several terabytes of storage.</p>
<p>The appearance of a valid filesystem is a useful signal, but file preview provides stronger verification.</p>
<p>Large files are particularly useful because they usually span several stripes and therefore depend on multiple disks being positioned correctly.</p>
<h2>After the RAID has been reconstructed</h2>
<p>Once the correct RAID configuration has been identified, add the reconstructed array as a virtual RAID volume.</p>
<p>Then scan the logical RAID volume rather than scanning individual member disks separately.</p>
<p>Start with <strong>Fast Scan</strong>.</p>
<p>If the expected files or directories are missing, proceed to a deeper filesystem analysis.</p>
<p>The order is important:</p>
<pre><code class="language-plaintext">Reconstruct RAID correctly
        ↓
Verify filesystem
        ↓
Scan the logical volume
        ↓
Preview files
        ↓
Recover data
</code></pre>
<p>A deeper filesystem scan cannot compensate for incorrectly reconstructed RAID geometry.</p>
<p>If the disk order, parity algorithm, stripe size, or offset is wrong, the scanner receives an incorrect data stream.</p>
<h2>Where should recovered files be saved?</h2>
<p>Always save recovered files to another physical storage device.</p>
<p>Do not save them:</p>
<ul>
<li><p>to the original RAID;</p>
</li>
<li><p>to one of its member disks;</p>
</li>
<li><p>to an image being analyzed.</p>
</li>
</ul>
<p>For example:</p>
<pre><code class="language-plaintext">Source:
4 × RAID member disks

Recovery destination:
External HDD / SSD
Another NAS
Separate storage server
</code></pre>
<p>This avoids overwriting data that may still need to be recovered later.</p>
<h2>Practical recovery checklist</h2>
<p>Before starting a long recovery operation, verify the following:</p>
<ul>
<li><p>all available RAID members have been identified;</p>
</li>
<li><p>unstable drives have been imaged where possible;</p>
</li>
<li><p>Windows has not initialized or formatted the disks;</p>
</li>
<li><p>the RAID level is correct;</p>
</li>
<li><p>member disk order is correct;</p>
</li>
<li><p>stripe size is plausible;</p>
</li>
<li><p>parity layout is correct;</p>
</li>
<li><p>data offsets are correct;</p>
</li>
<li><p>missing drives occupy their original positions;</p>
</li>
<li><p>the filesystem is detected;</p>
</li>
<li><p>several files can be previewed successfully;</p>
</li>
<li><p>recovered data will be saved to separate storage.</p>
</li>
</ul>
<p>Spending time validating these parameters can prevent hours of scanning an incorrectly reconstructed array.</p>
<h2>Conclusion</h2>
<p>OpenMediaVault's use of mdadm makes its software RAID relatively portable because the storage configuration is not tied to a proprietary hardware controller.</p>
<p>That can be extremely useful when the original NAS motherboard, operating system, or other hardware fails.</p>
<p>The safest recovery strategy is to preserve the original state of the storage first.</p>
<p>Avoid rebuilding, initialization, formatting, and unnecessary writes. If a drive is unstable, create an image. Then reconstruct the RAID virtually, verify the filesystem and file contents, and only after that begin copying recovered data.</p>
<p>Correct RAID geometry matters more than scan depth: a full filesystem scan cannot repair a logical RAID that has been assembled with the wrong disk order, stripe size, parity layout, or offset.</p>
<p>For a complete step-by-step walkthrough with additional screenshots and detailed examples, <a href="https://hetmanrecovery.com/recovery_news/how-to-recover-data-from-mdadm-raid0-raid5-raid6-openmediavault">read the original guide</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Data Recovery in ZFS: Datasets, ZVOLs, Snapshots, and Virtual Disks]]></title><description><![CDATA[ZFS combines filesystem management, checksumming, snapshots, RAID-like redundancy, and block storage in a single architecture. However, hardware failures, damaged pool metadata, accidental Dataset or ]]></description><link>https://hetman-software.hashnode.dev/data-recovery-in-zfs-datasets-zvols-snapshots-and-virtual-disks</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/data-recovery-in-zfs-datasets-zvols-snapshots-and-virtual-disks</guid><category><![CDATA[zfs]]></category><category><![CDATA[TrueNAS]]></category><category><![CDATA[data recovery]]></category><category><![CDATA[raid]]></category><category><![CDATA[VirtualMachine]]></category><category><![CDATA[nas]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Wed, 01 Jul 2026 05:40:41 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/ef1b0afd-5688-41e6-b1be-d7c9e92f4efc.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>ZFS combines filesystem management, checksumming, snapshots, RAID-like redundancy, and block storage in a single architecture. However, hardware failures, damaged pool metadata, accidental Dataset or ZVOL deletion, and virtual machine failures can still make important data inaccessible.</p>
<p>In this guide, we will look at the main ZFS storage objects and walk through a practical recovery workflow using a TrueNAS/ZFS pool and <strong>Hetman RAID Recovery</strong>.</p>
<h2>Video: ZFS Data Recovery</h2>
<p>The complete recovery process is also demonstrated in this video:</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=vMw3zFfzBwQ">https://www.youtube.com/watch?v=vMw3zFfzBwQ</a></p>

<hr />
<h2>Understanding Datasets, ZVOLs, Snapshots, and Virtual Disks</h2>
<p>Before attempting recovery, it is important to understand where the required data is actually stored.</p>
<table>
<thead>
<tr>
<th><strong>ZFS object</strong></th>
<th><strong>What it is</strong></th>
<th>Typical use</th>
</tr>
</thead>
<tbody><tr>
<td><strong>Dataset</strong></td>
<td>A filesystem inside a ZFS pool</td>
<td>Files, shared folders, backups</td>
</tr>
<tr>
<td><strong>ZVOL</strong></td>
<td>A virtual block device</td>
<td>Virtual machines, iSCSI, databases</td>
</tr>
<tr>
<td><strong>Virtual disk file</strong></td>
<td>A disk image stored as a regular file</td>
<td>VMDK, QCOW2, VHDX, RAW</td>
</tr>
<tr>
<td><strong>Snapshot</strong></td>
<td>A point-in-time state of a Dataset or ZVOL</td>
<td>Rollback and file recovery</td>
</tr>
</tbody></table>
<p>A Dataset stores files directly:</p>
<pre><code class="language-text">Physical Disks → ZFS Pool → Dataset → Files
</code></pre>
<p>A ZVOL works as a virtual block device and may contain another filesystem:</p>
<pre><code class="language-text">Physical Disks → ZFS Pool → ZVOL → NTFS / Ext4 / XFS → Files
</code></pre>
<p>Virtual machine storage in ZFS can be implemented in two main ways: as a <strong>ZVOL block device</strong> or as a <strong>virtual disk file stored inside a Dataset</strong>.</p>
<p>A ZVOL acts as a virtual block device and may contain the guest operating system filesystem directly:</p>
<pre><code class="language-plaintext">ZFS Pool → ZVOL → Guest Filesystem → VM Files
</code></pre>
<p>Alternatively, the virtual machine disk can be stored as a regular file inside a Dataset:</p>
<pre><code class="language-plaintext">ZFS Pool → Dataset → VMDK / QCOW2 / VHDX / RAW → Guest Filesystem → VM Files
</code></pre>
<p>This distinction is important during recovery because a ZVOL and a virtual disk file are detected and analyzed at different levels of the ZFS storage structure.</p>
<p>Snapshots add another possible recovery layer:</p>
<pre><code class="language-text">ZFS Pool → Snapshot → ZVOL → Guest Filesystem → File
</code></pre>
<p>This layered structure is one of the main reasons why ZFS recovery may require more than one scan.</p>
<hr />
<h2>Safe Recovery Workflow</h2>
<p>The first rule when recovering data from damaged ZFS storage is to <strong>avoid writing to the affected disks</strong>.</p>
<p>Do not format, initialize, rebuild, or copy new data to the damaged pool. If possible, create sector-by-sector images of the drives and perform further analysis using those copies.</p>
<p>A safe workflow looks like this:</p>
<pre><code class="language-text">Original Drives → Disk Images → Pool Reconstruction → Scan → Recovery to Another Disk
</code></pre>
<p>Recovered files should always be saved to a <strong>different physical storage device</strong>.</p>
<hr />
<h2>Connect the Drives or Create Disk Images</h2>
<p>If the original TrueNAS or ZFS server is no longer working, remove the pool members and connect them to another computer.</p>
<p>Direct SATA or SAS connections are preferable. When there are not enough available ports, you can create images of some drives and combine physical disks with disk images during reconstruction.</p>
<p>Hetman RAID Recovery can create a sector-by-sector image directly from a connected disk.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/save-disk.jpg" alt="Creating a disk image from a ZFS pool member" style="display:block;margin:0 auto" />

<p><em>Creating an image of a ZFS pool member before recovery.</em></p>
<p>The program treats disk images in much the same way as physical devices, allowing them to participate in automatic pool reconstruction.</p>
<p>This is especially useful for large NAS or server configurations where connecting every original disk to one workstation is inconvenient.</p>
<hr />
<h2>Reconstruct and Scan the ZFS Pool</h2>
<p>After the surviving drives or their images are available, start Hetman RAID Recovery.</p>
<p>The software reads available ZFS metadata, analyzes the vdev configuration, and attempts to reconstruct the original pool automatically.</p>
<p>The detected pool appears in the <strong>RAID Volumes</strong> section.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/open-zfs-pool.jpg" alt="Opening a reconstructed ZFS pool" style="display:block;margin:0 auto" />

<p><em>Selecting the automatically reconstructed ZFS pool.</em></p>
<p>Open the pool and start with <strong>Fast Scan</strong>.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/zfs-fast-scan.jpg" alt="Fast Scan for a ZFS pool" style="display:block;margin:0 auto" />

<p><em>Fast Scan should normally be the first analysis method.</em></p>
<p>Fast Scan uses the existing filesystem metadata and is usually sufficient when the ZFS structure is still largely intact.</p>
<p>After scanning, the reconstructed filesystem may contain Datasets, Snapshots, ZVOLs, virtual disks, and regular files.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/zfs-pool-content.jpg" alt="Recovered ZFS pool structure" style="display:block;margin:0 auto" />

<p><em>Datasets and the Snapshots folder detected inside the reconstructed pool.</em></p>
<p>If the required data appears here, there is usually no reason to immediately perform a much longer Full Scan.</p>
<hr />
<h2>Recover Files from a Dataset</h2>
<p>A Dataset is the simplest recovery case because it behaves as a regular filesystem inside the ZFS pool.</p>
<p>If its metadata is still available, folders and files will appear directly in the reconstructed directory hierarchy.</p>
<p>The workflow is straightforward:</p>
<pre><code class="language-text">ZFS Pool → Dataset → Folder → File
</code></pre>
<p>Browse the Dataset, preview important files, select the required objects, and recover them to another disk.</p>
<p>Previewing files before recovery is useful because a valid preview confirms that the relevant data blocks are still readable.</p>
<hr />
<h2>Recover ZVOLs and Virtual Disks</h2>
<p>ZVOL recovery is different because a ZVOL does not contain ordinary files at the ZFS level. It represents a block device that may contain another filesystem.</p>
<p>A similar situation occurs with VMDK, QCOW2, VHDX, RAW, and other virtual disk images stored inside a Dataset.</p>
<p>For example:</p>
<pre><code class="language-text">ZFS Pool → ZVOL → NTFS → Files
</code></pre>
<p>or:</p>
<pre><code class="language-text">ZFS Pool → Dataset → Virtual Disk → Guest Filesystem → Files
</code></pre>
<p>After Fast Scan, locate the required ZVOL or virtual disk.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/lun-file-location.jpg" alt="Virtual disk found inside a ZFS Dataset" style="display:block;margin:0 auto" />

<p><em>A virtual disk image found inside the reconstructed Dataset.</em></p>
<p>Instead of recovering the entire virtual disk first, it can be mounted directly in the recovery application and analyzed as another storage device.</p>
<p>For example, if the virtual disk contains NTFS:</p>
<pre><code class="language-text">ZFS → Virtual Disk → NTFS → Deleted File
</code></pre>
<p>The filesystem inside the mounted disk can then be scanned separately.</p>
<p>For simple deletion, start with Fast Scan. If the guest filesystem was formatted or its partition structure was damaged, use Full Scan.</p>
<p>This two-stage analysis is particularly useful for recovering virtual machines from damaged TrueNAS or other ZFS-based storage.</p>
<hr />
<h2>Recover Data from ZFS Snapshots</h2>
<p>Snapshots can provide an easier recovery path when a file, Dataset, ZVOL, or virtual machine was modified or deleted after the snapshot was created.</p>
<p>After Fast Scan, available snapshots appear in a dedicated <strong>Snapshots</strong> directory.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/snapshot-file-location.jpg" alt="ZFS Snapshots folder" style="display:block;margin:0 auto" />

<p><em>The Snapshots directory detected during ZFS analysis.</em></p>
<p>Open the folder to view the available recovery points.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/snapshot-file-list.jpg" alt="Available ZFS snapshots" style="display:block;margin:0 auto" />

<p><em>Snapshots can be identified by their names and creation dates.</em></p>
<p>This makes it possible to recover an earlier version of an individual file without rolling the entire live Dataset back.</p>
<p>Snapshots can also contain ZVOLs.</p>
<p>In that case:</p>
<pre><code class="language-text">ZFS Pool → Snapshot → ZVOL → Guest Filesystem → File
</code></pre>
<p>The ZVOL can be mounted directly from the snapshot:</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/mount-file-disk.jpg" alt="Mounting a ZVOL from a ZFS snapshot" style="display:block;margin:0 auto" />

<p><em>Mounting a ZVOL captured inside a snapshot.</em></p>
<p>After mounting it, scan the filesystem inside the virtual disk and recover the required files in the same way as from an ordinary storage device.</p>
<p>This is particularly useful in production environments because it lets you retrieve specific historical data without rolling the complete Dataset or virtual machine back to an older state.</p>
<hr />
<h2>Recover Deleted Datasets, ZVOLs, and Virtual Disks</h2>
<p>If a Dataset, ZVOL, or virtual disk was deleted and the original metadata is no longer available, Fast Scan may not find it.</p>
<p>In this situation, run <strong>Full Scan</strong> on the reconstructed ZFS pool.</p>
<img src="https://hetmanrecovery.com/uk/pic/blog/a25/zfs-full-analysis.jpg" alt="Full analysis of a reconstructed ZFS pool" style="display:block;margin:0 auto" />

<p><em>Running Full Scan when ZFS metadata is missing or damaged.</em></p>
<p>The recovery workflow becomes:</p>
<pre><code class="language-text">ZFS Pool → Full Scan → Deleted ZVOL / Virtual Disk → Mount → Guest Filesystem → Files
</code></pre>
<p>Full Scan analyzes the underlying storage more deeply and can locate objects that are no longer represented in the active directory structure.</p>
<p>If the original name of a virtual disk was lost, its <strong>expected size</strong> can be an important identification clue.</p>
<p>For example, if the missing VM had a 200 GB virtual disk, filtering the results by approximate size can greatly reduce the number of candidates. File type, date, and filename filters can also help.</p>
<p>Once a potential ZVOL or virtual disk is found, mount it and inspect its internal filesystem before recovering a large image unnecessarily.</p>
<hr />
<h2>Fast Scan or Full Scan?</h2>
<p>Choosing the correct analysis mode can save a significant amount of time, especially with multi-terabyte ZFS pools.</p>
<table>
<thead>
<tr>
<th>Situation</th>
<th>Recommended scan</th>
</tr>
</thead>
<tbody><tr>
<td>Pool and directory structure are intact</td>
<td><strong>Fast Scan</strong></td>
</tr>
<tr>
<td>Existing Dataset needs to be recovered</td>
<td><strong>Fast Scan</strong></td>
</tr>
<tr>
<td>Recently deleted files</td>
<td><strong>Fast Scan first</strong></td>
</tr>
<tr>
<td>Existing ZVOL or virtual disk</td>
<td><strong>Fast Scan first</strong></td>
</tr>
<tr>
<td>Deleted Dataset or ZVOL</td>
<td><strong>Full Scan</strong></td>
</tr>
<tr>
<td>Damaged ZFS metadata</td>
<td><strong>Full Scan</strong></td>
</tr>
<tr>
<td>Damaged guest filesystem inside a VM disk</td>
<td><strong>Full Scan of the mounted disk</strong></td>
</tr>
<tr>
<td>Fast Scan does not find the required data</td>
<td><strong>Full Scan</strong></td>
</tr>
</tbody></table>
<p>The general rule is simple: <strong>start with Fast Scan and move to Full Scan only when necessary.</strong></p>
<hr />
<h2>A Layered Approach to ZFS Recovery</h2>
<p>The most important thing to understand about ZFS recovery is that the required file may exist several storage layers below the physical disks.</p>
<p>A complete path can look like this:</p>
<pre><code class="language-text">Physical Disks → ZFS Pool → Snapshot → ZVOL → Guest Filesystem → File
</code></pre>
<p>or:</p>
<pre><code class="language-text">Physical Disks → ZFS Pool → Dataset → Virtual Disk → Guest Filesystem → File
</code></pre>
<p>Finding the ZFS pool is therefore not always the final step.</p>
<p>For ordinary Dataset files, one scan may be enough. For virtual machines and ZVOLs, the correct approach is often to reconstruct the ZFS layer first and then analyze the filesystem inside the recovered block device.</p>
<p>To maximize the chances of successful recovery:</p>
<ul>
<li><p>avoid writing to the damaged pool;</p>
</li>
<li><p>create disk images whenever possible;</p>
</li>
<li><p>reconstruct the ZFS pool from the surviving members;</p>
</li>
<li><p>start with Fast Scan;</p>
</li>
<li><p>check available Snapshots;</p>
</li>
<li><p>mount ZVOLs and virtual disks for additional analysis;</p>
</li>
<li><p>use Full Scan only when metadata-based recovery is insufficient;</p>
</li>
<li><p>save recovered data to another physical storage device.</p>
</li>
</ul>
<p>For a more detailed step-by-step walkthrough with additional screenshots and recovery scenarios, <a href="https://hetmanrecovery.com/recovery_news/data-recovery-zfs-dataset-zvol-snapshot">see the original technical guide</a>.</p>
]]></content:encoded></item><item><title><![CDATA[How to Recover Data from RAID 5, RAID 6, and RAID 0 on a Dell PERC H700]]></title><description><![CDATA[RAID controllers such as the Dell PERC H700 are commonly used in Dell PowerEdge servers to combine multiple physical drives into a single logical storage volume.
Depending on the RAID level, the array]]></description><link>https://hetman-software.hashnode.dev/how-to-recover-data-from-raid5-raid6-raid0-arrays-created-on-a-dell-perc-h700-controller</link><guid isPermaLink="true">https://hetman-software.hashnode.dev/how-to-recover-data-from-raid5-raid6-raid0-arrays-created-on-a-dell-perc-h700-controller</guid><category><![CDATA[data recovery]]></category><category><![CDATA[raid]]></category><category><![CDATA[dell]]></category><category><![CDATA[storage]]></category><category><![CDATA[server]]></category><dc:creator><![CDATA[Michael Miroshnichenko]]></dc:creator><pubDate>Tue, 30 Jun 2026 13:47:49 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/9aa09785-f201-440c-9b61-6d90ddf0d502.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>RAID controllers such as the <strong>Dell PERC H700</strong> are commonly used in Dell PowerEdge servers to combine multiple physical drives into a single logical storage volume.</p>
<p>Depending on the RAID level, the array can provide better performance, fault tolerance, or a combination of both. However, RAID does not eliminate the risk of data loss.</p>
<p>Access to a RAID volume can be lost because of:</p>
<ul>
<li><p>a failed RAID controller or server motherboard;</p>
</li>
<li><p>one or more failed drives;</p>
</li>
<li><p>accidental RAID configuration deletion;</p>
</li>
<li><p>incorrect array recreation;</p>
</li>
<li><p>interrupted RAID migration or expansion;</p>
</li>
<li><p>disk initialization;</p>
</li>
<li><p>partition deletion or formatting;</p>
</li>
<li><p>file system corruption.</p>
</li>
</ul>
<p>In this guide, we will examine how to approach data recovery from <strong>RAID 0, RAID 5, and RAID 6 arrays created with a Dell PERC H700</strong>, including situations where the original controller is no longer available.</p>
<h2><strong>How Many RAID Disks Are Required for Recovery?</strong></h2>
<p>Before attempting reconstruction, determine how many original RAID members are still available. The requirements are different for each RAID level.</p>
<table>
<thead>
<tr>
<th><strong>RAID level</strong></th>
<th><strong>Minimum disks required</strong></th>
<th><strong>Redundancy</strong></th>
</tr>
</thead>
<tbody><tr>
<td>RAID 0</td>
<td>All disks</td>
<td>None</td>
</tr>
<tr>
<td>RAID 5</td>
<td>N − 1</td>
<td>One disk</td>
</tr>
<tr>
<td>RAID 6</td>
<td>N − 2</td>
<td>Two disks</td>
</tr>
</tbody></table>
<p>With <strong>RAID 0</strong>, data is striped across all drives without parity. If one member is missing, parts of virtually every large file may also be missing.</p>
<p>With <strong>RAID 5</strong>, distributed parity allows the contents of one missing member to be reconstructed.</p>
<p>With <strong>RAID 6</strong>, two independent parity calculations allow reconstruction even when two members are unavailable.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/8b4cbfbb-c065-4482-a3fd-614daeba5fc2.jpg" alt="RAID 0, RAID 5, and RAID 6 disk requirements" style="display:block;margin:0 auto" />

<p>This distinction is important because RAID redundancy determines whether reconstruction is mathematically possible before file-system recovery even begins.</p>
<h2>Do Not Initialize the RAID Disks</h2>
<p>After removing disks from a failed server and connecting them to another Windows computer, Windows may display a message such as:</p>
<blockquote>
<p>You must initialize a disk before Logical Disk Manager can access it.</p>
</blockquote>
<p>Do <strong>not</strong> initialize the disks.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/cbc0c74f-2479-49b5-84fb-2a6f890504a1.jpg" alt="Windows disk initialization prompt" style="display:block;margin:0 auto" />

<p>Initialization, formatting, partition creation, or other write operations may overwrite RAID or file-system metadata that could still be useful during recovery.</p>
<p>A safer workflow is:</p>
<ol>
<li><p>Stop using the failed array.</p>
</li>
<li><p>Record the original disk positions.</p>
</li>
<li><p>Label every disk.</p>
</li>
<li><p>Connect the available drives to a recovery workstation.</p>
</li>
<li><p>Avoid all write operations.</p>
</li>
<li><p>Create sector-by-sector disk images when possible.</p>
</li>
<li><p>Perform reconstruction and scanning from the images or original read-only media.</p>
</li>
</ol>
<p>SATA drives can usually be connected directly to SATA ports or appropriate adapters. SAS drives require SAS-compatible hardware.</p>
<h2>Create Disk Images Before Reconstruction</h2>
<p>If the data is important or one of the drives shows signs of instability, working from disk images is preferable to repeatedly scanning the physical media.</p>
<p>In <strong>Hetman RAID Recovery</strong>, select a physical drive and use <strong>Save Disk</strong> to create an image.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/e83dc954-d856-4533-a2fb-1eafbf0419a2.jpg" alt="Creating a disk image" style="display:block;margin:0 auto" />

<p>The resulting image can then be connected to the recovery environment instead of the physical drive.</p>
<p>Select <strong>Mount Disk</strong> and choose the appropriate disk-image type.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/a5cd6289-98ad-4fb0-b385-310fdd3c5164.jpg" alt="Mounting a RAW disk image" style="display:block;margin:0 auto" />

<p>This is particularly useful when:</p>
<ul>
<li><p>a source disk is unstable;</p>
</li>
<li><p>the original server needs to be returned to service;</p>
</li>
<li><p>several recovery attempts may be required;</p>
</li>
<li><p>you want to preserve the original disks unchanged.</p>
</li>
</ul>
<p>Once all available physical disks or their images are connected, RAID reconstruction can begin.</p>
<h2>Automatic RAID Reconstruction</h2>
<p>In many cases, enough RAID metadata remains on the member disks to identify the original configuration automatically.</p>
<p>A RAID recovery application can analyze the available drives and determine parameters such as:</p>
<ul>
<li><p>RAID level;</p>
</li>
<li><p>number of members;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>stripe size;</p>
</li>
<li><p>data offset;</p>
</li>
<li><p>parity layout;</p>
</li>
<li><p>missing disks.</p>
</li>
</ul>
<p>In our example, the disks belonged to RAID arrays created with a <strong>Dell PERC H700</strong>.</p>
<p>After the available disks are connected, Hetman RAID Recovery identifies the RAID structures and displays reconstructed logical arrays separately from the physical disks.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/5bc87930-3256-4b24-a959-6729e576678e.jpg" alt="Automatically detected RAID 0 and RAID 5" style="display:block;margin:0 auto" />

<p>This separation is important.</p>
<p>There are actually two different layers involved in RAID recovery:</p>
<p><strong>Physical RAID members → reconstructed RAID volume → file system → files</strong></p>
<p>A program must first interpret the RAID geometry correctly. Only then can NTFS, ReFS, Ext, XFS, ZFS, or another file system inside the resulting virtual volume be analyzed correctly.</p>
<h2>Scan the Reconstructed RAID</h2>
<p>If the RAID structure has been reconstructed correctly, select the resulting logical RAID volume rather than one of its individual physical members.</p>
<p>For an intact file system or recently deleted files, start with <strong>Fast scan</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/1a1116ac-e8b5-476a-bae2-f8426790ad09.jpg" alt="Fast scan of the reconstructed RAID 5" style="display:block;margin:0 auto" />

<p>A fast scan analyzes the available file-system metadata and directory structures.</p>
<p>If the array was formatted, partitions were deleted, or the file system is seriously damaged, use <strong>Full analysis</strong> instead.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/0be0b91c-1a75-4641-a717-84999261df21.jpg" alt="Full analysis" style="display:block;margin:0 auto" />

<p>Before saving recovered files, inspect several files with the preview function.</p>
<p>This is useful not only for checking the files themselves but also for verifying that the RAID has been reconstructed correctly.</p>
<p>If folders appear normal but most files are corrupted, one of the RAID parameters may still be incorrect.</p>
<h2>What If the RAID Is Not Detected Automatically?</h2>
<p>Automatic reconstruction depends on the information that remains on the disks.</p>
<p>If the RAID configuration was deleted, the disks were initialized, metadata was overwritten, or a new array was accidentally created, some parameters may need to be specified manually.</p>
<p>For this purpose, use <strong>RAID Constructor</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/9badf69c-bfa3-4415-83c3-38410af24ba3.jpg" alt="Opening RAID Constructor in manual mode" style="display:block;margin:0 auto" />

<p>The most important RAID parameters include:</p>
<ul>
<li><p>RAID type;</p>
</li>
<li><p>disk order;</p>
</li>
<li><p>stripe or block size;</p>
</li>
<li><p>sector size;</p>
</li>
<li><p>data offset;</p>
</li>
<li><p>parity layout.</p>
</li>
</ul>
<p>For the PERC H700 configuration used in our example, the RAID Constructor shows:</p>
<ul>
<li><p><strong>RAID 6 (Dual parity)</strong></p>
</li>
<li><p><strong>Left Synchronous</strong></p>
</li>
<li><p><strong>64 KB block size</strong></p>
</li>
<li><p><strong>512 bytes per sector</strong></p>
</li>
</ul>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/29e79efc-d02a-48d3-aa9b-1d8ac51a0204.jpg" alt="RAID 6 parameters" style="display:block;margin:0 auto" />

<p>These values should <strong>not be considered universal settings for every PERC H700 array</strong>. The original configuration can use different parameters.</p>
<p>The PERC H700 supports multiple stripe sizes, so the actual RAID geometry must be determined from the specific array being recovered. Your source article likewise notes that parameters can differ and should be verified rather than blindly assumed.</p>
<h2>Reconstructing RAID 6 with Missing Disks</h2>
<p>Suppose we have a four-disk RAID 6 and two members are unavailable.</p>
<p>Because RAID 6 provides dual parity, reconstruction may still be possible.</p>
<p>In RAID Constructor, add the available physical disks in their correct positions and use <strong>Empty disk</strong> entries for unavailable members.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/95ef4ddf-2378-4f0e-b42d-812ffd91b935.jpg" alt="RAID 6 disk order with two missing disks" style="display:block;margin:0 auto" />

<p>Correct disk order is critical.</p>
<p>If the drives are arranged incorrectly, the RAID may technically be assembled, but the file system and files inside it will not be reconstructed correctly.</p>
<p>Once the parameters and disk positions have been specified, the complete configuration can be added to the application's list of RAID arrays.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/812fcdf6-dc6e-4142-a2ba-fef899384457.jpg" alt="Complete manually configured RAID 6" style="display:block;margin:0 auto" />

<h2>Finding Unknown RAID Parameters</h2>
<p>A common recovery scenario is having all or most of the disks but no record of the original RAID configuration.</p>
<p>You may know that the server used RAID 5 or RAID 6 while not knowing:</p>
<ul>
<li><p>the exact disk sequence;</p>
</li>
<li><p>stripe size;</p>
</li>
<li><p>offset;</p>
</li>
<li><p>parity rotation.</p>
</li>
</ul>
<p>Instead of manually testing every combination, the RAID Constructor can search for possible configurations.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/3aad28a6-645d-43a2-89e5-8e9dbec8dc0a.jpg" alt="Automatic RAID parameter detection" style="display:block;margin:0 auto" />

<p>The reconstructed results provide an important way to validate the configuration.</p>
<p>A promising configuration should reveal:</p>
<ul>
<li><p>expected partitions;</p>
</li>
<li><p>a recognizable file system;</p>
</li>
<li><p>meaningful directory names;</p>
</li>
<li><p>realistic file sizes;</p>
</li>
<li><p>files that can be previewed successfully.</p>
</li>
</ul>
<p>Do not evaluate the reconstruction only by whether a partition appears. Verify the actual files as well.</p>
<h2>Recovering the Files</h2>
<p>Once the RAID has been assembled correctly, open the reconstructed logical volume and scan it.</p>
<p>The resulting array appears as a virtual storage device even though one or more physical members may be missing.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/08b832e7-80bb-42f1-85e5-4316c93b22b7.jpg" alt="Opening the reconstructed RAID 6" style="display:block;margin:0 auto" />

<p>After scanning, navigate through the recovered directory structure and preview important files.</p>
<p>When the correct data has been identified, select the required folders and files and start the recovery process.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a43c0aca0b4b0b753fadb54/3a13aa4b-be40-46d8-a0ca-8d81c4c8eadc.jpg" alt="Selecting RAID 6 folders for recovery" style="display:block;margin:0 auto" />

<p>Always save the recovered data to <strong>another healthy physical storage device</strong>.</p>
<p>Do not save it back to the disks that belong to the original RAID.</p>
<h2>Video Walkthrough</h2>
<p>The complete procedure is also demonstrated in our video:</p>
<p><strong>How to Recover Data from RAID 5, RAID 6, and RAID 0 Arrays Created on a Dell PERC H700 Controller</strong></p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=n6chAEUEBKo">https://www.youtube.com/watch?v=n6chAEUEBKo</a></p>

<p>The video demonstrates:</p>
<ul>
<li><p>RAID 0, RAID 5, and RAID 6 scenarios;</p>
</li>
<li><p>connecting RAID member disks;</p>
</li>
<li><p>automatic RAID detection;</p>
</li>
<li><p>disk-image workflows;</p>
</li>
<li><p>manual RAID reconstruction;</p>
</li>
<li><p>working with missing disks;</p>
</li>
<li><p>determining unknown RAID parameters;</p>
</li>
<li><p>scanning the reconstructed array;</p>
</li>
<li><p>recovering files.</p>
</li>
</ul>
<h2>Practical Recovery Checklist</h2>
<p>If a Dell PowerEdge server or PERC H700 RAID fails, a conservative workflow is:</p>
<ol>
<li><p><strong>Stop using the array.</strong></p>
</li>
<li><p>Do not initialize, format, or recreate its disks.</p>
</li>
<li><p>Record the original drive order.</p>
</li>
<li><p>Check which physical disks are available.</p>
</li>
<li><p>Create disk images where possible.</p>
</li>
<li><p>Connect the disks or images to a separate workstation.</p>
</li>
<li><p>Attempt automatic RAID detection.</p>
</li>
<li><p>Verify the reconstructed file system and files.</p>
</li>
<li><p>If necessary, use RAID Constructor.</p>
</li>
<li><p>Determine the correct disk order, stripe size, offset, and parity configuration.</p>
</li>
<li><p>Scan the reconstructed logical volume.</p>
</li>
<li><p>Preview files to validate the configuration.</p>
</li>
<li><p>Recover the required data to another drive.</p>
</li>
</ol>
<h2>Key Takeaways</h2>
<p>A failed Dell PERC H700 controller does not necessarily mean that the information stored on its RAID array has been lost.</p>
<p>Remember these basic rules:</p>
<ul>
<li><p><strong>RAID 0 requires every member disk for complete recovery.</strong></p>
</li>
<li><p><strong>RAID 5 can normally survive one missing member.</strong></p>
</li>
<li><p><strong>RAID 6 can normally survive two missing members.</strong></p>
</li>
<li><p>The original RAID controller is not always required to reconstruct the array.</p>
</li>
<li><p>Do not initialize disks when Windows prompts you to do so.</p>
</li>
<li><p>Disk order, stripe size, offset, and parity layout can be critical.</p>
</li>
<li><p>Work from disk images when drive condition is questionable.</p>
</li>
<li><p>Verify the RAID reconstruction by previewing actual files.</p>
</li>
<li><p>Never save recovered data to the source RAID.</p>
</li>
</ul>
<p>Finally, RAID redundancy should never be treated as a replacement for a backup. RAID is designed primarily to provide storage availability after certain hardware failures; it cannot protect against every form of data loss.</p>
<p>For a more detailed step-by-step demonstration with screenshots, see the <a href="https://hetmanrecovery.com/recovery_news/how-to-recover-data-raid5-raid6-raid0-dell-poweredge-r710-perc-h700">original technical guide on the Hetman Software website</a>.</p>
]]></content:encoded></item></channel></rss>