Rule based data tiering

Background: A special vdev is a ZFS hybrid pool tiering method where data  land on the faster vdev based on data structures (small io, metadata, dedup data). Additionally you can force a whole filesystem to the special vdev if its  recsize setting is below a given threshold ex 128k. Traditional data tiering allows to define which data in a hybrid pool land on the slower or faster area based on rules. I was wondering if such can be implemented.

1. all new files land on the special vdev (larger SSD/ NVMe mirror vdev in a disk based pool) due a recsize setting ex 128k with a threshold of 128k 2. on a low idle time ex weekend night all (nonopen) files on a special vdev are moved (by a copy action from a snap) to the normal disk based pool vdevs after increasing the recsize above the threshold ex 1M with a ruleset like creation older x days, size > y MB, filename has to /not include a regex etc.  After the move recsize is set back to the lower level to force new files to the special vdev again.

An option are rules for the opposite direction. Main intention is to keep small or hot data on the special vdev and the rest on the slower vdevs.

Question: Is there a method to get a list which files are on a special vdev?
Additional items to consider?

Gea


------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/Ta9815f4d6c901308-M387286ac67f9181a0778c540
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to