14.01.2018 22:55, Sergey Matveev пишет: > *** artiom [2018-01-14 17:14]: >> Т.е., в случае sync=disabled, ZIL запишется сразу (на SSD), но на диск >> данные не будут сброшены? > > sync=disabled даже на ZIL не запишет, насколько знаю. С sync=standard > (по-умолчанию) всё как вы сказали: на ZIL точно запишет, на диск позже. > Кстати, был вопрос "чем отличается брэндовый L2ARC от обычной SSD?". Вот это наталкивает на мысли (пусть оно и для ZIL): "After a crash, ZFS will attempt to replay the ZIL contents. SSDs themselves have a volatile write cache, so they may lose data during a bad shutdown. To ensure the ZFS write cache replay has all of your inflight writes, the SSD devices used for dedicated ZIL devices should have power protection. HGST makes a number of devices that are specifically targeted as dedicated ZFS ZIL devices."
Отсюда: http://www.freenas.org/blog/a-complete-guide-to-freenas-hardware-design-part-iii-pools-performance-and-cache/ Оттуда же (насчёт производительности): "A key thing to know here is a ZFS vdev gives the IOPs performance of one device in the vdev. That means that if you create a RAIDZ2 of ten drives, it will have the capacity of 8 drives but it will have the IOPs performance of a single drive." >> Вопрос по загрузке возникает. В Linux эта проблема решается через >> вынесение ядра и initrd с cryptsetup на отдельный раздел. Здесь тоже самое? > > Про GNU/Linux, к сожалению, ничего не смогу сказать. В FreeBSD такое > точно без проблем работает -- у меня схожая схема используется. > Каким образом (FreeBSD давно был)? Нужен отдельный незашифрованный раздел?

