Hi,
I just discovered that ZFS on Linux had support for allocation classes since version 0.8.0 .
Before knowing this, I already moved my NAS in order to upgrade the pool layout in order to get better performances (raidz2 -> striped mirrors).
I would like to install a mirrored special VDEV (2-way mirror).
Concerning this new ZFS special VDEV I would like to know some things:
a. How would you add this to the pool and force a "migration" / upgrade / "resync" of all metadata (as well as small files) so that they move from the slow HDDs to the new fast SSD ? If I have enough space I guess I could achieve this with
Is there a better way? And would this actually work (e.g. with existing snapshots)?
b. Would you reccomend setting a medium value for recordsize / special_small_blocks (around 1M) so that even small files (e.g. Word documents, Excel spreadsheets, ...) get stored on the fast SSD?
c. Which ashift setting should I use? ashift = 12 seems to lead to a lot of overhead, so some people suggest using ashift = 9, which however doesn't seem very stable nor reccomended because it's different that HDD/SSD "native" block size
Would a SLOG / ZIL dedicated device still be reccomended in such setup?
Thank you for your help!
I just discovered that ZFS on Linux had support for allocation classes since version 0.8.0 .
Before knowing this, I already moved my NAS in order to upgrade the pool layout in order to get better performances (raidz2 -> striped mirrors).
I would like to install a mirrored special VDEV (2-way mirror).
Concerning this new ZFS special VDEV I would like to know some things:
a. How would you add this to the pool and force a "migration" / upgrade / "resync" of all metadata (as well as small files) so that they move from the slow HDDs to the new fast SSD ? If I have enough space I guess I could achieve this with
Code:
zfs send poolname/mydataset poolname/mydataset_special
zfs rename poolname/mydataset_special poolname/mydataset
b. Would you reccomend setting a medium value for recordsize / special_small_blocks (around 1M) so that even small files (e.g. Word documents, Excel spreadsheets, ...) get stored on the fast SSD?
c. Which ashift setting should I use? ashift = 12 seems to lead to a lot of overhead, so some people suggest using ashift = 9, which however doesn't seem very stable nor reccomended because it's different that HDD/SSD "native" block size
Would a SLOG / ZIL dedicated device still be reccomended in such setup?
Thank you for your help!