4 MAJOR LINUX FILE SYSTEM: EXT4 , XFS, ZFS, BTRFS

Поділитися
Вставка
  • Опубліковано 13 чер 2024
  • Hey Guys! Welcome to XPSTECH. In today's video, we will talk about the 4 Major Linux File Systems. A File system is one of the most important aspects that affect system performance, reliability, security, and efficiency. It controls how data is stored and retrieved from a storage drive.
    Windows and Mac OS use proprietary File Systems like NTFS or APFS.
    Linux provides a variety of File System options that you can select as per your requirements. In this video, we will cover 4 Major Linux File systems. We will talk about their Disk Layout, Storage architecture, and Features.
    0:00 Intro
    1:36 File System 101
    3:35 EXT 4
    6:42 XFS
    9:37 ZFS
    12:32 BTRFS
    EXT4 wikiext4.wiki.kernel.org/index.ph...
    Btrfs wiki: btrfs.wiki.kernel.org/index.p...
    Subscribe to XPSTECH for more such videos:
    / xpstech
    Join Me on Twitter : / xps_tech
    ***************************************************************
    Products/Gears I used in the making of this video :
    1. Intro and Background Music:
    Epidemic Sound: www.epidemicsound.com/referra...
    2. Microphone :
    Blue Yeti USB Microphone: amzn.to/42ibLoZ
    3. Techblaze Microphone Stand for Blue Yeti Mic with Double layered screen Pop Filter
    amzn.to/3HCEk8O
    4. Mouse :
    Red Dragon M601 : amzn.to/40YcTx6
    5. Virtualization Software
    Vmware Workstation 16 Pro : amzn.to/3APOork
    #Linux #filesystem #EXT4 #diskpartition
  • Наука та технологія

КОМЕНТАРІ • 68

  • @danielgx83
    @danielgx83 20 днів тому +3

    this is so much information for just 1 subject , storage.
    wow thanks bro

  • @cebas7
    @cebas7 2 роки тому +5

    I've been searching for clear explanation about current file systems for a couple of hours... and too be honest your video nailed it completely, thanks for sharing and enlighten our minds with your knowledge buddy!

  • @matthewjbarron
    @matthewjbarron 3 роки тому +21

    This is a fantastic video! I love how clearly you explain these linux filesystems. Thank you!

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

      Would be nice if he spoke louder..................................................

  • @UnskippableCinematic5875
    @UnskippableCinematic5875 22 дні тому +1

    Amazing and informative video. Thank you.

  • @OpenGL4ever
    @OpenGL4ever 2 роки тому +8

    Very good in depth video. Thank you!
    But there is one thing to correct. btrfs is only better on paper, in reality its raid support is still experimental and it has problems using disk space even when it is telling the user, that enough disk space is left. It's not uncommon that it tells you after a copy operation, that it doesn't have enough disk space, even when it is claiming the opposite at first place.
    The best FS at the moment of these 4 is ZFS. But because of its license, it can't be incorporated into the Linux kernel. Thus it's only working in user space in Linux.
    As a consequence you usually can only choose between ext4 and XFS on Linux, while btrfs is too unreliable. Because of that, Red Hat discarded btrfs on their distribution and switched to XFS.

  • @meeDamian
    @meeDamian 2 роки тому +17

    From my unfortunate experience, indian accent is a good predictor of low quality content on YT, so I can't even express how happy I was to watch this amazing, extremely informative, concise yet comprehensive summary-thank you so much 🙇🏻‍♂️ !

    • @bharatmadho3742
      @bharatmadho3742 Місяць тому +3

      indian accents usually indicate good content in my opinion. especially if the video is teaching something. from maths to computer science, indians will never fail to amaze you!

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

      Agreed. ​@@bharatmadho3742

    • @UnskippableCinematic5875
      @UnskippableCinematic5875 22 дні тому

      @@bharatmadho3742 I was about to say that.
      I head the voiced & immediately bookmarked it.

  • @alivalizada8543
    @alivalizada8543 2 роки тому +3

    Short but detailed description, thank you for your effort!

  • @uchichaobito607
    @uchichaobito607 18 днів тому +1

    excellent video!

  • @Memory1sRam
    @Memory1sRam 2 роки тому +2

    Startet with XFS over 10 years ago; used EXT4 a while later; nearly started using btrfs in the beginning of 2017 but using ZFS since than and I'm very happy with it! Looking forward to bcachefs in the next few years. Nice video!

  • @lamcho00
    @lamcho00 2 роки тому +6

    Great video! I really like how you explained what a file system is and the major features and limitations.
    I just need to add XFS also supports Copy-on-Write. I think this is important consideration when picking a file system.
    Also currently BtrFS has some drawbacks compared to ZFS, namely BtrFS doesn't fully support Encryption, RAID 5/6, adaptive endanness or caching mechanisms like L2ARC or SLOG.
    Which are not really big problems though. I like to think of it like this, if it's for home use pick BtfFS, if it's for work or sensitive data pick ZFS.

  • @gaborrotics9293
    @gaborrotics9293 2 роки тому +1

    Your channel is soo underrated, great videos with clear explanations, thank you!

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

    good video , I've been searching for clear explanation about ex3,xfs and btrfs. thanks!

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

    Man thank you so much for this video, i always wanted a deeper analysis on Linux filesystems!

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

    Best video and information around the topic. Thank you so much!

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 3 роки тому +5

    good video, will study more about the mentioned file systems

  • @Lesterandsons
    @Lesterandsons 2 роки тому +1

    Happy to use btrfs for years, saved my life more than once.

  • @LanceLovett
    @LanceLovett 2 роки тому +1

    Thank you so much for this video! This is the first time I have seen anyone answer my curiosity about what the difference in each filesystem was and why one would be more desirable than another.
    Please keep doing the esoteric topics that many would be interested in but don't know where to get the info.
    I am trying to kick my Microsoft habit completely. Unfortunately, I have been a junkie since Dos 2.

  • @mehdimj_ir
    @mehdimj_ir 2 роки тому +1

    This is wonderful, thanks for detailed explanations.

  • @ari-athbadminton0301
    @ari-athbadminton0301 Рік тому +1

    So well explained thanks you Sir!

  • @voodoovinny7125
    @voodoovinny7125 2 місяці тому +1

    Seeing how BTRFS has had a 10x boost with Linux Kernel 6.2... Maybe we need an update on this video.

  • @dragonek_gnu_linux_pl
    @dragonek_gnu_linux_pl 2 роки тому +2

    btrfs with subvolumes are the best choice i think. Now it's working rly good

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

    Fantastic explanation. Thank you!

  • @sup2069
    @sup2069 2 роки тому +1

    Nice job! Simple clear video!

  • @haythemferjani1590
    @haythemferjani1590 2 роки тому +1

    A very good explanation. Thank you for that

  • @valentecaio
    @valentecaio 3 роки тому +1

    nice video, bro! thanks!

  • @BinayakKundu
    @BinayakKundu 3 роки тому +1

    Very nicely explained.👍

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

    Which one would you recommend for a) private usage b) big amounts of small files

  • @mayakrish50
    @mayakrish50 3 роки тому +1

    Which presentation software using?

  • @sharafat-karim
    @sharafat-karim 2 роки тому +1

    cool! thanks

  • @vinayrwt
    @vinayrwt 3 роки тому +1

    Thanks ❤️

  • @twinshadow1357
    @twinshadow1357 3 роки тому +7

    I think it's worth noting that XFS has the fastest start-up time and it ages much better then BTRFS.
    All of the advanced features others offer aren't really worth the hassle for home users...

    • @silvioglucklich1155
      @silvioglucklich1155 3 роки тому

      Thx, what are the hassle a home / home server user will see with BTRFS?

    • @twinshadow1357
      @twinshadow1357 3 роки тому +4

      @@silvioglucklich1155 I meant hassle as in: setting it up properly and learning to use btrfsprogs just to get a inferior file system.
      The biggest pain for me was application start up time i.e. XFS takes 0.7sec to start office, while BTRFS needs 3sec. That's perceivable and it shouldn't be when you have an SSD. It gets worse as the system ages.
      BetrFS (not to be confused with BTRFS) tries to fix some of it shortcomings, but I would still go with XFS.
      Here you can find all of the fs used in the video plus F2FS: research.vmware.com/files/attachments/0/0/0/0/0/3/5/fast17-conway.pdf

    • @silvioglucklich1155
      @silvioglucklich1155 3 роки тому +1

      @@twinshadow1357 Thx a lot - to me as normal user it means "hands off" - the abstract of the linked study is promising. :)

    • @marioschroers7318
      @marioschroers7318 2 роки тому +1

      I use XFS on all my relevant drives, and would recommend it to everyone anytime.

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

      I disagree with the latter. I use ZFS on my TrueNAS system as a home user and ZFS is really great in that role. I agree with you on BTRFS.

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

    What kind of keep me from using anything else then ext4 is that all other have less support. btrfs seems to be equally supported but zfs is not even supported in the Kernel by Standard. I think you have to load it into the Kernel with some non GPL licence. Not really what i want to do

  • @UnknownUser-hk6yj
    @UnknownUser-hk6yj 2 роки тому

    Do u recommend MAC or Windows for a beginner to purchase a laptop

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

    just excellent

  • @BalaMurugan-ok4gc
    @BalaMurugan-ok4gc 2 роки тому +1

    Very nice sir

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

    Good video 👍

  • @stephanweinberger
    @stephanweinberger 2 роки тому +1

    @12:25 attention: "automatically repairs corruption" is only true if you run raid-z (i.e. if there is an uncorrupted copy of the data available within the filesystem). If you run your ZFS pool on a single device then it can only _detect_ corruption, but is not able to repair it.
    So don't forget your regular backups (and preferably only run them after a successful scrub).
    Also: you forgot to mention that ZFS natively supports compression (which you _do_ mention for Btrfs) and encryption.
    @14:20 attention: btrfs RAID 5/6 is still "" by the developers!

  • @mithubopensourcelab482
    @mithubopensourcelab482 2 роки тому +6

    Great Video, though the many important features of ZFS are not covered [ e.g. transparent compression ]. Secondly, ZFS for Linux is an open source project. Thirdly, BTRFS is not a matured file system by any standard. BTRFS Raid functionality is incomplete [ Especially Raid 5 and Raid 6 ] . You have not also not covered XFS file system comparison with EXT4.
    Based on the available file system, its features, performance, scalability, there is no doubt that ZFS stands on # 1 spot.

  • @logicawe
    @logicawe 2 роки тому +1

    ok ok, what we doing here. I kinda like this.

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

    10:02 false, ubuntu server does not have as default zfs. It uses ext4 since forever.

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

    ❤️

  • @mlTS7626
    @mlTS7626 3 роки тому +4

    Nice video
    But volume is too low
    Even in your other previous videos

    • @ihateemael
      @ihateemael 2 роки тому +1

      no probs for me. . .

  • @tomoghnosen
    @tomoghnosen 3 роки тому +3

    BTRFS user here

    • @OpenGL4ever
      @OpenGL4ever 2 роки тому +1

      ZFS user enters the room. BTRFS leaves in shame.

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

    True that ZFS is proprietary, but OpenZFS is open source and not proprietary.

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

    ZFS and btrfs have been and are still called copy on write systems, but they actually are more accurately redirect on write systems. It's similar to the confusion over gibibytes and gigabytes. They are not the same thing, but people use copy on write for both anyway. Bad practice.

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

    5:38 Voulme?

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

    * googles a video on what copy-on-write is *
    * Watches the whole video until we get to btrfs *
    "copy on write makes it better overall"
    alrighty then

  • @user-rh6ut1uc6s
    @user-rh6ut1uc6s 4 місяці тому +1

    44^2 =! 12^2 + 32^2

  • @vishalaryalearner
    @vishalaryalearner 3 роки тому +2

    Audio ia too low..

  • @leonalien8081
    @leonalien8081 2 роки тому +1

    started the vid and can u pls talk a bit quieter, so i can hear the bugs fucking outside

  • @SpaceTimeBeing_
    @SpaceTimeBeing_ 3 роки тому +2

    Your audio is too low...