I am trying to determine an ideal setup for a new system, and am not certain how to handle the root-on-zfs issue. For reference, I will be installing the latest FreeBSD-10, and keeping the OS up to date (current-stable).
Detailed Question, skip to end for TLDR version.
So I want this machine to provide several services; most critically I want it to function as a NAS. If this was all, I would obviously go with FreeNAS, but I would also like to have internet-facing accessibility through functions like OwnCloud or OpenVPN. I would also like standard services like DNS server, LDAP, some form of ACL (TBD later after tinkering), Ventrilo, and the list goes on and on. The machine would be performing this functions as well as that of a NAS, which will likely connect to other machines via Samba, CIFS, NFS, and so forth.
In order to plan out this system correctly, I currently have more than the minimum equipment necessary (sufficient ECC RAM, etc.) to run a root-on-ZFS setup, but I only have two, 4TB drives that I wish to run in a zpool mirror. I've read multiple conflicting reports that you should install the OS to flash media so as to prevent slicing drives so ZFS can hog them, and others that suggest that it's fine to slice. I am also concerned about the long-term integrity of the pool as FreeBSD goes through upgrades to new versions; if there is a problem, I'd like to troubleshoot it on the OS side without risking all of my sensitive data.
I would like to run the FreeBSD OS on flash media, but I don't know if this would impair the functions or behavior of the OS for the number of actions I want it to perform. I would likely also be setting up an action to take ZFS snapshots and saving them to a network-available drive so as to mitigate risk of data loss. Would FreeBSD lose substantial performance running on flash media? When saving snapshots across the network, will running the OS on flash media bottleneck the service? Along that same vein, if I wanted to have snapshots of my FreeBSD OS, could I still take those and back them up on other network-available drives?
Another concern I have is multi-user streaming. If a media file (example.mkv) is being accessed by local area users, as well as users tunneled through the internet (VPN, SSH, etc.), will the OS be able to keep up with the file demands if installed on flash media? To be clear this is a demand of <25 users streaming at once or utilizing the NAS through VPN, no more than that.
One last concern I have with putting the OS on flash media is data encryption. If I decide to encrypt the data, will the OS be able to perform its functions utilizing resources about the same as being installed directly on the HDDs, or will it severely cripple performance?
TLDR Version: Should I install FreeBSD onto flash media (thumb drive, SD card, etc.) or slice and partition? Which is better for a multifunction SOHO level server performing multiple actions?
Detailed Question, skip to end for TLDR version.
So I want this machine to provide several services; most critically I want it to function as a NAS. If this was all, I would obviously go with FreeNAS, but I would also like to have internet-facing accessibility through functions like OwnCloud or OpenVPN. I would also like standard services like DNS server, LDAP, some form of ACL (TBD later after tinkering), Ventrilo, and the list goes on and on. The machine would be performing this functions as well as that of a NAS, which will likely connect to other machines via Samba, CIFS, NFS, and so forth.
In order to plan out this system correctly, I currently have more than the minimum equipment necessary (sufficient ECC RAM, etc.) to run a root-on-ZFS setup, but I only have two, 4TB drives that I wish to run in a zpool mirror. I've read multiple conflicting reports that you should install the OS to flash media so as to prevent slicing drives so ZFS can hog them, and others that suggest that it's fine to slice. I am also concerned about the long-term integrity of the pool as FreeBSD goes through upgrades to new versions; if there is a problem, I'd like to troubleshoot it on the OS side without risking all of my sensitive data.
I would like to run the FreeBSD OS on flash media, but I don't know if this would impair the functions or behavior of the OS for the number of actions I want it to perform. I would likely also be setting up an action to take ZFS snapshots and saving them to a network-available drive so as to mitigate risk of data loss. Would FreeBSD lose substantial performance running on flash media? When saving snapshots across the network, will running the OS on flash media bottleneck the service? Along that same vein, if I wanted to have snapshots of my FreeBSD OS, could I still take those and back them up on other network-available drives?
Another concern I have is multi-user streaming. If a media file (example.mkv) is being accessed by local area users, as well as users tunneled through the internet (VPN, SSH, etc.), will the OS be able to keep up with the file demands if installed on flash media? To be clear this is a demand of <25 users streaming at once or utilizing the NAS through VPN, no more than that.
One last concern I have with putting the OS on flash media is data encryption. If I decide to encrypt the data, will the OS be able to perform its functions utilizing resources about the same as being installed directly on the HDDs, or will it severely cripple performance?
TLDR Version: Should I install FreeBSD onto flash media (thumb drive, SD card, etc.) or slice and partition? Which is better for a multifunction SOHO level server performing multiple actions?