When i enter mdadm --examine /dev/sdb

I get:

/dev/sdb:

    MBR Magic: aa55

Partition[0] : 3907026944 sectors at         2048 (type 83)


So I thought I was good. I then tried to reassemble:

mdadm -A -R /dev/md0 /dev/sdb  

I get:

mdadm: cannot assembler mbr metadata on /dev/sdb

So, I tried it on sdb1

mdadm: /dev/sdb1 has no superblock - assembly aborted


it could all very well be, that I have borked these two drives. It's not
the end of the world, there was no data loss, and the data was already
transferred off of them. And, my lesson has been learned. RAID sounds
all good and dandy, and does provide some protection against data loss
caused by hardware failure.


Which bring me to my final question, just for closure.

If hardware raid (like if I bought a controller), would it be any
different, if I removed the drives and just put on one another machine
-- would I be able to see the data on it like a normal drive? Or would I
run into the same issue??


On 30.12.20 01:53, deloptes wrote:
> Thomas A. Anderson wrote:
>
>> Once I can get anything off one of these two drives, I will then switch
>> my current setup to 1 drive (8TB), with an attached 8TB drive that will
>> be be backup --weekly, or whatever.
> you can start one of the drives that was member of raid1 array on any
> computer, just as Reco said by assembling the mdraid on that computer.
>
> Check mdadm man page.
>
> For example I attached a disk that was member of raid through a USB storage
> box:
>
> * Examine the RAID table
>
>  mdadm --examine /dev/sdj
>  /dev/sdj:
>     MBR Magic : aa55
>  Partition[0] :       997376 sectors at         2048 (type fd)
>  Partition[1] :    156250112 sectors at       999424 (type fd)
>  Partition[2] :   1796272130 sectors at    157251582 (type 05)
>
> * Assemble and run the RAID array with one disk
>
>  mdadm -A -R /dev/md0 /dev/sdj1
>  mdadm: /dev/md0 has been started with 1 drive (out of 2).
>  
>  mdadm -A -R /dev/md1 /dev/sdj2
>  mdadm: /dev/md1 has been started with 1 drive (out of 2).
>  
>  mdadm -A -R /dev/md2 /dev/sdj5
>  mdadm: /dev/md2 has been started with 1 drive (out of 2).
>
> Now I can do whatever I want with those partitions
>

Reply via email to