LIGISTX
Guru
- Joined
- Apr 12, 2015
- Messages
- 525
I am starting to hone my skills and knowledge of freenas and how things work. Something I didn't initially consider at all was VM usage. My question here is less about performance than about my spinning rust pools longevity specifically from unnecessary wear.
I am running a windows VM to do some things I couldn't get to work the way I wanted in jails, specifically syncthing, but I have a few other things in mind I may want to include. Suffice it to say, I do plan on playing with VM's even if rudimentary for the lifetime of the server, with these VM's running 24/7/365.
This means there has to be continuous IO to the drives even if no users and the ZFS system isn't actively doing anything simply because there is a windows VM running on the pool. Sure, drives are made to be used, I know of plenty and have had plenty of drives in windows machines work for 5+ years while running 24/7, but wear is wear and wear is undesirable. Would it make sense to throw an SSD into the system specifically for my VM's to live on? I am less concerned about raw performance as I honestly don't do anything heavy enough on them to warrant the speed advantages, I am purely looking at reducing wear and potentially electricity as the spinning rust usage should in theory be reduced.
I do have a 128 SSD laying around, I actually have 2 identical 840 Evo 128's, one is currently in a windows system... If it is inadvisable to use a single SSD, I potentially could clone the windows SSD to a new SSD (they are so cheap these days, I wouldn't mind doing this) and set up the SSD's in a mirror, although I would backup the dataset on the SSD to the pool itself (can you use ZFS replication within the same insatce of freenas? I believe the SSD would be in its own pool? Or, would it be its own vdev? Now I am unsure of the correct terminology here it seems, I know vdevs make up pools, and drives make up vdevs, but I am not sure what this setup would look like) and would use replication to back it up to an offsite backup server I am setting up as we speak. Also, the VM's are not mission critical, if it goes down and my VM's are offlined for a few days, its really not a huge problem at least at this stage of my FreeNAS adventure. IF that changes, I can always clone the data, kill the SSD vdev (or pool..?) and set up a mirrored array.
Any advice would be great!
I am running a windows VM to do some things I couldn't get to work the way I wanted in jails, specifically syncthing, but I have a few other things in mind I may want to include. Suffice it to say, I do plan on playing with VM's even if rudimentary for the lifetime of the server, with these VM's running 24/7/365.
This means there has to be continuous IO to the drives even if no users and the ZFS system isn't actively doing anything simply because there is a windows VM running on the pool. Sure, drives are made to be used, I know of plenty and have had plenty of drives in windows machines work for 5+ years while running 24/7, but wear is wear and wear is undesirable. Would it make sense to throw an SSD into the system specifically for my VM's to live on? I am less concerned about raw performance as I honestly don't do anything heavy enough on them to warrant the speed advantages, I am purely looking at reducing wear and potentially electricity as the spinning rust usage should in theory be reduced.
I do have a 128 SSD laying around, I actually have 2 identical 840 Evo 128's, one is currently in a windows system... If it is inadvisable to use a single SSD, I potentially could clone the windows SSD to a new SSD (they are so cheap these days, I wouldn't mind doing this) and set up the SSD's in a mirror, although I would backup the dataset on the SSD to the pool itself (can you use ZFS replication within the same insatce of freenas? I believe the SSD would be in its own pool? Or, would it be its own vdev? Now I am unsure of the correct terminology here it seems, I know vdevs make up pools, and drives make up vdevs, but I am not sure what this setup would look like) and would use replication to back it up to an offsite backup server I am setting up as we speak. Also, the VM's are not mission critical, if it goes down and my VM's are offlined for a few days, its really not a huge problem at least at this stage of my FreeNAS adventure. IF that changes, I can always clone the data, kill the SSD vdev (or pool..?) and set up a mirrored array.
Any advice would be great!