How to have files on the cache/pool AND array?


Recommended Posts

does anyone know if there's a way to store files simultaneously on the cache drive and on the array?  i'm trying to be a little more green so i'm trying to see if there are ways to minimize disk spin up.

 

something along the lines of;

 

  1. file gets written to cache.
  2. mover copies to the array instead of moving it.
  3. after some time or free space threshold, files that were previously copied get deleted from the cache.

 

applications would still look under /mnt/user, so as far as they're concerned, there's only one copy of the file, but the array will not spin up.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.