Re: Linux software raid troubles

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

 



On 04/12/2017 10:36 AM, linuxknight wrote:
> Thank you Reindl, Using your method would I be able to apply this IMG
> file to a fresh raid1 mirror and still have it be bootable?
> 
> The reason I ask is I was looking at this guide,
> https://www.data-medics.com/forum/how-to-clone-a-hard-drive-with-bad-sectors-using-ddrescue-t133.html
> It has a method to transfer drive to drive.  I was thinking I would
> create the fresh RAID mirror on the dedicated LSI card, then ddrescue
> possibly bad drive to the new raid mirror.  Is this a bad idea?

Take the dd advise, but... you initially indicated:

<quote>
I was moving a server with a raid1 configuration,
controlled by a Intel Corporation 82801 SATA RAID Controller
</quote>

Now you are saying

<quote>
> It has a method to transfer drive to drive.  I was thinking I would
> create the fresh RAID mirror on the dedicated LSI card
</quote>

Note: the Intel and LSI cards may not have compatible RAID metadata. (That is
one of the major benefits of using linux-raid (software RAID) you are not
constrained by differing hardware RAID specifications.)

You also mention "to a fresh raid1 mirror and still have it be bootable?" If
you image the drive with dd, the mbr or bootloader will still be present on in
the image and on the drive, so as long as you can tell the OS to boot from
that drive you should be fine (as long as the controller can access the
information)

A good general howto on setting up linux-raid is
https://wiki.archlinux.org/index.php/RAID

-- 
David C. Rankin, J.D.,P.E.
--
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