ZFS Basics - Pools and VDEVs - Testing, Configuration, and Expansion

Поділитися
Вставка
  • Опубліковано 29 сер 2024

КОМЕНТАРІ • 62

  • @sm5172
    @sm5172 2 місяці тому +7

    Finally a clear and straight to the point explanation that is becoming rarer and rarer on YT these days, thank you.

    • @MikeFaucher
      @MikeFaucher  2 місяці тому +3

      Thank you for that feedback. It is appreciated.

  • @Filotto
    @Filotto Рік тому +23

    I am a beginner and I only found 30 minutes videos on zfs. I really liked how you explained the concepts thanks

    • @MikeFaucher
      @MikeFaucher  Рік тому +2

      Glad it was helpful and thanks for the feedback and for watching!

  • @decmade
    @decmade 3 місяці тому +3

    best explanation I have seen online

    • @MikeFaucher
      @MikeFaucher  3 місяці тому +1

      Wow, thank for the feedback. Appreciate it.

  • @jeffreyrh
    @jeffreyrh 3 місяці тому

    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 :)

    • @MikeFaucher
      @MikeFaucher  3 місяці тому

      Thanks for the feedback. To add to some of the confusion, everyone is implementing ZFS a bit differently.

  • @jayzn1931
    @jayzn1931 Рік тому +3

    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.

    • @MikeFaucher
      @MikeFaucher  Рік тому +1

      As long as you only lose one drive the raid will protect the entire pool. Thanks for the feedback.

    • @faisalnafees8413
      @faisalnafees8413 10 місяців тому

      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?

    • @MikeFaucher
      @MikeFaucher  10 місяців тому

      @@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.

  • @mahmoudelgendy5348
    @mahmoudelgendy5348 11 місяців тому +3

    Just helpful and straight to the point. Thnx Mike.

    • @MikeFaucher
      @MikeFaucher  11 місяців тому

      Thank you! Appreciate the feedback.

  • @kelvindiaz8409
    @kelvindiaz8409 Рік тому +3

    You explained this so well! Thanks!

    • @MikeFaucher
      @MikeFaucher  Рік тому

      Thank you for the feedback. It’s appreciated.

  • @aliaghil1
    @aliaghil1 Місяць тому

    What a great video! Thank you for sharing it with us.

    • @MikeFaucher
      @MikeFaucher  Місяць тому

      Glad you found it helpful and and thanks for the feedback.

  • @wyattarich
    @wyattarich 8 місяців тому

    Great video, hopefully you can cover mirrored array performance increases and caching next.

    • @MikeFaucher
      @MikeFaucher  8 місяців тому

      Thanks for the feedback and I will add it to my list.

  • @user-jw7zj5rn8z
    @user-jw7zj5rn8z Рік тому

    Thank You , this is a great intro to get started

    • @MikeFaucher
      @MikeFaucher  Рік тому

      Great to hear. Thank you for the feedback.

  • @Jazzynupe1911
    @Jazzynupe1911 Місяць тому

    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.

    • @MikeFaucher
      @MikeFaucher  Місяць тому

      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.

  • @zyghom
    @zyghom 11 місяців тому +1

    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 ;-)

    • @MikeFaucher
      @MikeFaucher  11 місяців тому +2

      Thanks for the feedback. I was more focused on pools and vdev. Never been a fan of the command line but good point.

  • @camixxx
    @camixxx 9 місяців тому +1

    Are you doing the reading and writing simultaneously? Wouldn't saturation be closer to 1250 MB/sec for a 10 Gbit connection?

    • @MikeFaucher
      @MikeFaucher  9 місяців тому

      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.

  • @alonzosmith6189
    @alonzosmith6189 Рік тому +1

    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

    • @MikeFaucher
      @MikeFaucher  Рік тому

      Sounds like a solid plan. Let me know how it works out.

  • @JohnUllrey
    @JohnUllrey Рік тому +2

    Thanks, this was supper helpful. I'm planning out my first TrueNAS build. (Like'd & Sub'd)

    • @MikeFaucher
      @MikeFaucher  Рік тому

      Glad it helped and thanks for the feedback. Good luck with your build.

  • @outcast6187
    @outcast6187 Рік тому +1

    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.

    • @MikeFaucher
      @MikeFaucher  Рік тому

      You have to move data off the single drive and create a 3x8 VDEV, then copy the data back on to it.

  • @Karimpje
    @Karimpje Рік тому +2

    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
      @MikeFaucher  Рік тому +1

      Thanks for the feedback. Personally I would buy two more as it will be more efficient.

    • @Karimpje
      @Karimpje Рік тому +1

      @@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)

  • @sandrovieirafotografo
    @sandrovieirafotografo 7 місяців тому

    Show, muito esclarecedor, Obrigado.

    • @MikeFaucher
      @MikeFaucher  7 місяців тому

      Gracias por los comentarios.

  • @hadeseye2297
    @hadeseye2297 5 місяців тому

    Thanks.

    • @MikeFaucher
      @MikeFaucher  5 місяців тому

      Thanks for the feedback!

  • @OT-tn7ci
    @OT-tn7ci Місяць тому

    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.

    • @MikeFaucher
      @MikeFaucher  Місяць тому +1

      @@OT-tn7ci that feature is coming soon.

  • @AinzOoalG0wn
    @AinzOoalG0wn 2 роки тому

    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).

    • @MikeFaucher
      @MikeFaucher  2 роки тому

      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.

  • @djmulder
    @djmulder 6 місяців тому

    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.

    • @MikeFaucher
      @MikeFaucher  6 місяців тому

      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.

    • @djmulder
      @djmulder 6 місяців тому

      @@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

  • @AndrewAllmer
    @AndrewAllmer 4 місяці тому

    Is it possible to go from RAID6 to RAID60 with zfs?
    I’m planning to start a pool with a 4 drive vdev in RAIDz2, then add another 4 drive vdev in RAIDz2 later to add capacity.
    Is that possible?

    • @MikeFaucher
      @MikeFaucher  4 місяці тому +1

      Yes if you are adding a whole vdev and not just adding drives. Currently, there is not way to migrate raid levels or expand a pool.

    • @AndrewAllmer
      @AndrewAllmer 4 місяці тому

      ​@@MikeFaucher Awesome thank you!

  • @user-iu9nx8ou6z
    @user-iu9nx8ou6z 8 місяців тому

    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...

    • @MikeFaucher
      @MikeFaucher  8 місяців тому

      Thanks for the input. Interesting use case.

  • @user-iu9nx8ou6z
    @user-iu9nx8ou6z 8 місяців тому

    There is a lot more to zfs than this one video... why don't you do more....

    • @MikeFaucher
      @MikeFaucher  8 місяців тому

      I agree there is much more. Any suggestions on what additional topics you would like to see.

  • @coletraintechgames2932
    @coletraintechgames2932 Рік тому

    Metadata and dedupe vdev

  • @callisoncaffrey
    @callisoncaffrey Рік тому +1

    I see Windows, I leave.

    • @MikeFaucher
      @MikeFaucher  Рік тому +1

      Thanks for your input.

    • @callisoncaffrey
      @callisoncaffrey Рік тому +1

      @@MikeFaucher That's funny. I do that too! Made me smile, gets a like.

  • @lyndajones1133
    @lyndajones1133 Рік тому

    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.

    • @MikeFaucher
      @MikeFaucher  Рік тому

      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