Re: Setup a Raid while OS is running

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

 



On Thu, 4 Aug 2005, Stefan Majer wrote:

> Hi,
>
> i have a server running on only one scsi disk. I got now one scsi disk
> extra and i want to transform the actual installation to use both disks in
> a raid1.
> Therefore i want to mirror each partition with md.
> The Question now is how to do that, if possible, without destroing the
> installed OS.
>
> I thought it should be possible to do it in the following way:
>
> 1. create the same partitions on the secondary drive

sfdisk -d /dev/sda > /tmp/sda.part
sfdisk /dev/sdb < /tmp/sda.part


> 2. create a mirror for each partition with the actual installed partition
> marked as "missing"

At this point, go & read the Software RAID-HowTo, and look for the
Root-RAID section.

Gordon
-
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