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

Re: mdadm usage



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 to: