# Re: Read data from disk that was part of RAID1 array

- From: Wols Lists \<hidden\>
- Date: 2017-03-19 10:18:32 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2017/03/6634857
- Thread: https://ratatoskr.run/linux-raid/2017/03/6634821/t.md

```text
On 17/03/17 23:17, Peter Sangas wrote:
> 
> 
>> From: Peter Sangas [mailto:<redacted>]
>> I have only one disk from a RAID1 array and I would like to read data from
> one of the
>> partitions.  This there a way to mount this and read the data?
> 
> This worked for me:
> 
> mdadm --create /dev/md10 -l 1 -n 2 /dev/sda missing     md10 is chosen to
> avoid conflicts with existing RAID1
> 
> mount /dev/md10 /mnt 
> 
NEVER NEVER NEVER use --create !!!

YOU WERE LUCKY !!!

Use something like --assemble --force, which will set up a working array
if it can. If that had been an old array, with a different offset or
superblock or the like, you would have trashed the superblock and
created a new array, which thought that the data in the array was
somewhere other than where it really was.

At which point, it would have been "go to your backups" or a major
forensic recovery.

Cheers,
Wol

```
