Re: how to recover filesystem after clobbering array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you very much, Tyler and David.
Good advice.

The array is level 1, built upon primary partitions of the devices.
The file system is EXT4.
The mdadm command that I stupidly used to create instead of starting the array included "--assume-clean" but no "--build". I checked via /proc/mdadm that the array came up without syncing anything (or at least it was ultra-fast, less than 5 seconds).
So I firmly believe the data is all there, on both disks.
I just need to rebuild the metadata to point to the data again somehow.
Right?...

Citando "Tyler J. Wagner" <tyler@xxxxxxxxxxx>:

On 2011-07-19 11:17, David Brown wrote:
Once you have got image files for each of your disks, make copies of
these image files to another spare disk. Keep careful notes of exactly
what you have done here, and which files are which. And put your
original disks, carefully labelled, on a shelf somewhere.

Now you are in a position to attempt data recovery on your copied
files. If you do something wrong, you can simply re-copy the image
files and try again. You still have absolutely no guarantees that
you'll get anything back - but at least you can be sure you are not
going to make anything worse.

Follow David's advice.

What was the filesystem on the array?

Now, use testdisk, photorec, and foremost to seek through the raw images
and extract files. The good news is, most video formats are detectable
by these tools. All can be installed with your package manager.

Regards,
Tyler

--
"Offending fundamentalists isn't my goal - but if it is an inevitable
side-effect of defending human rights, so be it."
   -- Johann Hari

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux