Re: cmp of inactive mirrored LV fails

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

 



Centuries ago, Nostradamus foresaw that on Dec 2, starlight@binnacle.cx...:

After a little digging discovered and ran 'debugfs'
and used the 'testb' command to determine that the
mirror mismatch blocks are "not in use".

So that's good.

However I am rather disturbed that LVM
mirroring appears to have bugs that allow
images to become out-of-sync.

This is not necessarily a bug.  Both MD and LVM support
DISCARD, and discarded blocks are not necessarily synced
between mirror legs.  The same thing happens with MD,
and the MD "cmp" operation reports the number of blocks
out of sync, but not which blocks!  (So LVM is actually
an improvement on that score.)  Swap volumes make
heavy use of DISCARD and are especially likely to
have blocks out of sync.

Have read that MD is the only way to go
with any kind of RAID and now I see that
is true.  If anyone can explain what
happened here in any positive light I'd
be interested in hearing about it.  For
now I see LVM mirroring as a turkey that
should be avoided.

Yes, I still consider LVM mirroring as
experimental (but not a "turkey").  I
especially don't like the way the mirror
log works.  I was spoiled by AIX LVM mirroring.

--
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

_______________________________________________
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