NetBSD-Users archive

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

Re: ccd vs LVM



On Sun, 7 Apr 2019, Michael van Elst wrote:

kab00m%lich.phys.spbu.ru@localhost (Dima Veselov) writes:

If anyone knows - what is the best practice in
performance and fault-tolerance - ccd or LVM?

Neither is fault-tolerant, CCD only supports striping
and we have only implemented striping for LVM.

You can concatentate with ccd, you don't have to stripe (a.k.a. interleave):

A ccd may be either serially concatenated or interleaved. To serially
     concatenate the partitions, specify the interleave factor of 0.

If you concatenate, you may be luckier if a component fails (but as Michael says, there's no fault-tolerance) as at least you will get large chunks of intact filesystem rather than shredded data throughout.

Performance should be similar with CCD having slightly
less CPU overhead.

LVM provides much more flexibility as you can carve
multiple logical volumes out of your disk system.
A ccd configuration is pretty static.

--
Stephen



Home | Main Index | Thread Index | Old Index