* dm target options
@ 2005-03-03 18:15 Andy
2005-03-03 19:14 ` Jonathan E Brassow
2005-03-03 20:22 ` Kevin Corry
0 siblings, 2 replies; 3+ messages in thread
From: Andy @ 2005-03-03 18:15 UTC (permalink / raw)
To: dm-devel
Is there any documentation that gives the format and options for the dm
targets table? I'm trying to setup a mirror target, but can't find a lot of
information about it, and what the options mean. Is dm-mirror good for
production use, or should I just use md for mirroring?
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dm target options
2005-03-03 18:15 dm target options Andy
@ 2005-03-03 19:14 ` Jonathan E Brassow
2005-03-03 20:22 ` Kevin Corry
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan E Brassow @ 2005-03-03 19:14 UTC (permalink / raw)
To: device-mapper development
I wouldn't use it until the user-land tools evolve
brassow
On Mar 3, 2005, at 12:15 PM, Andy wrote:
> Is there any documentation that gives the format and options for the dm
> targets table? I'm trying to setup a mirror target, but can't find a
> lot of
> information about it, and what the options mean. Is dm-mirror good for
> production use, or should I just use md for mirroring?
>
> Andy
>
>
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dm target options
2005-03-03 18:15 dm target options Andy
2005-03-03 19:14 ` Jonathan E Brassow
@ 2005-03-03 20:22 ` Kevin Corry
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Corry @ 2005-03-03 20:22 UTC (permalink / raw)
To: dm-devel
Hi Andy,
On Thu March 3 2005 12:15 pm, Andy wrote:
> Is there any documentation that gives the format and options for the dm
> targets table? I'm trying to setup a mirror target, but can't find a lot
> of information about it, and what the options mean. Is dm-mirror good for
> production use, or should I just use md for mirroring?
There probably isn't any formal documents for the dm-mirror target. Looking at
drivers/md/dm-raid1.c::mirror_ctr() in the kernel tree, the current table
format is:
<start_lba> <size_in_sectors> mirror <log_type> <#_log_params> <log_params> \
<#_mirrors> [<mirror_path> <starting_lba>]{2,}
where <log_type> is "core" or "disk".
<#_log_params> is 0 for the "core" log, and thus there is no <log_params>
entry.
<#_log_params> is 2 or 3, and the <log_params> is:
<log_device_path> <region_size> [<sync|nosync>]?
However, dm-mirror is primary used for pe-move in LVM2 and EVMS right now.
There's still some improvements that will need to be made before it can be a
full replacement for MD RAID-1. So if you're looking for something to use
immediately, I'd stick with the MD driver for RAID functionality.
--
Kevin Corry
kevcorry@us.ibm.com
http://www.ibm.com/linux/ltc/
http://evms.sourceforge.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-03 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-03 18:15 dm target options Andy
2005-03-03 19:14 ` Jonathan E Brassow
2005-03-03 20:22 ` Kevin Corry
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.