ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux: Common Filesystems

    IT Discussion
    linux filesystem xfs zfs ext2 ext3 ext4 jfs btrfs sam linux administration reiserfs
    6
    25
    7.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @Lakshmana
      last edited by

      @Lakshmana said:

      What is the diference between ext3 and ext4?

      EXT3: Largest File Size is 2TB (too small for today!) and largest filesystem size is 32TB.
      EXT4: Largest File Size is 16TB and largest filesystem is 1EB.

      EXT4 improved on EXT3 additionally in several ways:

      • Moved to extents which improved performance.
      • Preallocation is now supported improving media and database performance.
      • Delayed allocation improving performance and reducing fragmentation.
      • Removes the 32K subdirectory limitation of EXT3
      • File system checking is much faster
      • Moved to a multiblock allocator which improves on disk placement decision making for lower fragmentation and higher performance.
      • Nanosecond filesystem timestamps instead of second ones.
      • Transparent encryption added in EXT4.1
      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @Lakshmana
        last edited by

        @Lakshmana said:

        Just changing the version name to re-introducing the same filesystem with slight changes.Right

        It is not considered the same filesystem. It is very similar, but ext3 and ext4 are not identical on disk, making them different filesystems. But they are based on the same concepts.

        1 Reply Last reply Reply Quote 1
        • stacksofplatesS
          stacksofplates @scottalanmiller
          last edited by

          @scottalanmiller said:

          EXT4 vs XFS

                     Filename Length        Max File Size       Max Filesystem
          ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
          XFS 	   255 bytes   	          8 EiB 	          8 EiB
          

          That's a pretty big file.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @stacksofplates
            last edited by

            @johnhooks said:

            @scottalanmiller said:

            EXT4 vs XFS

                       Filename Length        Max File Size       Max Filesystem
            ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
            XFS 	   255 bytes   	          8 EiB 	          8 EiB
            

            That's a pretty big file.

            On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

            stacksofplatesS DashrenderD 2 Replies Last reply Reply Quote 1
            • StrongBadS
              StrongBad
              last edited by

              I've been using XFS for pretty much everything new for a year or so now. Just seems to make the most sense.

              1 Reply Last reply Reply Quote 1
              • stacksofplatesS
                stacksofplates @scottalanmiller
                last edited by stacksofplates

                @scottalanmiller said:

                @johnhooks said:

                @scottalanmiller said:

                EXT4 vs XFS

                           Filename Length        Max File Size       Max Filesystem
                ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                XFS 	   255 bytes   	          8 EiB 	          8 EiB
                

                That's a pretty big file.

                On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                Ya I meant XFS. I really only use EXT4 if I'm going to be playing with the sizes of the LVs to test stuff. The home partition on my laptop is EXT4 but it's been that way for about 2 years and I don't want to move everything off to change it.

                I also usually use EXT4 for USB drives.

                1 Reply Last reply Reply Quote 2
                • DashrenderD
                  Dashrender @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  @johnhooks said:

                  @scottalanmiller said:

                  EXT4 vs XFS

                             Filename Length        Max File Size       Max Filesystem
                  ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                  XFS 	   255 bytes   	          8 EiB 	          8 EiB
                  

                  That's a pretty big file.

                  On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                  you have files (a VM file) that's larger than 16 TiB?

                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates @Dashrender
                    last edited by

                    @Dashrender said:

                    @scottalanmiller said:

                    @johnhooks said:

                    @scottalanmiller said:

                    EXT4 vs XFS

                               Filename Length        Max File Size       Max Filesystem
                    ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                    XFS 	   255 bytes   	          8 EiB 	          8 EiB
                    

                    That's a pretty big file.

                    On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                    you have files (a VM file) that's larger than 16 TiB?

                    That's not a ton for a file server with large CAD drawings.

                    DashrenderD 1 Reply Last reply Reply Quote 1
                    • DashrenderD
                      Dashrender @stacksofplates
                      last edited by

                      @johnhooks said:

                      @Dashrender said:

                      @scottalanmiller said:

                      @johnhooks said:

                      @scottalanmiller said:

                      EXT4 vs XFS

                                 Filename Length        Max File Size       Max Filesystem
                      ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                      XFS 	   255 bytes   	          8 EiB 	          8 EiB
                      

                      That's a pretty big file.

                      On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                      you have files (a VM file) that's larger than 16 TiB?

                      That's not a ton for a file server with large CAD drawings.

                      Hold on - why would you put the CAD drawings into a VM at that point? Assuming you aren't saying you have single drawings that are 16 TiB. Why not just dump the CAD files directly into a filesystem themselves?

                      stacksofplatesS scottalanmillerS 3 Replies Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates @Dashrender
                        last edited by

                        @Dashrender said:

                        @johnhooks said:

                        @Dashrender said:

                        @scottalanmiller said:

                        @johnhooks said:

                        @scottalanmiller said:

                        EXT4 vs XFS

                                   Filename Length        Max File Size       Max Filesystem
                        ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                        XFS 	   255 bytes   	          8 EiB 	          8 EiB
                        

                        That's a pretty big file.

                        On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                        you have files (a VM file) that's larger than 16 TiB?

                        That's not a ton for a file server with large CAD drawings.

                        Hold on - why would you put the CAD drawings into a VM at that point? Assuming you aren't saying you have single drawings that are 16 TiB. Why not just dump the CAD files directly into a filesystem themselves?

                        I'm saying you can easily get CAD files that are around 300-600 GB each for large assemblies with a bunch of sub-assemblies.

                        1 Reply Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates @Dashrender
                          last edited by

                          @Dashrender said:

                          @johnhooks said:

                          @Dashrender said:

                          @scottalanmiller said:

                          @johnhooks said:

                          @scottalanmiller said:

                          EXT4 vs XFS

                                     Filename Length        Max File Size       Max Filesystem
                          ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                          XFS 	   255 bytes   	          8 EiB 	          8 EiB
                          

                          That's a pretty big file.

                          On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                          you have files (a VM file) that's larger than 16 TiB?

                          That's not a ton for a file server with large CAD drawings.

                          Hold on - why would you put the CAD drawings into a VM at that point? Assuming you aren't saying you have single drawings that are 16 TiB. Why not just dump the CAD files directly into a filesystem themselves?

                          I'm also saying a file server that is a VM. Not a CAD workstation.

                          DashrenderD 1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @stacksofplates
                            last edited by

                            @johnhooks said:

                            @Dashrender said:

                            @johnhooks said:

                            @Dashrender said:

                            @scottalanmiller said:

                            @johnhooks said:

                            @scottalanmiller said:

                            EXT4 vs XFS

                                       Filename Length        Max File Size       Max Filesystem
                            ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                            XFS 	   255 bytes   	          8 EiB 	          8 EiB
                            

                            That's a pretty big file.

                            On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                            you have files (a VM file) that's larger than 16 TiB?

                            That's not a ton for a file server with large CAD drawings.

                            Hold on - why would you put the CAD drawings into a VM at that point? Assuming you aren't saying you have single drawings that are 16 TiB. Why not just dump the CAD files directly into a filesystem themselves?

                            I'm also saying a file server that is a VM. Not a CAD workstation.

                            Right, but when you're working with files that large - why bother storing them in a VM - just st.... OK yeah, that goes against the standard practice now.. so we need a VM, even if the whole host is a VM - welp, I guess your stuck with XFS 🙂

                            scottalanmillerS 1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller @Dashrender
                              last edited by

                              @Dashrender said:

                              @johnhooks said:

                              @Dashrender said:

                              @scottalanmiller said:

                              @johnhooks said:

                              @scottalanmiller said:

                              EXT4 vs XFS

                                         Filename Length        Max File Size       Max Filesystem
                              ext4 	   255 bytes 	          16 GiB to 16 TiB 	  1 EiB
                              XFS 	   255 bytes   	          8 EiB 	          8 EiB
                              

                              That's a pretty big file.

                              On XFS that's one crazy large file. On EXT4, it's not really. If you wanted to virtualized a moderately sized file server today (smaller than several of NTG's systems) then EXT4 couldn't handle it. The single file size limits of EXT4 are so small that they even can impact the SMB market today. This is a big reason why XFS took over so quickly as the main filesystem on Linux. 16TB isn't "small" but when it represents the entire filesystem for a file server, it starts to look like quite the limitation.

                              you have files (a VM file) that's larger than 16 TiB?

                              That's not a ton for a file server with large CAD drawings.

                              Hold on - why would you put the CAD drawings into a VM at that point? Assuming you aren't saying you have single drawings that are 16 TiB. Why not just dump the CAD files directly into a filesystem themselves?

                              A filesystem has to fit into a file. So a file limit becomes a filesystem limit.

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Dashrender
                                last edited by

                                @Dashrender said:

                                Right, but when you're working with files that large - why bother storing them in a VM - just st.... OK yeah, that goes against the standard practice now.. so we need a VM, even if the whole host is a VM - welp, I guess your stuck with XFS 🙂

                                Pretty much. EXT4 is pretty silly for a server of any size, which is why even for desktops RHEL is XFS by default and EXT4 only as an option for advanced users. EXT4's days are pretty much over.

                                1 Reply Last reply Reply Quote 1
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post