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

    Choosing the partions for TNSR 23.02

    Problems Installing or Upgrading TNSR Software
    2
    4
    904
    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.
    • Dobby_D
      Dobby_
      last edited by

      Thanks to you first to chime in to help me solving out my problem.

      I was installing the TNSR, setting up interfaces, creating a SSHv2 key pair and then I want to update the entire system
      (underlying Ubuntu 22.04?) and I was here and there running out of disk space! It was often more the /usr/........ disk space
      that was running full and this message was shown more then once;

      Failed to write file “/usr/share/glib-2.0/schemas/gschemas.compiled.YHQH21”: write() failed: No space left on device
      

      Is there something like a partition table that could be
      right shown with some "let us call it" well known numbers
      that I will not running out of space here and there?

      I have here an PC Engines APU4D4 with 64 GB Transcend
      mSATA, Compex WLE200nx and a miniPCIe GPS card from
      uBlox. All will be detected but if it comes to install some packets on top and/or an update, it will be even the same
      procedure, running out of space.

      So my main question is the following; "How much space may be well for all partitions"?

      Perhaps I have some to great and some to small?
      Here is the entire table of all partiotions

      frank@lankeeper:/$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
      NAME   FSTYPE   SIZE MOUNTPOINT        LABEL
      loop0          63,3M /snap/core20/1822
      loop1         111,9M /snap/lxd/24322
      loop2          49,8M /snap/snapd/18357
      loop3          49,8M /snap/snapd/18596
      loop4          63,3M /snap/core20/1852
      sda            59,6G
      ├─sda1            1M
      ├─sda2 btrfs      4G /boot
      ├─sda3 ext4      10G /
      ├─sda4 swap       4G [SWAP]
      ├─sda5 ext4      10G /home
      ├─sda6 ext4       5G /srv
      ├─sda7 ext4       5G /usr
      ├─sda8 ext4      10G /var
      └─sda9 ext4    11,6G /var/lib
      frank@lankeeper:/$
      
      

      Perhaps someone is looking over that table and can help
      me to find the right amount of diskspace for each partition.

      With upgrading the Ubuntu system it will use;

      • 95 MB for system updates
      • 600 MB for programs such gps, bluetooth, WiFi that`s it.

      #~. @Dobby

      Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
      PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
      PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

      DerelictD 1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate @Dobby_
        last edited by Derelict

        @dobby_

        Did just using the installer defaults not work?

        Why are we talking about wifi on a tnsr node? GPS?

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        Dobby_D 1 Reply Last reply Reply Quote 1
        • Dobby_D
          Dobby_ @Derelict
          last edited by

          @derelict said in Choosing the partions for TNSR 23.02:

          @dobby_

          Did just using the installer defaults not work?

          Yes it was going fine before but from 64 GB mSATA it
          left ~28 GB free and so I was installing once more again
          with manual partitioning the entire (full) mSATA.
          So I was thinking someone will be having some edge data
          well to know, what kind of partition size it must be or will
          be the best.

          Why are we talking about wifi on a tnsr node?

          It is for the home environment and it is sorted with WiFi
          to get wireless to the web configurator. An old card from
          the former pfSense, there I am using now a SparkLan WPEA-127n 3x3 N.

          It is sorted with GPS because it is one of the best NTP
          source if the WAN link will not working or is "broken".
          12 € with antennas sold as a set.

          Ok it is solved because I was fast and clean order a greater mSATA ssd with enough space!

          #~. @Dobby

          Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
          PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
          PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

          1 Reply Last reply Reply Quote 0
          • Dobby_D
            Dobby_
            last edited by

            I wan to report back to that point, I got a greater mSATA
            with 256 GB space and were installing all partitions once more again, and now all is fine for me, with no hassle or
            problems running out of space.

            frank@lankeeper:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
            NAME    FSTYPE     SIZE MOUNTPOINT                    LABEL
            loop0   squashfs  63.3M /snap/core20/1822
            loop1   squashfs 111.9M /snap/lxd/24322
            loop2   squashfs  49.8M /snap/snapd/18357
            loop3   squashfs 116.8M /snap/core/14946
            loop4   squashfs   9.6M /snap/canonical-livepatch/209
            sda              238.5G
            ├─sda1               1M
            ├─sda2  btrfs        5G /boot
            ├─sda3  ext4        20G /
            ├─sda4  ext4        20G /home
            ├─sda5  ext4        20G /srv
            ├─sda6  ext4        20G /usr
            ├─sda7  ext4        20G /var
            ├─sda8  ext4        20G /var/lib
            ├─sda9  ext4        20G /usr/local
            ├─sda10 ext4        20G /srv/www
            ├─sda11 ext4        20G /srv/ftp
            ├─sda12 ext4        20G /srv/rsync
            ├─sda13 ext4        15G /tmp
            ├─sda14 swap         4G [SWAP]
            └─sda15 ext4      14.5G /var/tmp
            
            

            #~. @Dobby

            Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
            PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
            PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

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