How does expansion with ZFS work?
14 minutes ago, Zmimgo said:I have heard of ZFS supporting expansion,
I mean it does, but not in the way that you're describing it.
15 minutes ago, Zmimgo said:How does expansion with ZFS work? How long time does it take?
You expand in vDevs, adding them at a time. You want the vDevs to be as similar to each other as possible, so same drives, same capacity, same number of drives, and same layout. So if you have two drives mirrored, you need to add drives to the system in mirrored pairs, preferably with the same capacity. Adding vDevs to a zpool takes next to no time, a couple minutes at the longest, and is very safe to do.
What you were thinking about was expanding a vDev, a feature ZFS doesn't currently support. It is rumored to be on the roadmap, but it's not currently there, and since ZFS is mainly developed for enterprise customers who wouldn't even consider doing that, I wouldn't expect it to be available for quite a while. This method does have inherent risks, since the drives are going to be reading and writing 24/7 for a few days, maybe even a few weeks depending on the drive capacity. Also, last I checked the rumors said that they aren't gonna allow for a vDev to change type, so if you have mirrored drives, you can't go to RAID-Z2 by adding in 2 more drives.
26 minutes ago, Zmimgo said:And another question, what OS do I want to use?
The three biggest ones are TrueNAS Core, UnRAID, and ProxMox. TrueNAS Core is free and has the best web interface, but VMs for it kinda suck and don't really support any sort of hardware passthrough. UnRAID costs money, but it has basically the best interface when dealing with VMs, though it doesn't natively use ZFS and using it requires setting it up through the command line. ProxMox is somewhere in the middle. It supports ZFS out of the box, and has nearly as good VM support as UnRAID does. NAS functionality is a bit more complicated, since you have to setup SAMBA yourself with the command line, or deal with a Turnkey Linux container which would require you to dedicate a certain amount of storage to NAS functionality at the start. This can be expanded in the future when you add more storage, but it's a bit of a pain. If you're fine with waiting a bit, TrueNAS Scale is looking like it will be the best one out of the box, since it will have great VM support (the same backend the UnRAID and ProxMox uses) with the rest of their awesome web GUI. It's currently in beta so I wouldn't recommend using it for your main system, but if you're not planning on getting this server up and running for ~6 months it will be a great option once it comes out of Beta. Also, if you don't need the VMs right away, you could use TrueNAS Core and then easily port all your settings over and migrate the OS once TrueNAS Scale comes out of Beta.
37 minutes ago, Zmimgo said:I want great support for software I can use to access the NAS outside of my home network
Nextcloud. It's basically Google Drive (including a lot of the extra bits like a Calendar) for free, and it works pretty easily on every one of the previously mentioned operating systems.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now