FreeNAS Spare Parts Build: Testing ZFS With Imbalanced VDEVs and Mismatched Drives

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2024
  • Amazon Affiliate Store
    ➡️ www.amazon.com/shop/lawrences...
    Gear we used on Kit (affiliate Links)
    ➡️ kit.co/lawrencesystems
    Try ITProTV free of charge and get 30% off!
    ➡️ go.itpro.tv/lts
    Use OfferCode LTSERVICES to get 5% off your order at
    ➡️ lawrence.video/techsupplydirect
    Tesla Referral Program Offer
    🚘 www.tesla.com/referral/thomas...
    Lawrence Systems Shirts and Swag
    👕 teespring.com/stores/lawrence...
    Digital Ocean Offer Code
    ➡️ m.do.co/c/85de8d181725
    HostiFi UniFi Cloud Hosting Service
    ➡️ hostifi.net/?via=lawrencesystems
    Protect you privacy with a VPN from Private Internet Access
    ➡️ www.privateinternetaccess.com...
    Google Fi Service Referral Code
    📱g.co/fi/r/TA02XR
    More Of Our Affiliates that help us out and can get you discounts!
    ➡️ www.lawrencesystems.com/partn...
    Twitter
    🐦 / tomlawrencetech
    Patreon
    🔗 / lawrencesystems
    Our Forums
    🔗 forums.lawrencesystems.com/
    GitHub
    🔗 github.com/lawrencesystems/
    Discord
    🔗 / discord
    Our Web Site
    🔗 www.lawrencesystems.com/
    Forum discussion regarding FreeNAS ZFS Pools RAIDZ RAIDZ2 RAIDZ3 Capacity, Integrity, and Performance
    forums.lawrencesystems.com/t/...
    Article on imbalanced VDEVs
    jrs-s.net/2018/04/11/how-data...
    Nic Card used was Mellanox 10Gb SFP+
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 88

  • @TmanaokLine
    @TmanaokLine 3 ปีที่แล้ว +8

    So glad that you run Linux Lawrence! So refreshing to view a competent IT administrator on TH-cam.

  • @TrueNAS
    @TrueNAS 4 ปีที่แล้ว +11

    ZFS ftw!

  • @MainelyElectrons
    @MainelyElectrons 4 ปีที่แล้ว

    Cool, I’ll have to watch this later but it’s very much right up my alley. Thanks for the informative video

  • @DrivingwithGIR
    @DrivingwithGIR 2 ปีที่แล้ว +3

    great vid, I've been in the process of upgrading from a openmediavault setup and looking into truenas for my next upgrade. Nice to see what kind of performance you get from just regular spinning drives.

  • @davidg4512
    @davidg4512 4 ปีที่แล้ว +42

    Who else loves ZFS?

    • @jerryfaircloth
      @jerryfaircloth 4 ปีที่แล้ว

      I do!

    • @Felix-ve9hs
      @Felix-ve9hs 4 ปีที่แล้ว

      I don't think the word "love" can express how much I like ZFS

    • @xxcr4ckzzxx840
      @xxcr4ckzzxx840 4 ปีที่แล้ว

      Would love to see, that they bring in the Feature to expand single Vdevs, or/and make Vdevs with Missmatched drivesizes like in BTRFS. For Homestorage it would be the nonplus ultra.

    • @luciomagini1389
      @luciomagini1389 4 ปีที่แล้ว

      Me

    • @nadtz
      @nadtz 3 ปีที่แล้ว

      Have since freebsd 4? I think it was... Anyway.

  • @bikerchrisukk
    @bikerchrisukk 4 ปีที่แล้ว +3

    Really interesting, nice one. I'm testing using a very old Athlon dual cpu, 8gb of ram and 4 320gb hdd. Z2 and 100mb speeds no problem - held back by 1gb card I guess. Pulled a drive and put another in, no probs.
    Thanks for introducing me to FreeNAS, I have a lot of learning but impressed so far 👍

  • @lucasgautier8373
    @lucasgautier8373 4 ปีที่แล้ว

    This is the same configuration as my backup FreeNAS system! Using 32GB memory, though. The 4770K is a great CPU to repurpose, haven’t seen any bottlenecks. This system was my primary desktop before upgrading to Ryzen 3900X. ZFS is amazing

  • @PeteKowalsky
    @PeteKowalsky 2 ปีที่แล้ว

    LOL dude - FrankenNAS? FreeNAStyassNAS? Always good fun Tom! :)

  • @Kara_Kay_Eschel
    @Kara_Kay_Eschel 2 ปีที่แล้ว

    For my truenas system I used a ROG motherboard as well. it is of an older vintage, Maximums II formula. The max ram is can support is 8 gigs, and I am running that.

  • @scout-ww4ck
    @scout-ww4ck 4 ปีที่แล้ว +4

    In fact (though I think you know), you can set up 1 pool with 2 vdev with different resilvering protocol and different size via command line “-f”. I did that with 1T*2+500G*1 using partition, 1 mirror(500G*2) + 1 RAIDZ(500G*3)= total 1.5T of usable space, which can suffer 1disk parity.

    • @scout-ww4ck
      @scout-ww4ck 4 ปีที่แล้ว

      And nice video btw, I’ve learned a lot from you!!!! Thank u very much!!

  • @NicolaiSyvertsen
    @NicolaiSyvertsen 4 ปีที่แล้ว +2

    People need to ask themselves if they really need to have it all in a single pool. I run multiple pools where I have different sets of drives. Each pool has sufficient disk space. If it is just for backup or media then running multiple pools is no problem. Set up alerting when a pool gets near full so you can step in and redirect things to another pool. I know having a massive pool with many vdevs is convenient and cool but it has many downsides also. I cannot afford to buy enough drives to have high performance pools anyways so I just keep a couple big SSDs in my server for things that need speed.

  • @juanpablo-vn1xo
    @juanpablo-vn1xo 4 ปีที่แล้ว

    great stuff....might have a go at rebuilding my freenas now with some mixed drives....is raid z2 better than z for data protection on my work docs server which i use everyday for work....is it likely i need two drive redundancy or not?....server is only doing light work....thanks

  • @mdd1963
    @mdd1963 4 ปีที่แล้ว +1

    So now I must devote several seconds to crushing the 'must have lots of RAM' paradigms I have mentally committed to??! :) (Great demo, Sir, and a fantastic demo of FreeNAS capabilities!)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว

      Yeah, the 1GB RAM per 1TB of storage myth runs strong.

    • @nonameentered1918
      @nonameentered1918 3 ปีที่แล้ว

      More ram is always more better. However you can also just add more later. RAM upgrades are the easiest!

  • @nicholasfranks2616
    @nicholasfranks2616 4 ปีที่แล้ว

    Thank you for this. one thing that i becoming more common with people like me running Freenas at home for a while.. running out of space... what is the solution. ? i know there is more then one way to Rome but was curious on how you would approach this from a home guy.. add vdev vs add new pool

  • @glmchn
    @glmchn 9 หลายเดือนก่อน

    11:47 "if the little SanDisk USB [...] were to ever fail" 😏😏 naaaaah, not any chance of that happenin', right ? LOL

  • @kenmorris2858
    @kenmorris2858 2 ปีที่แล้ว

    Great tutorial. However I was wondering how you could add these separate RaidZ of 4x1TB and RaidZ of 4 x500GB to Pool in a Ubuntu system using the CLI as there is no GUI like FreeNas has. Cheers & many thanks.

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 4 ปีที่แล้ว +1

    Thanks and Awesome video.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว

      They do include quite a few for a gaming motherboard!

  • @spexpl
    @spexpl 4 ปีที่แล้ว

    Do other sharing technologies (under the window) have better performance than SMB?

  • @ierosgr
    @ierosgr 3 ปีที่แล้ว

    What is the command to show up first how many ada (what is ada... reminds me of the old PATA drives ...shouldnt be there sda instead) drives you have in order then to check the specs of them?
    In your second example where you set up raid z2 which option did you enable in order for ram t obe used instead ... is that natively enabled when you choose raidz2? Because I didnt notice doing anything to enable it?
    Thank you

  • @Mickkazzie
    @Mickkazzie 4 ปีที่แล้ว +1

    So can I add a single drive in a vdev to increase the size of a data pool?

  • @blender_wiki
    @blender_wiki 4 ปีที่แล้ว

    nice video like always but check out your audio is almost only on the left channel, is really disturbing lessening on headphone

  • @jms019
    @jms019 4 ปีที่แล้ว

    It would be interesting to know how much performance loss is down to encryption and whether using self-encrypting features is better since it offloads that job to the drives themselves

    • @SatishAlwani
      @SatishAlwani 4 ปีที่แล้ว

      Don't use self encrypting. Use geli instead, the performance impact is tiny at best

  • @netoeli
    @netoeli 4 ปีที่แล้ว

    great video tom , question is freenas running bare metal or on xcp-ng? was a bit confused with the freenas installation trough xen orchestra.. thanks!

    • @mdd1963
      @mdd1963 4 ปีที่แล้ว

      he demo'd an install with XCP-NG, the system he was actually using was bare metal....(i think)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว +1

      Bare metal. I used XCP-ng just to show what the installer looks like

  • @SirHackaL0t.
    @SirHackaL0t. 4 ปีที่แล้ว

    Interesting that the stats shows that the smaller drives seemed to be getting about the same amount of data written as the larger drives.

  • @danroberts7975
    @danroberts7975 4 ปีที่แล้ว

    Doesn't FreeNAS use free memory for ARC writes not ZFS cache?

  • @spexpl
    @spexpl 4 ปีที่แล้ว

    Can I combine pool/vdevs from different FreeNAS machines into one large pool?

    • @SatishAlwani
      @SatishAlwani 4 ปีที่แล้ว

      Move your dataset from the source to destination via zfs send and receive

  • @mattviverette
    @mattviverette 4 ปีที่แล้ว

    What window manager are you using?

  • @lanceeilers5061
    @lanceeilers5061 4 ปีที่แล้ว

    Hi Tom , which hdd controller card are you using , best regards Lance

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว +1

      Just the built in / on board controller.

    • @lanceeilers5061
      @lanceeilers5061 4 ปีที่แล้ว

      cool thanks a bunch and keep smiling :-)

  • @RidinWithMyLocsOn
    @RidinWithMyLocsOn 4 ปีที่แล้ว

    Stupid question: Even through the transfer speed is only around 300 MB/s, why is so much RAM being used? And what would the transfer speeds look like if the system only had 4GB of RAM?

  • @user-xd3gk2tw3n
    @user-xd3gk2tw3n 4 ปีที่แล้ว +6

    If I had your spare parts I'd throw mine away 😂 am running a Dell optiplex 780 why because it was free...

    • @Felix-ve9hs
      @Felix-ve9hs 4 ปีที่แล้ว

      on a Core 2 Duo? Man that sucks

    • @iambenqazy
      @iambenqazy 4 ปีที่แล้ว

      Felix He says, “check my TH-cam name for a reply” 😂

  • @linearburn8838
    @linearburn8838 4 ปีที่แล้ว

    I use ZFS on unraid

  • @scentilatingone2148
    @scentilatingone2148 2 หลายเดือนก่อน

    Is Windows 11 pro doing a similar move

  • @fubareleet
    @fubareleet 4 ปีที่แล้ว

    is there any way to run freenas and pfsense on the same linux box. or is it not a good idea

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว +1

      Not a good idea

    • @fubareleet
      @fubareleet 4 ปีที่แล้ว

      @@LAWRENCESYSTEMS ok, ty. so 2 separate systems. no problem

  • @freefalling2earth
    @freefalling2earth 4 ปีที่แล้ว

    Each VDEV has to match in regards to its RAID type, is that gospel? Can I get away with 2 vdevs using mirror and one using raid 5 /Z1?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว

      Not sure I would try it unless you want the ZFS gods to smite your data.

    • @freefalling2earth
      @freefalling2earth 4 ปีที่แล้ว

      Lawrence Systems / PC Pickup I’m looking for the same situation here. As a backup for a backup. My reddit post they told me to check this video out, so thank you for the great video. As a newbie, in my head I kind of think it would be stable enough to not have 2VDEVs go down at the same time. Trying to avoid paying out for unRAID and put parts to use. www.reddit.com/r/freenas/comments/gb8xqb/can_freenas_add_mixed_size_drives_for_a_single/?

    • @kingneutron1
      @kingneutron1 4 ปีที่แล้ว

      If you have a setup with mirrors, put it in one zpool. If you have another set of disks with raidz1, put it in another zpool by itself. DO NOT attempt to mix vdev types in the same pool - this is not a SAN or "flexible RAID" and there are obvious Best Practices.

  • @artlessknave
    @artlessknave 4 ปีที่แล้ว +1

    many are they who ask the question of if it *can* be done and ignore whether it *should* be done.

    • @freefalling2earth
      @freefalling2earth 4 ปีที่แล้ว

      artlessknave if it’s a backup of a backup why not? Isn’t it good to have an extra backup and not leave unused parts going to waste? Or is this a situation to buy an unRAID license?

  • @johnsmith9205
    @johnsmith9205 2 ปีที่แล้ว

    I've used SSDs slower than that. 300 MB/s is pretty respectable.

  • @neccros007
    @neccros007 4 ปีที่แล้ว

    What about non-ECC???

    • @blkspade23
      @blkspade23 4 ปีที่แล้ว +2

      Well he built it on an Intel 4770K which doesn't support ECC.

    • @mdd1963
      @mdd1963 4 ปีที่แล้ว +3

      if you have critical data, one uses a proper set of server hardware...; with user-grade stuff, you risk a 1 in 10,000 chance of some corruption, but, really no more so than with any system losing data as a result of using non-ECC....

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว +6

      Non ECC is fine.

    • @neccros007
      @neccros007 4 ปีที่แล้ว

      @@mdd1963 I thought about playing around with FreeNAS at home...so nothing mission critical... I have a Supermicro mini tower server with 4 3.5" bays I was thinking about running a NAS VM then using those bays as the drives.

    • @leexgx
      @leexgx 4 ปีที่แล้ว

      Non ecc work fine
      I reused my old i7-920 system and replaced it with xeon 6 core and 3x4gb ECC sticks and a 8 port (it mode) raid card spent like £80 for everything (well each 8tb disks cost more then the system it self)

  • @Marszczak
    @Marszczak 2 ปีที่แล้ว

    Using web browser to copy files is misleading in terms od performance. Mount shares via nfs and use rsync with parallel threads.

  • @CortVermin
    @CortVermin 2 ปีที่แล้ว

    oh man these are super high value content videos, but im disappointed. why? because i only started watching them by now... :D

  • @pepeshopping
    @pepeshopping 4 ปีที่แล้ว

    The motherboard does NOT ‘see’ partition changes like that.
    It simply sees HD PRESENCE, example the boot drive is drive 0 but there is no drive 0 now, so go to the next drive in the boot list.
    Now, the UEFI bios, do look for an UEFI boot signature on the drives, so if the boot drive is gone, or if another drive is made bootable (UEFI signature/code), some motherboards would try to boot from that drive afterwards.
    I wonder where that silly myth came from about mixing drives, memory etc. for FreeNAS.
    Probably somebody without understanding of programming or io coding.

  • @lessevilgoog
    @lessevilgoog 4 ปีที่แล้ว

    So... so long as every disk is a vdev, I can add *actual* mismatched drives in a pool? I mean, most home users are never going to have 5 of one size drive and 5 of another. They'll be more like me: 1x 2tb, 1x 3tb, 2x 4tb and wanting to add a 6 or 8tb

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 ปีที่แล้ว

      That design would lack any fault tolerance

    • @lessevilgoog
      @lessevilgoog 4 ปีที่แล้ว

      @@LAWRENCESYSTEMS True, but that's what external backups are for (at least for my situation). So, still do-able?

    • @leexgx
      @leexgx 4 ปีที่แล้ว

      If any one was setting this up they wouldn't likely be using different size disks

  • @CortVermin
    @CortVermin 2 ปีที่แล้ว

    what i find super confusing is that people told me "no, thats not possible with zfs. you need each drive to be the same size"
    i should stop listening to random people on the internet after 25 years for good now...

  • @bjre.wa.8681
    @bjre.wa.8681 2 ปีที่แล้ว

    acronym meltdown---"What's a VDEV?"

  • @jakeosborne2413
    @jakeosborne2413 4 ปีที่แล้ว

    first

  • @TrillasAdventures
    @TrillasAdventures 4 ปีที่แล้ว

    this is my biggest dislike of freenas.. to expensive to upgrade depending onhow your drives are configured and a bunch of 2 drive pools is wasteful. I currently have 1 six disk zpool