Author: Matthew Language: text
Description: ZFS Timestamp: 2015-07-21 14:21:36 +0000
View raw paste Reply
  1. Hey guys,
  3. First let me say that I love the show and appreciate all the hard work
  4. you guys put in producing it! I learn something new every time I listen!
  6. I'm working on new FreeBSD ZFS storage box and I have a question
  7. regarding the use of a mirrored vs. non-mirrored SLOG (separate log /
  8. dedicated ZIL) devices.
  10. In the past, it was recommended to always mirror SLOG devices in case of
  11. a HW failure. Now there's conflicting information floating around that
  12. says it's no longer necessary. From what I understand, the purpose of a
  13. SLOG is to speed up SYNC writes to the pool by giving ZFS a fast
  14. (usually SSD), non-volatile, linear block of storage for the TXGs
  15. (transaction groups) before ACK'ing SYNC writes. I believe the TXGs are
  16. still held in RAM and when it comes time to flush the data to the pool,
  17. it's done from RAM - the SLOG is simply a "replay" backup in case of
  18. immediate power failure.
  20. If this is the case, would ZFS be able to sustain a SLOG HW failure
  21. since the TXGs are still in RAM? If so, would a pool allocated ZIL (the
  22. default when there's no SLOG) take over and be used for future SYNC
  23. writes until the SLOG was replaced?
  25. Obviously this would slow down any future SYNC writes until the SLOG was
  26. replaced, but I think that's acceptable as the primary concern here is
  27. "in-flight" data loss.
  29. Thanks in advance!
View raw paste Reply