Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Mount HDD formatted with EXT4

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 5 Posters 1.2k Views 5 Watching
    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.
    • V Offline
      vertigo8
      last edited by

      Hi - How do I mount a ext4 HDD via the USB port on a SG-6100 device?

      I notice that the box has no fuse kernel module.

      Thanks.

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD Offline
        DaddyGo @vertigo8
        last edited by DaddyGo

        @vertigo8 said in Mount HDD formatted with EXT4:

        How do I mount a ext4 HDD via the USB port on a SG-6100 device?

        Hi,

        I don't know why it's necessary ๐Ÿ˜‰ , but I'm thinking something like this:

        kldload ext2fs
        mount -t ext2fs -o ro /dev/<device/partition> <mountpoint>
        

        https://www.freebsd.org/cgi/man.cgi?query=ext2fs&sektion=5&manpath=freebsd-release-ports

        I don't know...... about the USB "mount", but I guess it handles

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        V 1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          That's not expected functionality. Why are you trying to do it? Maybe there a better way we can suggest.

          Steve

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            vertigo8 @DaddyGo
            last edited by

            @daddygo thanks but no ext2fs kernel module in my build. Copying the module from a 12.2 release does not work either.

            1 Reply Last reply Reply Quote 0
            • V Offline
              vertigo8 @stephenw10
              last edited by

              @stephenw10 I need to temporarily centralise some files over my network which are contained on a ext4 hdd.

              Any ideas? Any pointers on getting the missing kernel modules I mentioned?

              JKnottJ DaddyGoD 2 Replies Last reply Reply Quote 0
              • JKnottJ Offline
                JKnott @vertigo8
                last edited by

                @vertigo8 said in Mount HDD formatted with EXT4:

                Any ideas?

                You could copy the files to a FAT drive, however why do you want to do this on a firewall/router? Don't you have any other place to do it.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                1 Reply Last reply Reply Quote 0
                • V Offline
                  vertigo8
                  last edited by

                  @jknott Thanks for the suggestion but this does not work for me. Not going to be wading through terabytes of data just for a temporary purpose

                  Short answer to your question is no if I want it centralised.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    It's in 21.09 if you really need it:

                    [21.09-BETA][admin@5100.stevew.lan]/root: ls /boot/kernel/ext*
                    /boot/kernel/ext2fs.ko
                    
                    V 1 Reply Last reply Reply Quote 0
                    • V Offline
                      vertigo8 @stephenw10
                      last edited by

                      @stephenw10 Thanks - how do I request access to a copy of 21.09?

                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • DaddyGoD Offline
                        DaddyGo @vertigo8
                        last edited by DaddyGo

                        @vertigo8 said in Mount HDD formatted with EXT4:

                        I need to temporarily centralise some files over my network which are contained on a ext4 hdd.

                        This, may not be the best place, primary security front NGFW, but it's your choice.

                        especially that you speak about TBs ๐Ÿ˜‰

                        I have not yet come across anything where this has been done, something like installing a database behind pfSense has been tried here on the forum, that's also an incredible question

                        and unbelievably stupid idea would be

                        Cats bury it so they can't see it!
                        (You know what I mean if you have a cat)

                        V 1 Reply Last reply Reply Quote 0
                        • V Offline
                          vertigo8 @DaddyGo
                          last edited by

                          @daddygo Seems like the temporary word was missed. Few TBs of stuff vs a database storing sensitive data is not an apples to oranges comparison but I'll deal with that :)

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S Offline
                            stephenw10 Netgate Administrator @vertigo8
                            last edited by

                            @vertigo8 said in Mount HDD formatted with EXT4:

                            Thanks - how do I request access to a copy of 21.09?

                            You can upgrade to it by selecting the developer branch in System > Update > Update Settings.

                            I would open a ticket with us to get the 21.05.1 recovery image first though. There's no way to downgrade from the developer branch once you're on it, you would need to reinstall.

                            I too would warn against doing this even temporarily. You could probably achieve this with a RasPi for little cost.

                            Steve

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • johnpozJ Offline
                              johnpoz LAYER 8 Global Moderator @stephenw10
                              last edited by johnpoz

                              @stephenw10 said in Mount HDD formatted with EXT4:

                              You could probably achieve this with a RasPi for little cost.

                              Ding Ding Ding - and we have a winner ;)

                              tell-him-what-hes-won-bob.jpg

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              V 1 Reply Last reply Reply Quote 0
                              • V Offline
                                vertigo8 @johnpoz
                                last edited by

                                @johnpoz nothing a VM won't solve to see if the driver actually works :)

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.