I really liked how you structured the content! Giving some heads up on what to expect was helpful for me to stay engaged. The disclaimer about your experience was also a nice touch, which just gives even more credibility to your content.
Thanks for the detailed beginners tutorial. You answered all the questions I had in my mind without actually addressing them directly as a question but explain how ZFS works. Extremely useful for someone who's building their first NAS in order to move almost 200TB out of cloud storage. Please keep the good content coming
Comprehensive and perfectly detailed. The stuff you discussed was so well explained it help me to make inferences about other ZFS features - namely RAID configs. Caching, drive performance, and zfs use cases for future topics.
I finally understood expansion in TrueNas now! You cannot extend a vdev (yet) but you can extend a pool by adding vdevs, but if a single vdev fails, the whole pool dies.
@@faisalnafees8413 Yes, like any raid config, assuming you have one drive of redundancy, you have to make sure you don't lose more than one drive. You need to make sure you have a backup. I just lost a raid array a couple of weeks ago so I share your concern. Fortunately it was a backup unit.
You are always learning. I just learned that on UNRAID zfs, the shares are actually datasets. So if you have 2 shares on the same disk, and try to move large folders from one share to the other, expecting them to move instantly since they are on the same disk, you would be wrong. It has to do a full copy and delete because each dataset is it's own file system. I figured this out after numerous tries :)
Side note, there is a new feature coming soon that will allow you to add a single drive to a VDev as well. Not sure if it is released yet but it was discussed in another video.
Hello, great video. I researching building a TrueNAS server for home with 8 drives. I was thinking creating 1 pool and 1 vdev then creating datasets for my family members and Plex
Hey thanks for your explanation. I have a Truenas running with a Zpool with one VDEV of 4 disks of each 4TB. I have 10TB usable storage space, because I use RAIDZ1. The Zpool is 96% full. Now I have two 4TB spare disks and I want to expand my Zpool with these disks. Should I add a new VDEV with only the two disks in a mirrored mode or should I buy myself a new 4TB disk and create a new VDEV with three 4TB disks?
@@MikeFaucher Thanks, I'm just not sure if my NAS has much more room. I know that the two spare disks will fit, as I bought two hot swappable drive bays, I could add one more I think but another I don't know. It is not that I don't want to, it's more the limitations of the hardware I am using as a NAS (Dell Precision T7500 with 96 GB RAM and 2 Xeon X5670 CPU's)
Hey thanks man, so it looks like, unless I can add more drives to vdevs later on, especially parity drives. It will be kinda hard to upgrade storage in this config.. Because of the stripping behavior. I want to first start out all my vdevs without any parity drive as I upgrade slowly. And then add in the parity drives later on, since I don't want to create new vdevs, creating new vdevs sound like a bad idea, because of the stripping behavior.
actually you did not say much about zfs config - rather about truenas when you said at the beginning: "I wanted to learn ZFS" I thought you would show the commands (zfs, zpool etc) to do it from the terminal ;-)
Knowing I have six drives available, would I rather have a single VDEV in Z2, or two VDEV in Z1? I'm using spinning rust from ebay, and the resilver process would freak me out. This is a great video though, I'm just hung up on this decision.
So I have always recommended Z1 with a back up for home use for reasons of storage efficiency. I have a video on the resilvering process (th-cam.com/video/kQhNoxQ9228/w-d-xo.html) and it is very easy. I currently have 6 NAS units, one TrueNAS, and one UNRAID and all use a Raid 5 0r Z1 configuration. I keep a spare drive around and immediately replace it. Every unit I have has has a bad drive replaced at one point. Just to be on the safe side, I also have two backups. If you don't mind losing the storage, and want to be double sure, go with Z2 but you still need a backup. For me I am sticking with Z1 (RAID 5). Hope that helps.
How about for starters ... 4 1tb drives... create the different combo's with data and parity...and explain the what's and why's .... I am using ubuntu ... then create a zfs system pool for samba so all pc with linux and windows can use samba for backup/storage et al... hows that for a start...
Thanks for the explanation... tho I'm still not too happy with how it all works (not you but zfs in general) I come from a drobo, which ofc has it's own issues and isn't perfect. The thing I loved is that you could just plop out a disk, put in a new/bigger one and it will happily rattle along and you have more space. This is completely what I'm missing with ZFS.. I have to have equal drive sizes, need to have a fixed vdev.. or chose to lose usable space.. etc etc.. I could live with multiple vdevs if I could just expand my vdev that has bigger disks and eventually remove my vdev which has smaller (so shrink until 0).. but yeh that's not possible. So I'm thinking: I could make vdevs of 3 disks, then when I upgrade I only need to get 3 disks... which works.. but then I have the issue that I lose 1 parity disk per vdev (so a lot of usable space loss) and yeh still need to upgrade 3 disks at a time. And on top of that I don't really have full redundancy.. as yeh if 2 disks die in 1 vdev I lose my entire pool.. even if I have say 4 vdevs, so 4 parity disks, yet still effectively 1-4 disk loss.
I feel you pain. You could run UNRAID in its more Drobo like operation if you want to use random disks and don't mind loosing a bit performance. I use both and only use ZFS TrueNAS which has only purpose and my all flash QNAP NAS which uses ZFS but allows me to add a drive to the pool which is feautre I really like. For media and backup, UNRAID is not a fast but very scalable with different size drives.
@@MikeFaucher yeah I have unraid now, but I just don't like the performance. I've been investigating zfs because of that but I just can't make the step because of the issues
oo i see uve hopped on the truenas bandwagon. yes it has zfs so thats a good place to try that out :} when ur going from qnap to truenas, u'll notice the UI setup process has some steps to do. Part of the setup, you will need another account other than the default root. Root only lets u access the UI, but it won't let u access the share (as intended for security). So u have to create an account for that, and bind it to the share u create. u also have to go to services and enable smb. Test on your desktop whether you can access the share on smb to confirm it works. There are probly other steps, but these are the main ones to do. Are u using truenas scale or core? Not sure whats the latest news, but last time scale (linux) was still considered beta. core is stable (bsd).
Thanks for your input. I have been using it for a bit and have a couple of SMB set up. Currently due to the speed I am using it for a video server where I edit my videos. Thanks for the input as always.
I have yet to see anything that high but you are right in theory. In these test, limitations were from the SSD drives and controllers as they are SATA. It would take a pretty large pool or nVME to max out the 10G connection. That said, without playing with jumbo frames and relieving all the other bottlenecks. 900-1000 is a bit more real world on a 10G network, at least from what I have seen. Good observation and thanks for the feedback.
6:24 what did you do to get to there? like so a file on my desktop. share it to nas pool....watch its speed. gotit. but howto. there inlines why im here actually. jah know what im sayin.
Thanks for the question, but I am not sure I completely understand. The section you are referring to only shows the capacity and then a regular file copy test (read and write) of a single VDEV. Can you clarify? Thanks
I really liked how you structured the content!
Giving some heads up on what to expect was helpful for me to stay engaged.
The disclaimer about your experience was also a nice touch, which just gives even more credibility to your content.
Wow, thank you for donation and for the feedback. It is much appreciated.
Finally a clear and straight to the point explanation that is becoming rarer and rarer on YT these days, thank you.
Thank you for that feedback. It is appreciated.
I am a beginner and I only found 30 minutes videos on zfs. I really liked how you explained the concepts thanks
Glad it was helpful and thanks for the feedback and for watching!
Thanks for the detailed beginners tutorial. You answered all the questions I had in my mind without actually addressing them directly as a question but explain how ZFS works. Extremely useful for someone who's building their first NAS in order to move almost 200TB out of cloud storage. Please keep the good content coming
Thank you for the great feedback. Appreciate it.
Comprehensive and perfectly detailed. The stuff you discussed was so well explained it help me to make inferences about other ZFS features - namely RAID configs. Caching, drive performance, and zfs use cases for future topics.
Thank you for the feedback, I appreciated it. I will add these suggestions to my growing list.
best explanation I have seen online
Wow, thank for the feedback. Appreciate it.
Just helpful and straight to the point. Thnx Mike.
Thank you! Appreciate the feedback.
I finally understood expansion in TrueNas now!
You cannot extend a vdev (yet) but you can extend a pool by adding vdevs, but if a single vdev fails, the whole pool dies.
As long as you only lose one drive the raid will protect the entire pool. Thanks for the feedback.
You got me worried now. So if I got 2 vdevs in a pool and 1st one dies as a whole. I'll lose the data in 2nd vdev also?
@@faisalnafees8413 Yes, like any raid config, assuming you have one drive of redundancy, you have to make sure you don't lose more than one drive. You need to make sure you have a backup. I just lost a raid array a couple of weeks ago so I share your concern. Fortunately it was a backup unit.
You explained this so well! Thanks!
Thank you for the feedback. It’s appreciated.
You are always learning. I just learned that on UNRAID zfs, the shares are actually datasets. So if you have 2 shares on the same disk, and try to move large folders from one share to the other, expecting them to move instantly since they are on the same disk, you would be wrong. It has to do a full copy and delete because each dataset is it's own file system. I figured this out after numerous tries :)
Thanks for the feedback. To add to some of the confusion, everyone is implementing ZFS a bit differently.
The best explanation ever.
Thank you for the feedback!
What a great video! Thank you for sharing it with us.
Glad you found it helpful and and thanks for the feedback.
Thank You , this is a great intro to get started
Great to hear. Thank you for the feedback.
Great video, hopefully you can cover mirrored array performance increases and caching next.
Thanks for the feedback and I will add it to my list.
Side note, there is a new feature coming soon that will allow you to add a single drive to a VDev as well. Not sure if it is released yet but it was discussed in another video.
Yes, I heard about this. QNAP's ZFS based Hero has been doing this since the last release. I look forward to the TrueNAS Release.
What I want is to know how to expand my currently used single 8TB drive on TrueNAS to a 3x 8TB drive setup with a RAIDZ1 configuration.
You have to move data off the single drive and create a 3x8 VDEV, then copy the data back on to it.
Hello, great video. I researching building a TrueNAS server for home with 8 drives. I was thinking creating 1 pool and 1 vdev then creating datasets for my family members and Plex
Sounds like a solid plan. Let me know how it works out.
Hey thanks for your explanation. I have a Truenas running with a Zpool with one VDEV of 4 disks of each 4TB. I have 10TB usable storage space, because I use RAIDZ1. The Zpool is 96% full. Now I have two 4TB spare disks and I want to expand my Zpool with these disks. Should I add a new VDEV with only the two disks in a mirrored mode or should I buy myself a new 4TB disk and create a new VDEV with three 4TB disks?
Thanks for the feedback. Personally I would buy two more as it will be more efficient.
@@MikeFaucher Thanks, I'm just not sure if my NAS has much more room. I know that the two spare disks will fit, as I bought two hot swappable drive bays, I could add one more I think but another I don't know. It is not that I don't want to, it's more the limitations of the hardware I am using as a NAS (Dell Precision T7500 with 96 GB RAM and 2 Xeon X5670 CPU's)
Hey thanks man, so it looks like, unless I can add more drives to vdevs later on, especially parity drives. It will be kinda hard to upgrade storage in this config.. Because of the stripping behavior. I want to first start out all my vdevs without any parity drive as I upgrade slowly. And then add in the parity drives later on, since I don't want to create new vdevs, creating new vdevs sound like a bad idea, because of the stripping behavior.
@@OT-tn7ci that feature is coming soon.
actually you did not say much about zfs config - rather about truenas
when you said at the beginning: "I wanted to learn ZFS" I thought you would show the commands (zfs, zpool etc) to do it from the terminal ;-)
Thanks for the feedback. I was more focused on pools and vdev. Never been a fan of the command line but good point.
Thanks, this was supper helpful. I'm planning out my first TrueNAS build. (Like'd & Sub'd)
Glad it helped and thanks for the feedback. Good luck with your build.
Knowing I have six drives available, would I rather have a single VDEV in Z2, or two VDEV in Z1? I'm using spinning rust from ebay, and the resilver process would freak me out. This is a great video though, I'm just hung up on this decision.
So I have always recommended Z1 with a back up for home use for reasons of storage efficiency. I have a video on the resilvering process (th-cam.com/video/kQhNoxQ9228/w-d-xo.html) and it is very easy. I currently have 6 NAS units, one TrueNAS, and one UNRAID and all use a Raid 5 0r Z1 configuration. I keep a spare drive around and immediately replace it. Every unit I have has has a bad drive replaced at one point. Just to be on the safe side, I also have two backups. If you don't mind losing the storage, and want to be double sure, go with Z2 but you still need a backup. For me I am sticking with Z1 (RAID 5). Hope that helps.
Show, muito esclarecedor, Obrigado.
Gracias por los comentarios.
what if i lost my parity drive in raidz1?
You can lose "any" single regardless of the drive with no problem. Great question.
How about for starters ... 4 1tb drives... create the different combo's with data and parity...and explain the what's and why's .... I am using ubuntu ... then create a zfs system pool for samba so all pc with linux and windows can use samba for backup/storage et al...
hows that for a start...
Thanks for the input. Interesting use case.
Thanks for the explanation... tho I'm still not too happy with how it all works (not you but zfs in general)
I come from a drobo, which ofc has it's own issues and isn't perfect. The thing I loved is that you could just plop out a disk, put in a new/bigger one and it will happily rattle along and you have more space.
This is completely what I'm missing with ZFS.. I have to have equal drive sizes, need to have a fixed vdev.. or chose to lose usable space.. etc etc..
I could live with multiple vdevs if I could just expand my vdev that has bigger disks and eventually remove my vdev which has smaller (so shrink until 0).. but yeh that's not possible.
So I'm thinking: I could make vdevs of 3 disks, then when I upgrade I only need to get 3 disks... which works.. but then I have the issue that I lose 1 parity disk per vdev (so a lot of usable space loss) and yeh still need to upgrade 3 disks at a time.
And on top of that I don't really have full redundancy.. as yeh if 2 disks die in 1 vdev I lose my entire pool.. even if I have say 4 vdevs, so 4 parity disks, yet still effectively 1-4 disk loss.
I feel you pain. You could run UNRAID in its more Drobo like operation if you want to use random disks and don't mind loosing a bit performance. I use both and only use ZFS TrueNAS which has only purpose and my all flash QNAP NAS which uses ZFS but allows me to add a drive to the pool which is feautre I really like. For media and backup, UNRAID is not a fast but very scalable with different size drives.
@@MikeFaucher yeah I have unraid now, but I just don't like the performance. I've been investigating zfs because of that but I just can't make the step because of the issues
Thank you.
You are welcome.
oo i see uve hopped on the truenas bandwagon. yes it has zfs so thats a good place to try that out :}
when ur going from qnap to truenas, u'll notice the UI setup process has some steps to do.
Part of the setup, you will need another account other than the default root. Root only lets u access the UI, but it won't let u access the share (as intended for security). So u have to create an account for that, and bind it to the share u create.
u also have to go to services and enable smb. Test on your desktop whether you can access the share on smb to confirm it works.
There are probly other steps, but these are the main ones to do.
Are u using truenas scale or core? Not sure whats the latest news, but last time scale (linux) was still considered beta. core is stable (bsd).
Thanks for your input. I have been using it for a bit and have a couple of SMB set up. Currently due to the speed I am using it for a video server where I edit my videos. Thanks for the input as always.
Thanks.
Thanks for the feedback!
Metadata and dedupe vdev
Thanks.
There is a lot more to zfs than this one video... why don't you do more....
I agree there is much more. Any suggestions on what additional topics you would like to see.
I see Windows, I leave.
Thanks for your input.
@@MikeFaucher That's funny. I do that too! Made me smile, gets a like.
Are you doing the reading and writing simultaneously? Wouldn't saturation be closer to 1250 MB/sec for a 10 Gbit connection?
I have yet to see anything that high but you are right in theory. In these test, limitations were from the SSD drives and controllers as they are SATA. It would take a pretty large pool or nVME to max out the 10G connection. That said, without playing with jumbo frames and relieving all the other bottlenecks. 900-1000 is a bit more real world on a 10G network, at least from what I have seen. Good observation and thanks for the feedback.
6:24 what did you do to get to there? like so a file on my desktop. share it to nas pool....watch its speed. gotit. but howto. there inlines why im here actually. jah know what im sayin.
Thanks for the question, but I am not sure I completely understand. The section you are referring to only shows the capacity and then a regular file copy test (read and write) of a single VDEV. Can you clarify? Thanks
Thank you.
You're welcome!