[dm-devel] Dm-setup Raid1 Mirror

Heinz Mauelshagen mauelshagen at redhat.com
Tue Oct 26 09:30:58 UTC 2004


On Tue, Oct 26, 2004 at 11:11:29AM +0200, Michael Thonke wrote:
> Hello,
> a while ago I asked how to setup a mirror target with device mapper. It is
> missing some documentation how to do it in a proper way? Any docs or How
> to's for this?

Source ;)

Read about table spec in mirror_ctr() in drivers/md/dm-raid1.c.

Eg.:

0 160086522 mirror core 2 64 nosync 2 /dev/sdc 0 /dev/sdd 0

would set up a set with 2 mirrors using a core (transient) dirty-log
if you feed it into "dmsetup create".

> 
> Thanks for help
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

-- 

Regards,
Heinz    -- The LVM Guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the dm-devel mailing list