Mirror: write operations and consistency checking

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

 



Greeting LVM developers and users,

I've been using the LVM mirror on several LVs and for some time now,
using a core log. I'm tired of the resource intensive initialization on
each boot, and I'm considering using a flash device as the third disk
for the mirror's log.

My question is thus: are there some write operations happening onto the
log while there is no activity on the mirror's files? Is there some kind
of periodic background thread checking for the consistency of the mirror
and writing the status to the log, or is it safe to use a flash disk for
low activity mirrors?

>From what I understood, a bit is used on the log for each region
(512k-default) on the mirror. Does It means that if a 100M file is
written on the mirror, the log will be written 200 times on the same
block? Or is there a queue that holds log write operations and syncs
them to the log disk periodically to prevent that? That would be nice,
and even nicer if it was adjustable.

Thanks,

Vincent

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux