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

pfSense partition size?

Scheduled Pinned Locked Moved General pfSense Questions
13 Posts 4 Posters 1.6k 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.
  • J
    JKnott
    last edited by Dec 2, 2022, 10:19 PM

    The computer I run pfSense on has a 64 GB SSD, but the dashboard shows only 24 GB used, plus 2 GB swap. Is this the normal size? I don't need more space, just curious.

    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...

    U 1 Reply Last reply Dec 3, 2022, 2:22 AM Reply Quote 0
    • U
      Understudy @JKnott
      last edited by Dec 3, 2022, 2:22 AM

      @jknott
      If you have installed pfsense go to Diagnostics/Command Prompt
      and enter the following:

      diskinfo -v your drive id
      

      See what your output is.

      J 1 Reply Last reply Dec 3, 2022, 3:18 AM Reply Quote 0
      • J
        JKnott @Understudy
        last edited by Dec 3, 2022, 3:18 AM

        @understudy

        diskinfo -v ada0
        ada0
        512 # sectorsize
        32017047552 # mediasize in bytes (30G)
        62533296 # mediasize in sectors
        0 # stripesize
        0 # stripeoffset
        62037 # Cylinders according to firmware.
        16 # Heads according to firmware.
        63 # Sectors according to firmware.
        Hoodisk SSD # Disk descr.
        LAMLCCC11224589 # Disk ident.
        Yes # TRIM/UNMAP support
        0 # Rotation rate in RPM
        Not_Zoned # Zone Mode

        However, fdisk shows:
        parameters extracted from in-core disklabel are:
        cylinders=62037 heads=16 sectors/track=63 (1008 blks/cyl)

        Figures below won't work with BIOS for partitions not in cyl 1
        parameters to be used for BIOS calculations are:
        cylinders=62037 heads=16 sectors/track=63 (1008 blks/cyl)

        Media sector size is 512
        Warning: BIOS sector numbering starts with sector 1
        Information from DOS bootblock is:
        The data for partition 1 is:
        sysid 238 (0xee),(EFI GPT)
        start 1, size 62533295 (30533 Meg), flag 0
        beg: cyl 0/ head 0/ sector 2;
        end: cyl 1023/ head 255/ sector 63
        The data for partition 2 is:
        <UNUSED>
        The data for partition 3 is:
        <UNUSED>
        The data for partition 4 is:
        <UNUSED>

        So, 30M is in use, with 3 unused partitions of unknown size.

        So, it appears

        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...

        U 1 Reply Last reply Dec 3, 2022, 4:00 AM Reply Quote 0
        • U
          Understudy @JKnott
          last edited by Understudy Dec 3, 2022, 4:01 AM Dec 3, 2022, 4:00 AM

          @jknott yes the disklabel only shows 30G, so something is off with the disk. It may need to be redone. If you say it is 64G and that is not what is showing then there is a possibly the block count is off. So you may want to wipe the disk and start over.

          J 1 Reply Last reply Dec 3, 2022, 1:28 PM Reply Quote 0
          • J
            JKnott @Understudy
            last edited by Dec 3, 2022, 1:28 PM

            @understudy I wonder if this is because it came with an unlicenced copy of Windows installed, so that the computer could be tested. As I said, I'm just curious as I'm not even using that one partition.

            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...

            U 1 Reply Last reply Dec 3, 2022, 7:39 PM Reply Quote 0
            • U
              Understudy @JKnott
              last edited by Dec 3, 2022, 7:39 PM

              @jknott It's possible. But it should see the windows partition. The fact that is not shown is concerning.

              J 1 Reply Last reply Dec 3, 2022, 8:44 PM Reply Quote 0
              • J
                JKnott @Understudy
                last edited by JKnott Dec 3, 2022, 8:46 PM Dec 3, 2022, 8:44 PM

                @understudy

                No, I deleted Windows when I installed pfSense. However, I didn't do anything to change the partitions. I could be wrong (I thought I was wrong once, but I was mistaken.), but I don't recall partitioning coming up when installing pfSense. When installing Linux, at least openSUSE, changing the partitions is always an option.

                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...

                F U 2 Replies Last reply Dec 3, 2022, 9:56 PM Reply Quote 0
                • F
                  fireodo @JKnott
                  last edited by fireodo Dec 4, 2022, 1:40 PM Dec 3, 2022, 9:56 PM

                  @jknott said in pfSense partition size?:

                  No, I deleted Windows when I installed pfSense.

                  Sometimes this is not enough. Some OS leave a SSD/HDD with some interesting partitioning schemes. I had situations where only with Gparted (Linux) or gpart (freeBSD) I could regain the whole space on a drive and in some special cases I had to use special tools from the manufacturer to Low-Level reformat the drive to regain the full size.
                  Must not be in your case but its possible ...

                  My 2 cents,
                  fireodo

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.7.2 CE
                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                  1 Reply Last reply Reply Quote 0
                  • U
                    Understudy @JKnott
                    last edited by Dec 3, 2022, 10:46 PM

                    @jknott I would see if you can use a live FreeBSD or Linux version and see if you can gpart destroy all the partitions make sure the superblock is correct. You then should see the full size of the SSD.

                    gpart is a wonderful program to deal with stubborn disks that will not yield to your wants and needs.

                    J 1 Reply Last reply Dec 4, 2022, 1:00 AM Reply Quote 0
                    • J
                      JKnott @Understudy
                      last edited by Dec 4, 2022, 1:00 AM

                      @understudy

                      I'm not worried about it. I was just curious if it was something pfSense did by default. As it is, I'm only using 4% of that 30 GB. I didn't notice the 4 partitions until today, but I assume it's something the computer builder did.

                      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...

                      U 1 Reply Last reply Dec 4, 2022, 1:43 AM Reply Quote 0
                      • U
                        Understudy @JKnott
                        last edited by Dec 4, 2022, 1:43 AM

                        @jknott usually you can set your partitions in pfsense when you do the install.

                        https://docs.netgate.com/pfsense/en/latest/install/install-walkthrough.html

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Dec 4, 2022, 3:25 PM

                          What does the SMART data show? How do you know it's a 64G drive? It sure looks like 32G...

                          J 1 Reply Last reply Dec 4, 2022, 3:56 PM Reply Quote 1
                          • J
                            JKnott @stephenw10
                            last edited by Dec 4, 2022, 3:56 PM

                            @stephenw10

                            Apparently it is a 32 GB. I thought I bought a 64. The invoice doesn't say and the web site shows both 32 & 64 available. On the Ali Express site, you select the options you want to build the computer.

                            Well, not a problem. As I mentioned, I'm only using 4% of the 24 GB partition.

                            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 1
                            13 out of 13
                            • First post
                              13/13
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received