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

Re: [dm-devel] help: device mapper table syntax for mirror option



On Thu, Jul 24, 2003 at 01:32:25PM +0530, kiran dalvi wrote:
> But i don't know
>    the syntax of mirror to put in device mapper table. 

[see comments in source code]

start size mirror log_type #log_params [log_params]* #mirrors [device offset]+

Only an in-core mirror log is available so far, so the mirror gets
rebuilt from the first listed device each time you activate it.
[OK for pvmove; but not good for permanent mirrors]

log_type: core
1 log_param: region_size

Example:
0 24576 mirror core 1 1024 2 /dev/loop6 49536 /dev/loop4 384

Alasdair
-- 
agk uk sistina com



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