Ok, so before yelling, please hear me out.
With Plex or Emby you can designate a directory to use for transcoding. I have an idea of creating a separate zpool of 2 drives that are striped (so it's similar to RAID 0) then attaching that to the jails and using it exclusively as a transcoding directory. My idea with this is that it would only do about half of the writes on each disk as a single disk would normally absorb giving better longevity. Regardless of quality of drive consumer vs enterprise etc.
My thought and question is what happens when one of the drives in the stipe fails with ZFS. Obviously whatever was being transcoded at the time would fail. The movie or TV show would stop playing as it would try and read data that would no longer be retrievable. Assuming that happened, and the movie was told to stop or was jumped out of. When the movie was resumed or started a second time would ZFS be able to successfully use the stripe volume and only write/read the new transcode data to the single remaining drive as it is the only place to write or would it simply fail to work at all?
To help re-state my specific question, does anyone know if, when a stripe losses one of it's disks, if it can still be written to and used?
If there is a better way of doing something similar please let me know. I would like to avoid the following if possible,
1. RAM disk - I only have 64GB of memory so I don't want to burn any for this if at all possible, an ordinary SATA SSD is much faster than my transcoding needs require.
2. ZFS 'RAID 1/5/6' equivalents - I would like to avoid increasing my writes if at all possible like ZFS's mirror or RAIDZ's would (as its just temporary data anyway).
3. Going down - as stated above, the movie failing to play back due to the loss of a drive is acceptable, I would like for it to be able to recover if you were to try to play it again though.
With Plex or Emby you can designate a directory to use for transcoding. I have an idea of creating a separate zpool of 2 drives that are striped (so it's similar to RAID 0) then attaching that to the jails and using it exclusively as a transcoding directory. My idea with this is that it would only do about half of the writes on each disk as a single disk would normally absorb giving better longevity. Regardless of quality of drive consumer vs enterprise etc.
My thought and question is what happens when one of the drives in the stipe fails with ZFS. Obviously whatever was being transcoded at the time would fail. The movie or TV show would stop playing as it would try and read data that would no longer be retrievable. Assuming that happened, and the movie was told to stop or was jumped out of. When the movie was resumed or started a second time would ZFS be able to successfully use the stripe volume and only write/read the new transcode data to the single remaining drive as it is the only place to write or would it simply fail to work at all?
To help re-state my specific question, does anyone know if, when a stripe losses one of it's disks, if it can still be written to and used?
If there is a better way of doing something similar please let me know. I would like to avoid the following if possible,
1. RAM disk - I only have 64GB of memory so I don't want to burn any for this if at all possible, an ordinary SATA SSD is much faster than my transcoding needs require.
2. ZFS 'RAID 1/5/6' equivalents - I would like to avoid increasing my writes if at all possible like ZFS's mirror or RAIDZ's would (as its just temporary data anyway).
3. Going down - as stated above, the movie failing to play back due to the loss of a drive is acceptable, I would like for it to be able to recover if you were to try to play it again though.