What Is ZFS?: A Brief Primer

  Рет қаралды 206,819

Level1Linux

Level1Linux

Күн бұрын

Пікірлер
@MartinPowderly
@MartinPowderly 2 жыл бұрын
I'm an engineer with almost 30 years experience in the storage industry at a low level (the bottom 3 or four turtles in the stack you alluded to) with other Sun Microsystems engineers who worked on most things you're talking about, including the full fat ZFS. I properly enjoyed your video and really like the fact that you mentioned that computers barely work. Storage reliability is one of the most complex computing problems out there in a world obsessed with the higher parts of the IT stack assuming everything Just Works (tm). Latency, throughput and reliability quite often can be mutually exclusive practices. When you test for any issues and see some race conditions in the lab every 6 months... you can bet your customer base (depending on its size) will see that kind of issue in 6 days. Storage is Hard, like... properly hard. :) Thanks for your video. It brought me back to why I do this.
@shahabsamkan4027
@shahabsamkan4027 Жыл бұрын
wow a whole paragraph explaining what your qualifications are ... cool
@gc1087
@gc1087 Жыл бұрын
​@shahabsamkan4027 who cares, it's just background on his experience before giving a opinion. 🤦🏽‍♂️
@JimBob1937
@JimBob1937 9 ай бұрын
@@shahabsamkan4027 , qualifications are important. It's usually indicative (but not always) of the depth in which they're viewing the problem. Less experienced people tend to gloss over important details, or even be unaware of them. So, qualification listing is a way to convey that depth without going into an entire thesis regarding those details.
@goofballbiscuits3647
@goofballbiscuits3647 9 ай бұрын
​@@shahabsamkan4027 wow, you're insecure about others' success 🎉
@bassbatterer
@bassbatterer 4 жыл бұрын
It's pronounced ZFS not ZFS.
@sinizzl
@sinizzl 4 жыл бұрын
>Americans can't even pronounce ZFS as ZFS
@plapbandit
@plapbandit 4 жыл бұрын
What on earth are you talking about, CLEARLY its ZFS. I mean come on, ZFS just sounds... silly
@techzone2009
@techzone2009 4 жыл бұрын
It's aladeen not aladeen 🙏
@tin2001
@tin2001 4 жыл бұрын
I read every one of those as "zed eff ess".
@clansome
@clansome 4 жыл бұрын
@@tin2001 Me too
@DrathVader
@DrathVader 4 жыл бұрын
I love how a 30+ minute video is a brief primer on this channel. No, I'm not being sarcastic, I actually love that.
@NWinnVR
@NWinnVR 4 жыл бұрын
Right!? Some of us have a longer attention-span than a goldfish...
@Lead_Foot
@Lead_Foot 4 жыл бұрын
ZFS is not very beginner friendly.
@BjarkeBruun
@BjarkeBruun 4 жыл бұрын
@@Lead_Foot you are not suppoed to change it out with XFS or ext4 afterwards, it is a learning process that you'll stick with for the rest of your life, so you have time to learn :-)
@axnyslie
@axnyslie 3 жыл бұрын
There's another channel that has an introduction to ZFS video that's 90 minutes long. Just the introduction.
@thingsiplay
@thingsiplay 2 жыл бұрын
Others do a 12 minutes video and title it "everything you want to know about zfs".
@KushalPandya
@KushalPandya 4 жыл бұрын
Oracle acquiring Sun is classic example of some evil corp buying a really good company and destroy it.
@hassanzahin7852
@hassanzahin7852 4 жыл бұрын
Actually Sun Microsystems intentionally chose a license that isn't GPL compatible so that Linux can't add zfs drivers in it's kernel.
@ThePhoneix999
@ThePhoneix999 4 жыл бұрын
@@hassanzahin7852 isnt the legal opinion on this divided? Strictly talking about openzfs.
@Kusriyason
@Kusriyason 4 жыл бұрын
@@hassanzahin7852 That was not why CDDL was made and this has been hashed many times by the people that created ZFS and got Sun to try to open source their stuff. The suits didn't like the fact that the GPL didn't preserve certain rights to the business, and the Apache License while good wasn't quite enough to make the suits feel better so they made the CDDL which was the GPL and MIT licenses mashed together with all the bits that made the suits feel nervous stripped. They also say hind sight being 2020 they regret not fighting harder sooner to get it licensed into an existing opensource license. The FUD that they made the CDDL as some sort of genius mastermind plot because they hated the GPL is just that, FUD
@Kusriyason
@Kusriyason 4 жыл бұрын
@Richard Clutterbuck Yeah that's right on that. Ubuntu is basically saying by precedent currently a user can choose to do whatever they want, so "ZFS is no different than loading the NVidia drivers, fite me" in effect. Nobody really wants to take up that fight because if they win they basically kick Linux hardware support in the shin, if they lose they weaken the GPL.
@axelfoley133
@axelfoley133 4 жыл бұрын
Oracle watched 300 and thought that classic line was brilliant. Oracle: "Our errors... will blot out the Sun!"
@Gilgwathir
@Gilgwathir 4 жыл бұрын
Wendell:"Brief primer" Me: "Really? Brief?" Wendell: "30 minutes" Me: "Oh, ok! That's very brief for ZFS!"
@martinquintana2458
@martinquintana2458 3 жыл бұрын
I was thinking the same thing. 30 min video 😅
@WebMedics
@WebMedics 4 жыл бұрын
I’m so glad people like you are working so hard to educate us; I owe you. If you are ever in London, my house is your house.
@TheDemocrab
@TheDemocrab 4 жыл бұрын
Excellent, this comes up literally the same day I buy three 6TB drives for my first ZFS setup. :D
@erisdiscordia5547
@erisdiscordia5547 4 жыл бұрын
Hope you didn't buy any of the SMR drives :D
@blackmennewstyle
@blackmennewstyle 4 жыл бұрын
@@erisdiscordia5547 Yep it's basically what happened to me, they were all these fake WD Red 6Go NAS HDDs, i bought them before the issue was exposed...
@longnamedude3947
@longnamedude3947 4 жыл бұрын
I would check that they aren't on this list, if they are, return them now and get a product not on this list. The list: www.ixsystems.com/community/resources/list-of-known-smr-drives.141/
@praecorloth
@praecorloth 4 жыл бұрын
Hopefully I'm not too late. Save yourself a lot of time and headache. Get another 6TB drive, and set up a pool of mirrors. RAID5/RAIDZ is dead.
@mdd1963
@mdd1963 4 жыл бұрын
better hope none of them are SMR drives!
@EposVox
@EposVox 4 жыл бұрын
Time to take notes!
@thomasesr
@thomasesr 4 жыл бұрын
I love ZFS, it is the best FS I've used, at work and at home. I really like the snapshot functionality
@KenS1267
@KenS1267 4 жыл бұрын
I use ZFS everyday, we use it on most of our storage devices, and I'm still learning new stuff about it on a regular basis. Sun really did some great work.
@yanniskouretas8688
@yanniskouretas8688 4 жыл бұрын
2:50 oh the days we've had SUN-BLADE workstations with Solaris OS , SPARC processors and the rest .... such nice systems to work on ... some still survive till today (almost 20 years later)... only a few of us original IT guys know how to use and administer them so their days are numbered (in preeeeeeetty small number).
@trumanhw
@trumanhw 4 жыл бұрын
I was selling Sun Ultras (off lease) from Ford ... to the tune of 300 x Month
@erisdiscordia5547
@erisdiscordia5547 4 жыл бұрын
I'd love a video on ZFS tuning. So far, all articles etc. on this topic have been a complete mystery to me, the documentation is just not very helpful to me in this regard. It only talks about hundreds of tunables without any comprehensive explanation (that a person without a deep understanding of the source code could understand) what they mean.
@xxcr4ckzzxx840
@xxcr4ckzzxx840 4 жыл бұрын
+1
@bobhope1160
@bobhope1160 4 жыл бұрын
Yeah same
@jokinboken
@jokinboken 4 жыл бұрын
The books Wendell recommended at the end are very good. Try them.
@andarvidavohits4962
@andarvidavohits4962 4 жыл бұрын
Create a pool and a dataset. Run 'zpool get all | less', run 'zfs get all | less'. Read through all the flags and properties, Google them and learn about them in the manuals 'man zfs', 'man zpool'. Read openzfs.org/wiki/Performance_tuning and start tweaking the settings with 'zpool set' and 'zfs set'. Once you're comfortable tweaking through the ZFS commands, you can start tweaking your OS' kernel parameters and the ZFS services, if need be.
@autohmae
@autohmae 4 жыл бұрын
go to ZFS subreddit, it's pretty good
@NickNorton
@NickNorton 4 жыл бұрын
As a viewer from the overseas. I appreciate your Aloominum vs. Al-u-min-i-um - I mean Zed vs. Zee distinction.
@pappyman179
@pappyman179 4 жыл бұрын
As an American, I do to. Not sure why, but I do.
@jamesrockford5145
@jamesrockford5145 4 жыл бұрын
American men dont wear bonnets. I would never drive a car with a wind screen, I prefer a wind shield
@tenminutetokyo2643
@tenminutetokyo2643 4 жыл бұрын
Nick Norton Everyone in US says Aluminum. Even our Aloominum foil in grocery stores has it printed on the box.
@Alphahydro
@Alphahydro 4 жыл бұрын
Good stuff Wendell. For months I poured over reviews of raid cards to run a raid 5 array. Then I was introduced to FreeNAS and ZFS, and when I found out all was needed was a decent hba, I was sold. ZFS is crucial for data protection.
@mrlithium69
@mrlithium69 4 жыл бұрын
This is the best reason. Redundancy brought to the masses with inexpensive HBA cards, and all you really need is a bunch of RAM to run it, which we have. ECC is not even required, its just important to have. Also, its open source and we can tell what its doing. Using something like FreeNAS will teach you ZFS and BSD at the same time, if you decide to use the command line, and take control of your own data destiny.
@touristguy87
@touristguy87 2 жыл бұрын
...yep, can't have data-protection without zfs!
@Alphahydro
@Alphahydro 2 жыл бұрын
@@touristguy87 I can't see it any other way
@NWinnVR
@NWinnVR 4 жыл бұрын
Thank you for this. Having someone like you explain it is so much more digestible than reading a ton of technical documents.. Would love to see a video like this for *XFS* ! But if you don't want to that's totally understandable.
@sandro-here
@sandro-here Жыл бұрын
This is probably the best ZFS explanation I've ever encountered in my life.
@emileturcotte8304
@emileturcotte8304 4 жыл бұрын
I enjoy these types of videos way more than tech news on the other channel, I would really like if the focus would shift towards teaching material such as this!
@AndreasRavnestad
@AndreasRavnestad 4 жыл бұрын
I started using ZFS a few days ago, and I was really blown away at how incredibly simple it was. I wanted to configure four identical disks in RAID 10, and this was the only command I had to use: $ sudo zpool create NAME mirror VDEV1 VDEV2 mirror VDEV3 VDEV4 And that was it. No need for formatting or lenghty initialization processes. It just worked right away, and performance is excellent. I'm sure ZFS can get really complicated for more intricate setups with caching and tiering and tuning, but for my simple use case it was refreshing to see how easy it was.
@linkdude64
@linkdude64 4 жыл бұрын
Wow - thanks for the shot at 13:00 of your old offices. It made me realize how long I've actually been watching your videos! Boy, how time flies...thanks, Wendell!
@wildmanjeff42
@wildmanjeff42 Жыл бұрын
2 years later--ZFS is still rock solid and I have to say the only time I have lost data, is when I tried to use the command line to move data instead of TrueNas native data transfer. Probably error on my part. I understand more now about ZFS, and love freeBSD which natively supports it and so I have not done anything with BTRFS. Great Informative video !
@brianmccullough4578
@brianmccullough4578 4 жыл бұрын
I put butter on everything, just not my file system. BTRfs is catchy, like you can't say "I can't belive its not ZFS" it doesn't roll off the tounge
@mdd1963
@mdd1963 4 жыл бұрын
Once Redhat abandoned BTRFS as an option, it was doomed...
@anb1142
@anb1142 3 жыл бұрын
TLDR: Basic Raid: If a file corrupts, even when there is a non corrupted file on a another drive, you can't get it (unless you send the drives to recovery) ZFS: automatically gets the non corrupted file from the mirror device Also ZFS hasn't caught upto NVME yet (@24:22), to be fair RAID is an array of *"Inexpensive"* drives
@bertnijhof5413
@bertnijhof5413 4 жыл бұрын
I live in a country with 2 to 14 power-fails/week and I had a lot of garbled music files, so I'm very happy with ZFS and its Copy On Write. I even have my dataset with music stored with copies=2, basically introducing a mirror for that dataset in an otherwise striped datapool.
@bertnijhof5413
@bertnijhof5413 Жыл бұрын
@amitranaware9356 That is why I have a 1200W Avtek Surge Protector. But in general power supplies and motherboards die more often, because of power fails.
@TheKev507
@TheKev507 4 жыл бұрын
Would love to hear a comparison between ZFS, WAFL, and Nimble CASL
@PartySlothy
@PartySlothy 4 жыл бұрын
Great high-level overview video Wendell! I wonder if you do a next installment could you fit unRAID (XFS/BTRFS) in there with a similar approach? Like basic overview, differences, applications?
@bdhaliwal24
@bdhaliwal24 Жыл бұрын
Thanks for this great fireside chat Wendel, you are the best
@rogernevez5187
@rogernevez5187 4 жыл бұрын
17:55 *Hard drive can be a silent carrier: ASYMPTOMATIC !!!!* LOLOLOLOLOLOLOLOLO +1
@temp50
@temp50 Жыл бұрын
22:30 You can always se the "copies" property to e.g. 2. By doing so you're telling the filesystem that it should store every file within the given dataset 2 times, on 2 different physical location on the disk. So if one of them is on a location with full of bad sectors, the fs will still be able to retrieve the file from the other location.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
12:29 It’s a *proprietary* computer on a card. And an inflexible one at that. Which is why I try to avoid hardware RAID.
@mrlithium69
@mrlithium69 4 жыл бұрын
This may be the only logical thing you've said. This argues for using ZFS instead of hardware RAID. Since ZFS is open source now.
@happilicious
@happilicious 4 жыл бұрын
Thank you Wendell, this is one of the best introduction to ZFS, it's clear and concise, it's easy to understand from a beginner's perspective. Would love to see more of this type of video!
4 жыл бұрын
While other people go for 19:9 video aspect for phone users, you are going the other direction (1.66:1). Just shows how special this channel is :)
@jairunet
@jairunet Жыл бұрын
I wonder where can I find the document 9:18 you showed about the ZFS details from jrssystemnet, I looked for it and could not find it 🤔
@LethalBB
@LethalBB 4 жыл бұрын
"Brief" 31:49 Wendell!
@bgable7707
@bgable7707 3 жыл бұрын
OMG, PBS couldn't have done a better job at explaining this. I was with DEC back when ... This was the type of information that was available daily. It's great to see it again. Hit SUBSCRIBE, "YES"
@housr
@housr 4 жыл бұрын
Thank you, chill background music.I enjoyed this.
@supernenechi
@supernenechi 4 жыл бұрын
you said asymptomatic in such a way I just knew this was uploaded this year
@wbwarren57
@wbwarren57 4 жыл бұрын
Taciturn is the perfect word to describe the speaker in this video! We are all wondering, when will he come out of his shell and speak more at length?
@kernelpickle
@kernelpickle 3 жыл бұрын
Obviously ZFS is more mature than BTRFS, because you can’t tell me that whoever came up with the name wasn’t thinking “butterface” as in a lady with a nice body, but an ugly face-which isn’t exactly the worst description of BTRFS as a file system…
@watchinstuff5726
@watchinstuff5726 3 жыл бұрын
Thanks!
@Redmage913
@Redmage913 7 ай бұрын
Love ZFS as a gamer. I took my gaming laptop with two ~500GB SATA SSDs, created a mirrored bpool, and then created a striped rpool. Of course, I recommend no one run this way, but it’s fast. Also, with built in compression, potential exemption of datasets from snapshots, and dataset level case sensitivity, I can create separate sets for flatpak, Steam, and Lutris that are fully under my control with increased operability of case-insensitive programs :) No idea how to use it on a server level, but as an insane home user, I love it.
@jeremymcguire7069
@jeremymcguire7069 Жыл бұрын
I used to go to a swap meet in CA with my dad on weekends where he would buy things like 8" floppy drives and huge 68000 cpu-based servers that were basically rescued from a landfill. Two or three weekends later he would triumphantly show me a working command line on an amber monochrome monitor. I miss my dad.
@utvikler-no
@utvikler-no 2 жыл бұрын
Im amazed on how simple you manage to explain this complex topic. Thanks for all the effort you put in to your videos! Btw: I think its pronounced ZFS ..
@dineauxjones
@dineauxjones 4 жыл бұрын
In a round about way ZFS was a pioneer in software defined storage where managing storage at a low level went from hardware to software. You now see the same principles applied in many other applications and technologies like HCI for instance.
@robertpearson8546
@robertpearson8546 Жыл бұрын
Checksums give you 1 bit of information - whether or not there is an error somewhere. Error-correcting codes tell you where the error is. With binary data, when you know where the error is, you can invert it - therefore removing the error.
@gorgonbert
@gorgonbert 4 жыл бұрын
Fun fact: Sun Microsystems basically reimplemented NetApp‘s WAFL
@wildmanjeff42
@wildmanjeff42 4 жыл бұрын
love ZFS in FreeNas/FreeBSD. when BTRFS gets more reliable I will learn and use it. Thanks for the video W. :)
@mkcraghead
@mkcraghead 11 ай бұрын
Awesome video and explanation of ZFS. Now I have the bug to want to learn more. Thanks so much. 👍
@dtesta
@dtesta 4 жыл бұрын
You have a good voice for explaining. Kudos.
@TheEbbemonster
@TheEbbemonster 9 ай бұрын
Excellent high level video. Just migrated from a Synology to my home build Ubuntu, and needed to understand what the ZFS hype was all about.
@Kulfaangaren
@Kulfaangaren 4 жыл бұрын
Regarding scrub speed - 24 drive storage: CentOS 7, OpenZFS 0.8.4-1.el7, 1 pool, 1 drive pool global spare, 2 vdevs raidz2 (11 and 12 diskas), 90TiB of data ~= 2 days for a scrub (while other machines are writing about 50MiB/s data to it over the network)
@kuhluhOG
@kuhluhOG 4 жыл бұрын
What I am interested about is actually the development of bcachefs. It's built on top of bcache but (oversimplified) want to be a ZFS with the performance of an ext4. It's pretty young (with few developer(s)) and isn't mainlined, but can be mainlined into the Linux kernel, is actually stable (compared to btrfs) and a pretty "clean" (for a FS) codebase. Definitely something we should keep an eye on.
@SeaJay_Oceans
@SeaJay_Oceans 2 жыл бұрын
8:21 drives. ZFS START: 17:41
@YouTuber-jz5nd
@YouTuber-jz5nd 19 күн бұрын
I realize this video is 4 years old now, but I want to share my 2024 experiences with ZFS on my Fedora 40 desktop. I run a redundant ZFS Mirror on root and 4 SATA SSDs (Crucial MX500 4TB) in a Zpool with my data. While transferring data from my nvme root mirror to my SATA SSD pool, I easily get 1.3 - 1.5GB/sec transfer speed. Small files are finished before my computer tells me the transfer has started. It is ridiculously fast. Same thing to my TrueNAS device over my 10G home network. Insane transfer speeds with ZFS at both ends.
@m1kr0kosmos
@m1kr0kosmos 4 жыл бұрын
Thanks! Been doing flashes of OpenBSD & Ubuntu, both of which offer 'experimenting' with ZFS. Gonna try them out today
@denvera1g1
@denvera1g1 4 жыл бұрын
I have a 12 bay ZFS file server appliance, and i have experienced bit rot, but thanks to ZFS Z3 i have never actually suffered a problem do to it, and it fixed the problem, if i get more than one on a drive, I'll do a scrub to make sure no other drives have corruptions, then swap the drive with a replacement
@thatLion01
@thatLion01 4 жыл бұрын
Any hope for more enterprise KZbin videos?
@SakosTechSpot
@SakosTechSpot 4 жыл бұрын
Can we get the 10 hour complete ZFS explanation? I just started using FreeNAS and I'm still getting used to the nuances of how it all works.
@OzzFan1000
@OzzFan1000 4 жыл бұрын
I recently built a storage box and I couldn't decide if I wanted to go with NTFS or ZFS (Windows vs FreeNAS (at the time)). I really liked FreeNAS's interface, and after I got over the learning curve coming from an all-Windows background, I was all set to use it except 1) I didn't like the idea that I couldn't add a single drive to the pool. As an individual on a budget, being able to add a single drive here and there is of great benefit to me, and 2) at the time I was still under the impression that using RAID was better than using the disks individually and FreeNAS wanted me to break up the RAID into individual disks. In the end I decided to go with NTFS but now I'm starting to second-guess myself. Can anyone tell me what the minimum number of disks I can add to a vdev pool in ZFS and can each pool be aggregated into one larger pool of storage?
@kolrising
@kolrising Жыл бұрын
This was so incredibly helpful and educational. Thank you so much!
@hasmich
@hasmich 9 ай бұрын
This is so informative and well-explained! Respect man!
@thebeasts2826
@thebeasts2826 4 жыл бұрын
"Well, that machine caught on fire-" Me: **LP0 ON FIRE!**
@tensevo
@tensevo 4 жыл бұрын
Great insights. Have you done vid on how long solid state storage lasts versus hard drive (spinning rust)?
@hacked2123
@hacked2123 4 жыл бұрын
Ha! I did the raid 5 recovery last week, that was fun.
@aeiplanner
@aeiplanner 4 жыл бұрын
That background music.... 🤔 You shoud totally do a spinoff where you explain technology with your hair combed way back, wearing a maroon robe holding a pipe in one hand and bourbon in the other.
@XtianApi
@XtianApi Жыл бұрын
Lol. Masterpiece theater
@World_Theory
@World_Theory 3 жыл бұрын
It sounds like ZFS works best with a large number of slow storage drives. Could you use like … 48 micro SD cards with ZFS to create one really nice and reliable total storage area? (Not sure what the technical name for a combined virtual storage drive is. Is there a generic term, or does it change from file system to file system?) Actually, how would you use an silly number of micro SD cards as storage for a single computer?
@jerkersandquist7244
@jerkersandquist7244 4 жыл бұрын
If i get an off site backup do i still need raid redundancy? Its not super important to get things running fast if something fails. I dont need things up and running fast if anything fails, just need to know when it happens and never lose data.
@danbrown586
@danbrown586 4 жыл бұрын
9:19 So here's where the idea comes from that ZFS uses dedicated parity disks in RAIDZn. "This RAIDZ2 vdev stores parity data on two disks in each stripe." No, it doesn't; it stores parity on all the disks.
@richardyao9012
@richardyao9012 4 жыл бұрын
The parity is distributed across all disks to increase IOPS.
@Level1Techs
@Level1Techs 4 жыл бұрын
The parity for any given write is stored on two disks. I didn't say that all writes store parity on the same two disks :)
@danbrown586
@danbrown586 4 жыл бұрын
@Richard Clutterbuck RAID3 and RAID4 have dedicated parity disks. Both are pretty obsolete today, but they still exist. And if I'm not mistaken, unRAID also uses a dedicated parity disk.
@danbrown586
@danbrown586 4 жыл бұрын
@@Level1Techs I don't recall your directly addressing the question in what you said, but the graphics you used (at 9:19, and other graphics at other points in the video) strongly suggest dedicated parity disks. I raise the issue because it seems I've run across a surprising number of folks in the not-too-distant past on the FreeNAS forums who believe that parity RAID in ZFS *does* use dedicated parity disks, resulting in some sub-optimal vdev configurations. I had been wondering where they got that idea, but I think I see now.
@zoomosis
@zoomosis 4 жыл бұрын
I'm interested in how the Windows port of ZFS turns out. Recently I've been tinkering with the next best thing (kind of) - exporting a ZFS ZVOL on FreeBSD as an iSCSI target and mounting it on a Windows PC. Effectively NTFS on top of ZFS. Surprisingly easy to set up, too.
@longnamedude3947
@longnamedude3947 4 жыл бұрын
Why would you place NTFS on top of ZFS? I'm asking out of interest, I am not questioning your decisions, I don't have a very good understanding of ZFS or Filesystem's. I hope this makes sense :) Thanks :)
@GianfrancoGallizia
@GianfrancoGallizia 4 жыл бұрын
@@longnamedude3947 ZVOLs are a little different from ZFS datasets. A ZFS dataset is a dynamically allocated chunk of storage space with a mountpoint that the OS sees as a UNIX-like filesystem (inodes, users, groups, permissions, etc.) with some properties like "is the data compressed?" or "is the data deduplicated?". A ZVOL is like telling to ZFS "I need X amount of raw storage no strings attached" and then ZFS creates a new (virtual) device with X amount of storage space, but it's not formatted with ANY filesystem: the main use for this feature is to use these chunks of raw data as disk space for virtual machines, but nothing prevents you to set them as an iSCSI target. iSCSI is basically SCSI over Ethernet and Windows can access iSCSI targets (aka iSCSI data volumes) and see them as regular disks and so format them in NTFS.
@gaborenyedi637
@gaborenyedi637 4 жыл бұрын
There is error correction encoding at the driver level, so the driver can usually tell, if the data is corrupt. Of course, this may fail too, or just the electronics can fail, but it is not so simple for a drive to fail without notifying it.
@pappyman179
@pappyman179 4 жыл бұрын
Thanks Wendell, I love these, now when is the next one? ;-)
@MJohnian
@MJohnian 5 ай бұрын
Is MS server ReFS, microsofts version of ZFS? I am debating whether to switch from [MS Server 2019] to [TrueNas core or source] - it is simply for file server in Video Production? any recommendations?
@xybersurfer
@xybersurfer 2 жыл бұрын
22:11 can you recover data with ZFS, if you have a single disk with 2 ZFS partitions?
@faysoufox
@faysoufox 3 жыл бұрын
Thank you for this video, you did a good job dimystifying zfs
@locusm
@locusm 4 жыл бұрын
I recall looking at Sun workstations in 87 and early SparcStations in 89-90, they started around $5K I think and were out of reach for me. Fast forward to first dot-com boom and man you should have seen what people spent on Sun servers.
@priit7777
@priit7777 4 жыл бұрын
So... how does ZFS handle entire drive dying? Is it like raid, so I can replace the broken drive and it rebuilds it or ... not? Or should I put raid on top of ZFS? Or under it? Or they shouldn't even be used together?
@LampJustin
@LampJustin 4 жыл бұрын
Thanks Wendell, great as always! If possible I'd like to see a LVM deep dive as I'm not yet understanding it totally. I always thought LVM would be unnecessary but with what you now said, it makes much more sense now. Also have you or anyone else tried out a recent version of bcachefs?
@Thunder-wd7ti
@Thunder-wd7ti 4 жыл бұрын
Can you also do the same for btrfs? Do you recommend it for traditional desktop usage, opensuse uses btrfs as its default filesystem. What do you think about the compression feature of btrfs?
@Kludgedean
@Kludgedean 4 жыл бұрын
You know ZFS does compression too right? :)
@Thunder-wd7ti
@Thunder-wd7ti 4 жыл бұрын
@@Kludgedean now I do! That is cool!
@amessman
@amessman 4 жыл бұрын
Makes me proud to have had an X4150 back in middle school :P
@bertnijhof5413
@bertnijhof5413 4 жыл бұрын
I use ZFS with Ubuntu on desktop and laptop. I have a backup server with Pentium 4 HT (3.0 GHz); 1.25 GB DDR (400 MHz); 1.2 TB with 2 IDE HDDs and 2 SATA-1 laptop HDDs. That one has been designed for Microsoft Windows 2000 Pro and Windows 98 and it now runs 32-bits FreeBSD 12.1 with ZFS for say one hour/week.
@asdf51501
@asdf51501 3 жыл бұрын
Here I am almost a year later watching this video. Why? I bought a QNap NAS to play with, and I'll eventually buy another one to back up to. Thank you once again Wendell for putting out these, and I'm now subbed to this channel in addition to the L1T channel. :)
@pD5V0DdsaoVhq
@pD5V0DdsaoVhq 4 жыл бұрын
Great video ofc, but would love to have a similar video about btrfs
@ultraali453
@ultraali453 Жыл бұрын
Thank you for the excellent video. I am considering switching from Windows 11 to TrueNAS for my home file backup server.
@kirkfoster2673
@kirkfoster2673 Жыл бұрын
Hey Level1! I’m about to be brave and give ZFS a shot! Using 5 drives of which 2 are redundancy. Got 2 NVME drives for cache (Unraid). Can you please give some advice on the file system I should use for my cache? ChatGPT said “the smart people at Unraid picked BTFS for their cache for a reason!” LOL! What do you think, BTFS cache and ZFS HDDs? Any advice would be really appreciated!!!
@yingste
@yingste 4 жыл бұрын
Cool, that corrupted picture you used was of an FRC competition from 2015 if I remember correctly. Winnovation was one of our regional teams when I was in high school.
@romeo5006
@romeo5006 3 жыл бұрын
ZFS is cool, I have contact with Oracle Appliance with a shelf of 400 drives. A metadata server is required for its operation. Added to this is the HSM server and client. Greetings!
@retrogameai858
@retrogameai858 4 жыл бұрын
A performance hit for ZFS because of checksumming and other features ZFS has was mentioned. And it said EXT4 was faster. Does that hold true for write speed only or is ZFS slower on read speed as well?
@GrishTech
@GrishTech 3 жыл бұрын
Here is an example of bitrot: you pay for google photos and notice that really really old photos start to have gray lines or half of the picture is gray. It doesn’t what device you use to try to view those photos. Has Googles datacenter experienced bitrot? I have since added Nextcloud with a zfs backend to the place I backup, no more trusting in google to ensure your data is reliable.
@davidg4512
@davidg4512 4 жыл бұрын
More zfs videos. Can you make a gluster plus zfs video? Or another scalable zfs solution
@GeoKidd
@GeoKidd 4 жыл бұрын
Really nice and in-depth explanation, great as always! Still, Wendell, what file system would you chose for a NAS, made of 4 hdd, of 10TB each, for which data integrity and realiability are of utmost importance? I have little knowledge in regular coding, and from all my research, would like to chose the OpenMediaVault operating system, but it does not have native ZFS support. It only has a plugin for ZFS capabilities. Would you consider a plugin that incorporates ZFS, reliable? At least, compared to an operating system with native ZFS support? From what I've read, I think I'd rather go with OpenMediaVault, than with FreeNAS, which I know has built-in ZFS features. This is a weird question, 'cause my problem for safely storing/archiving data, has reached a point where all I know for sure, is that I want ZFS to be my filesystem, and would like to start from there, rather than choosing a specific operating system, and then choosing the filesystem :))
@scocassovegetus
@scocassovegetus 3 жыл бұрын
Okay, so is there a plug-n-use ZFS backup system? Just seems to overly complicated, I just want to plug-in a backup system, throw in some hard drives, and then it does its thing.
@KTSpeedruns
@KTSpeedruns 3 ай бұрын
NO primer is ever brief when you have ADHD and need to keep rewinding to hear what you missed.
@bryantallen703
@bryantallen703 4 жыл бұрын
Why can't i stretch the screen to full on my LG V40. Wendell, what did you do. Did you lock the resolution on your video again. I still don't get it. Going full screen on a smartphone shouldn't be blocked when watching any video.
@TheBauwssss
@TheBauwssss 4 жыл бұрын
What are your thoughts on ECC RAM being absolutely mandatory when running with ZFS as the filesystem?
@williamp6800
@williamp6800 4 жыл бұрын
There is debate back and forth about whether ECC memory is required or an optional extra. ZFS has been the file system of TrueNAS (formerly FreeNAS) for many years. iX Systems, the maintainers of TrueNAS, only sell computers with ECC memory. Draw whatever conclusion you wish from that. Personally, I think if you’re going to go to the trouble of running ZFS to protect your data, and you’re buying the hardware to run it (rather than using what you’ve already got) it makes sense to spend whatever extra it costs to get ECC memory. But I’ve lost data to bit rot and to having a backup hard drive fail at the same time as my primary drive failed, so perhaps I’m more cautious than other people? But that’s why my primary storage is on a TrueNAS server using ZFS. It’s built with a used SuperMicro server motherboard using ECC memory. My first backup is on a duplicate of that server. My second backup is online at Backblaze. My third backup is on a Windows box in a different city. And just for the fun of it, I also keep extra copies of my entire family photo archive on Google and iCloud. There are only two kinds of computer users. Those who have lost data, and those who will.
@JeandrePetzer
@JeandrePetzer 3 жыл бұрын
Very well explained, insightful video. Thank you for this.
@Scrub_Ghost
@Scrub_Ghost 9 ай бұрын
Thank you so much. Eye opener!
@rhysperry111
@rhysperry111 4 жыл бұрын
I got the basic idea, but I think I'm gonna need to try it practically to get it. Too bad I don't have a lot of drives to create a pool out of
@MegatronAngel
@MegatronAngel 3 жыл бұрын
24:00 except scanning isn't 200 MB/s... it MUCH more like 20 to 40 MB/s and 60 MB/s if you're really lucky and dealing with HUGE continuous files.
@robertpearson8546
@robertpearson8546 Жыл бұрын
Maxtor actually sped up their spinning rust by enabling ALL read heads, not just one. 8 platters increase the read and write speed 16 times. And caching an entire cylinder reduces latency time.
@jorrenb
@jorrenb Жыл бұрын
Love your work my friend! thank you so much for your splendid explanation
@villenmillenion7986
@villenmillenion7986 4 жыл бұрын
have you tried to make raid 10 with an nvme and a sata ssd? I've planned to do so for my next personal computer but I haven't found much documentation about it
Talking About Mellanox 100g
14:25
Level1Linux
Рет қаралды 75 М.
ZFS for Newbies
34:35
EuroBSDCon
Рет қаралды 78 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 170 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 15 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
Why The ZFS Copy On Write File System Is Better Than A Journaling One
10:51
Intel's Best CPU in 10 years -- What's Next is Just as Important
14:11
OpenZFS Basics by Matt Ahrens and George Wilson
1:27:46
OpenZFS
Рет қаралды 42 М.
Hardware Raid is Dead and is a Bad Idea in 2022
22:19
Level1Techs
Рет қаралды 690 М.
ZFS Metadata: Special Device And You!
11:41
Level1Linux
Рет қаралды 40 М.
"The ZFS filesystem" - Philip Paeps (LCA 2020)
43:50
linux.conf.au
Рет қаралды 48 М.
I switched to Linux 30 days ago... How did it go?
28:46
Craft Computing
Рет қаралды 283 М.
So if Hardware RAID is dead... then what?
29:00
Level1Techs
Рет қаралды 156 М.
Storage Area Network: Buy with Knowledge
25:21
Level1Techs
Рет қаралды 126 М.
#UltimateHomeServer: Setting Up Netboot on your Raspberry Pi
20:07
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 170 МЛН