File Systems | Which One is the Best? ZFS, BTRFS, or EXT4

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
the most favorite file system ever for any operating system let's go over that today let's go over file systems because I'm always asked about using X file system or what is my favorite file system what's the fastest file system what's the most reliable file system what file system do I use when it's not either the faster reliable one we'll all these questions are gonna be answered in this video and you'll figure out what you might want to use in the future all right let's start this out with the hot garbage and that's all the Microsoft file systems that's NTFS that's your fat file systems whether it's X fat fat32 do I even say fat 16 and all the rest of them whatever if it's a Microsoft file system it under performance it's not reliable it has bad journaling I mean you could go on for days on this one I could probably make a 10-minute rant video on how much Microsoft sucks when it comes to file systems it's it's just true so yeah if you're using Windows and you're wondering if NTFS is any good compared to any of these other ones I'm gonna talk about today the answer is equipment it just unequivocally you know I mean it's just horrible just absolutely atrocious all right with that out of the way let's get on to the video though what is the best file system and the best file system in existence by far by a mile there's not even anything close to it z FS ZFS is amazing it's used in pretty much every single data center there's a reason why it's number one and it's just rock solid stable it has been engineered that way from day one has like 20 years worth of development it is amazing and there's really two iterations of ZFS out there there's the open version and then there's also like the Oracle version however some of the licensing is real kind of silly so you don't see it in Linux much and honestly leanness Torvalds and the Linux kernel crew absolutely hate ZFS and they just throw a bunch of shade its way mainly because of its licensing it's incompatible and that's why a lot of people don't actually include it in Linux because they're worried that Oracle might sue Linux over the usage of ZFS so kind of kind of a fun back story there but if you're gonna use the FS go get yourself if you want to do it free and you just want to have a really nice rock-solid file store well get yourself a free nas box get that going learn all about FreeNAS I did an entire playlist when I first started this channel and I love freenas it's it's by far my favorite I would never use a Linux file system over FreeNAS because FreeNAS uses FreeBSD as its base and then use EFS as its file system and I haven't found anything even close to that for free so that's my free option and if you have a ton of money to spend let's say you have an extra $50,000 burning a hole in your pocket Oracle makes fantastic ZFS storage appliances that are really really good so that is the best most reliable stable but that's file systems that's business and that's like you know if you're gonna store a whole bunch your home movies I'd probably put it on this FreeNAS box or something of that nature but that's not to say the other file systems are bad no no no there's some really really good ones that I'm going to cover probably my two favorite ones in this video first off the best performance so let's say on your desktop you really want your file system to be fast not necessarily stable I mean both these are stable that I'm going to be talking about but not one compared to let's say ZFS but for performance reasons I would really recommend ext4 I mean it's tried it's true it's proven but it's also very fast it has really good performance numbers it's very good file system and it has a lot of compatibility so there's other ones out there that might perform a little bit better like XFS and there's some other I'm more obscure ones after that anyways ext4 is very very good file system very good performance wise I absolutely love it for most of my Linux installs but in recent years are actually really the past couple months I've switched everything to better FS so why would I switch to better FS if ext4 is technically better performing and the answer is I get a lot of really cool features a lot of those ZFS features that I love and the performance may not see I I don't really notice a performance hit but I know based on like fir onyx benchmarks and those types of things there is a performance hit but it's not horrible and it's like you know hardly notice well if noticeable at all so that's why I run better FS because I get a lot of those ZFS features I miss now you have to be very specific on how you use better FS and you have to understand the file system otherwise bad things can happen so it is a badly misunderstood file system as it's pretty new and a lot of people misuse it and it causes them to lose their data so I want to get this out of the way starting out first you need to understand better ephesus structure and then - you need to not use striping like raid 0 or raid 5 or raid 6 these are just really bad raids just in general like I never use them in business and I never use them at here at the house as I don't like them at all I think they're horrible but that's not to say never ever use them you know you can use them if you like I personally think only a noob or an idiot would use raid 5 or 6 or someone that's just literally strapped for resources as it's just not that good performance when you have a failed disk word it's just aa horrible I absolutely hate raid 5 & 6 I think goes without saying why I say this is because if you just go buy another drive for raid5 you can get rate in which you get parity and you you get striping and you get mirroring you get all the benefits of raid zero and one with none of the downside it's awesome so raid ten is where it's at so that's right five raid six you have four disks you know three to establish raid 5 and then that extra one's called a hot spare well you got four disks what the heck are you doing I mean raid six shouldn't exist in my opinion I guess it's just there to tell us who the silly people are that want to run raid six I don't know but anyways use RAID 10 it is far superior in every way which way and when it comes to better FS I usually establish a raid one just a straight-up clone or a mirror and then if I have four disks of the same type I'll go ahead and establish a raid 10 because that's awesome you can literally use two disks and more likely it's still gonna work which is fantastic so raid 10 is great and you get a good performance bump I think almost like 4x read I think like 2x write or something something of that nature so rate ins really cool in that but getting back to better FS the really most just the absolute best part of better FS isn't snapshot capabilities the ability to simply just take a quick snapshot and then revert back to it in a second or just take a snapshot in literally a millisecond that is amazing the this capability really unlocks me to do just some crazy things I can just jump on my main machine here do a RM RF Forge slash star wipe out my whole system and go out no problem and I can just throw a thumb drive in chroot in switch the grub over to a snapshot I took literally right before I did that the whole process might take two minutes which is great and honestly if the system was bootable and let's say it was just I needed to get to TTY I could literally restore it in seconds so all these things are fantastic about better really the thing that sells me on better fsy I always use it is the snapshot capability that is huge it just basically removes the need for backups and a lot of things in this regard when I'm messing around with the operating system now all my really important information is still stored on a central file store and that is backed up to the cloud so when it comes to redundancy and those types of things I never keep anything of importance on any of my workstations I think that anybody can come along anytime just Zack all of that workstation I'm like oh well no problem I'll check out my file store let's say my file store just gets zapped or just blows up whatever happens and nothing's recoverable even then I still have encrypted cloud storage yes that will take a long time to download yes it will kind of be a pain in the butt to get all that everything going again but it's still there so no matter what happens I think when it comes to data and file systems you can be ok on any file system even NTFS and fat as much as I throw hate and shade their way but it's all duly deserved I mean it is a bad file system their file systems but these are really the basis of how I used my computers and the file systems I like to use and that's my rationale behind it hopefully in a perfect world we'd see ZFS and Linux and Oracle come out and go yeah it's all open source you can go do whatever you want with it it's just yeah that would be great but it's never gonna happen so I don't recommend ZFS for Linux at all obviously with leanness Torvalds coming out and saying don't use ZFS well that's kind of like the mind behind that Linux kernel that runs Linux if he says not to use ZFS we shouldn't use it as I agree with his rationale it's not really from a technical perspective but from a licensing in the business perspective I get it you know it's something that we need to be shy away from so better fs gives me a lot of those tinkerer abilities and things I really love about ZFS maybe not so much stability aspect of it but at the same time having just those features and using better FS properly it gets me like 90% of the way there for ZFS I'm like alright good enough and I'll use that for my workstations but with all that said let me know your thoughts down in the comment section below I'm always curious to see on the file systems what everyone uses because there's some really funky ones out there I know a lot of people you know use like XFS or even riser FS I hear it's a killer a file system dad joke anyways with that said I'll see you in the next one you
Info
Channel: Chris Titus Tech
Views: 99,390
Rating: 4.3987522 out of 5
Keywords: chris titus tech, xfs file system, file systems, ext4, which is better xfs or ext4?, file system, btrfs file system, i go over linux file systems ext4, ext4 file system linux?, file systems explained, file system comparison, file system types, linux file system types, linux file systems, what is the best filesystem for linux?, What is the best filesystem, filesystems, zfs file system
Id: HdEozE2gN9I
Channel Id: undefined
Length: 12min 6sec (726 seconds)
Published: Mon Jan 20 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.