[dm-devel] Re: dm-log.c

Heinz Mauelshagen mauelshagen at redhat.com
Wed Oct 27 10:28:19 UTC 2004


On Tue, Oct 26, 2004 at 02:52:21PM -0500, pagcal at runbox.com wrote:
> Thanks for the help so far.
> 
> The second command you sent fails. To setup a raid1 I did

Hrm, braino typing off the top of my head ;)

> 
> 0 160000 mirror disk 3 /dev/hdb1 2048 sync 2 /dev/hdb2 0 /dev/hdb3 0
> 
> What's the meaning of the 2048? Your example had 64. Is that the number of sectors per bit in the bitmap? If not, what?

That's the region size in sectors. State (dirty/clean and sync/nosync) is kept
on a per region base.

> 
> Is there any way I can tell how the 'sync' daemon is progressing?

dmtable status YourMappedDevice

Look at the regions_done/regions_total at the end of the output line.

> 
> It seemed to startup these kernel threads.
> 
>   [kmirrord/0]
>   [kcopyd]

Yes.

> 
> I could mkfs and mount the file system.

Ok.

> 
> Cal Page
> 
> 
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

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

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