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

    GEOM

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 2.0k Views
    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.
    • D
      davorin
      last edited by

      I see that in pfSense 2.0.1 GEOM is not available…but the kernel modules reside in /lib/geom which can't be loaded at all:

      kldload: can't load /lib/geom/geom_stripe.so: Exec format error

      Also the GEOM utilities are missing but can't be scp'ied over from a FBSD 8.1 DVD...

      So how do you get GEOM working on it?

      1 Reply Last reply Reply Quote 0
      • D
        davorin
        last edited by

        My mistake..kernel modules must be in /boot/kernel…

        So theoretically I can copy those also over...

        1 Reply Last reply Reply Quote 0
        • D
          davorin
          last edited by

          Okay..here're the steps required:

          • Copy gstripe progam from FBSD8.1 DVD over to /sbin
          • Copy GEOM kernel modules from FBSD8.1 DVD over to /boot/kernel
          • Load the GEOM kernel module with "kldload geom_stripe"

          I have two additional disks in my N40L appearing as /dev/ad6 and /dev/ad8:

          • Erase any partition information on the drives with "dd if=/dev/zero of=/dev/adX count=100"
          • Create the stripe with "gstripe label -v st0 /dev/ad6 /dev/ad8"
          • Create a single partition on the stripe with "gpart create -s gpt /dev/stripe/st0"
          • Create a filesystem on the stripe with "newfs -U /dev/stripe/st0p1"

          Now the stripe is ready to be mounted…

          • Create a mountpoint, for example "mkdir /stripe"
          • Mount the volume with "mount /dev/stripe/st0p1 /stripe"

          Now we need to add some entries so GEOM is available at next boot and that the stripe is mounted:

          • Add a loader entry in /boot/loader.conf with: geom_stripe_load="YES"
          • Add fstab entry: "echo "/dev/stripe/st0p1 /stripe ufs rw 2 2" >> /etc/fstab"
          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            That may be true for gstripe, but we do have gmirror support (even in the installer)

            Why would you want to stripe two disks on pfSense? That doesn't make a lot of sense, RAID 0 would only reduce your stability over time. It only helps to gain space by adding disks together to get a larger storage area. Not much use on a firewall (unless it's a separate non-boot volume for something like squid).

            gmirror makes sense as it gives you RAID 1 redundancy with two or more disks.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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