Page 1 of 1

[Solved] Zfs log devices : log vs log mirror ?

Posted: 05 Aug 2016 21:49
by ernie
Hello

I looked here : http://wiki.nas4free.org/doku.php?id=do ... ual_device

And it is explained that there is log or log (mirror) for zlog.

What is the difference ?

I suppose this:
- log : it allows to select a raid hardware (a raid 1 hardware)
- log mirror : we select several disks and nas4free manages the mirror.

Am I right ?

Thanks

Re: Zfs log devices : log vs log mirror ?

Posted: 06 Aug 2016 01:13
by substr
Using raid 1 hardware really shouldn't have anything to do with it.

A single log is good for most cases, but if the drive fails, then you could lose seconds of data in a crash.

The mirrored log is for anybody who absolutely doesn't want that to happen. It is also possible the mirrored log would keep the pool operating normally if a log drive fails, while a single log that fails might cause the pool to become very slow or even halt.