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

    512MB nano install partitioning question

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 1.4k 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.
    • A
      akula169
      last edited by

      I'm seeing the following for mounts on the 2.1 512 nano install:

      Filesystem           Size    Used   Avail Capacity  Mounted on
      /dev/ufs/pfsense0    215M    165M     33M    83%    /
      devfs                1.0k    1.0k      0B   100%    /dev
      /dev/ufs/cf           49M    1.2M     44M     3%    /cf
      /dev/md0              38M    186k     35M     1%    /tmp
      /dev/md1              57M     17M     35M    33%    /var
      devfs                1.0k    1.0k      0B   100%    /var/dhcpd/dev
      

      That accounts for about 360MB.  Where is the other ~153MB?

      Reason I'm asking is that I can no longer fit the three packages I had installed on my 2.0.x installed on the same 512MB CF.

      Obviously 2.1 takes up a bit more space.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        The nanoBSD install has 2 copies of FreeBSD in 2 partitions on the CF card. This lets you switch back and forth between version of pfSense/FreeBSD if necessary. That is where the missing space has gone. On the CF card there will also be /dev/ufs/pfsense1 - not mounted.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • A
          akula169
          last edited by

          Excellent.  I think I just found my new /usr partition :)

          Thanks for the info!

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            When you upgrade nanoBSD, it writes the new pfSense-FreeBSD OS upgrade image to the opposite partition to the one in use, then swaps the selected boot partition and reboots. So the use of both /dev/ufs/pfsense0 and /dev/ufs/pfsense1 is built deep into the system maintenance scheme. You will break all that if you scrub /dev/ufs/pfsense1 and re-use it for general data.

            It is time to make the investment in a bigger CF card.
            And probably time that the pfSense documentation states that only base systems with only minimal "real" packages are supported on 512MB CF cards.
            ("real" packages are those that have actual PBI kits that install binaries and stuff - PHP-only packages like cron, don't count)

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • A
              akula169
              last edited by

              Ah - also good to know.  Thanks again.

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