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

SG2100 128GB SSD and Swap

Scheduled Pinned Locked Moved General pfSense Questions
swapcrashing
28 Posts 3 Posters 1.8k 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.
  • T
    The Party of Hell No @stephenw10
    last edited by May 7, 2024, 6:15 PM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by May 7, 2024, 8:35 PM

      Unclear what your question is? You appear to have a 1GB SWAP partition and it's configured correctly if it appears in the gui.

      T 1 Reply Last reply May 8, 2024, 12:52 AM Reply Quote 0
      • T
        The Party of Hell No @stephenw10
        last edited by May 8, 2024, 12:52 AM

        @stephenw10
        Sorry, I was not clear... the gui, system Information says the swap file is 1024mb but the swap file according to gpart is 1.0g. My thinking is these two should match? Am I wrong about that?

        J 1 Reply Last reply May 8, 2024, 1:08 AM Reply Quote 1
        • J
          JonathanLee @The Party of Hell No
          last edited by May 8, 2024, 1:08 AM

          @The-Party-of-Hell-No

          Your in luck that is 1GB

          64MB X 2 = 128MB a fourth of a 1GB

          128MB X 2 = 512MB or half a 1GB

          512 X 2 = 1024MB or Also known as 1GB :)

          Make sure to upvote

          T 1 Reply Last reply May 8, 2024, 1:17 AM Reply Quote 1
          • T
            The Party of Hell No @JonathanLee
            last edited by The Party of Hell No May 8, 2024, 1:19 AM May 8, 2024, 1:17 AM

            @JonathanLee said in SG2100 128GB SSD and Swap:

            @The-Party-of-Hell-No

            Your in luck that is 1GB

            64MB X 2 = 128MB a fourth of a 1GB

            128MB X 2 = 512MB or half a 1GB

            512 X 2 = 1024MB or Also known as 1GB :)

            Ahh shit, I sound like a bumpkin... never mind.
            Hey could someone upvote me so I am not stopped from submitting posts because I have to wait 140 seconds as a new user.

            1 Reply Last reply Reply Quote 1
            • S
              stephenw10 Netgate Administrator
              last edited by May 8, 2024, 2:39 AM

              Your rep is over 5 now you should be good.

              T 1 Reply Last reply May 8, 2024, 1:24 PM Reply Quote 0
              • J JonathanLee referenced this topic on May 8, 2024, 4:19 AM
              • T
                The Party of Hell No @stephenw10
                last edited by May 8, 2024, 1:24 PM

                @stephenw10 Thank you.

                1 Reply Last reply Reply Quote 0
                • J
                  JonathanLee
                  last edited by May 9, 2024, 10:39 PM

                  Quick Question @stephenw10 @jimp

                  I am testing SWAP on a USB drive and I used gpart to create a swap partition on the drive, I have it referenced and it is working...

                  Screenshot 2024-05-09 at 15.35.46.png

                  But it doesn't show usage here...
                  Screenshot 2024-05-09 at 15.36.07.png

                  But it does here

                  Screenshot 2024-05-09 at 15.37.07.png

                  This all seemed to math up with the SSD use

                  Screenshot 2024-05-09 at 15.37.46.png

                  Geom name: ada0
                  modified: false
                  state: OK
                  fwheads: 16
                  fwsectors: 63
                  last: 250069679
                  first: 1
                  entries: 4
                  scheme: MBR
                  Providers:
                  1. Name: ada0s1
                     Mediasize: 272629760 (260M)
                     Sectorsize: 512
                     Stripesize: 0
                     Stripeoffset: 512
                     Mode: r0w0e0
                     efimedia: HD(1,MBR,00000000,0x1,0x82000)
                     rawtype: 239
                     length: 272629760
                     offset: 512
                     type: efi
                     index: 1
                     end: 532480
                     start: 1
                  2. Name: ada0s2
                     Mediasize: 67108864 (64M)
                     Sectorsize: 512
                     Stripesize: 0
                     Stripeoffset: 272630272
                     Mode: r0w0e0
                     efimedia: HD(2,MBR,00000000,0x82001,0x20000)
                     rawtype: 11
                     length: 67108864
                     offset: 272630272
                     type: fat32
                     index: 2
                     end: 663552
                     start: 532481
                  3. Name: ada0s3
                     Mediasize: 127695937024 (119G)
                     Sectorsize: 512
                     Stripesize: 0
                     Stripeoffset: 339739136
                     Mode: r1w1e2
                     efimedia: HD(3,MBR,00000000,0xa2001,0xedda2af)
                     attrib: active
                     rawtype: 165
                     length: 127695937024
                     offset: 339739136
                     type: freebsd
                     index: 3
                     end: 250069679
                     start: 663553
                  Consumers:
                  1. Name: ada0
                     Mediasize: 128035676160 (119G)
                     Sectorsize: 512
                     Mode: r1w1e3
                  
                  Geom name: ada0s3
                  modified: false
                  state: OK
                  fwheads: 16
                  fwsectors: 63
                  last: 249406126
                  first: 0
                  entries: 8
                  scheme: BSD
                  Providers:
                  1. Name: ada0s3a
                     Mediasize: 120590425600 (112G)
                     Sectorsize: 512
                     Stripesize: 0
                     Stripeoffset: 339747328
                     Mode: r1w1e1
                     rawtype: 27
                     length: 120590425600
                     offset: 8192
                     type: freebsd-zfs
                     index: 1
                     end: 235528190
                     start: 16
                  2. Name: ada0s3b
                     Mediasize: 7105150976 (6.6G)
                     Sectorsize: 512
                     Stripesize: 0
                     Stripeoffset: 120930172928
                     Mode: r0w0e0
                     rawtype: 1
                     length: 7105150976
                     offset: 120590433792
                     type: freebsd-swap
                     index: 2
                     end: 249405438
                     start: 235528191
                  Consumers:
                  1. Name: ada0s3
                     Mediasize: 127695937024 (119G)
                     Sectorsize: 512
                     Stripesize: 0
                     Stripeoffset: 339739136
                     Mode: r1w1e2
                  

                  Just to confirm this is correct right I can hear the drive running seeking etc

                  I checked the ada0 made sure it would work unplugged it to make use it was the right drive name also

                  Make sure to upvote

                  1 Reply Last reply Reply Quote 0
                  • J
                    JonathanLee
                    last edited by May 9, 2024, 10:40 PM

                    Screenshot 2024-05-09 at 15.40.28.png

                    Disregard I spoke to soon...

                    Make sure to upvote

                    1 Reply Last reply Reply Quote 0
                    • J
                      JonathanLee
                      last edited by JonathanLee Jun 12, 2024, 7:52 PM Jun 12, 2024, 7:44 PM

                      @stephenw10 said in SG2100 128GB SSD and Swap:

                      /dev/ada0s3b

                      With use of the drive "da0" in place of "/dev/ada0s3b how can I still use the SWAP and have coredumps generate?

                      How can I still use the external drive for swap and access core dumps in /var/crashes?

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • J
                        JonathanLee
                        last edited by Jun 12, 2024, 7:55 PM

                        I need to use

                        /dev/ada0s3b for dump

                        and
                        /dev/da0 for swapping

                        can I separate them?

                        Make sure to upvote

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Jun 12, 2024, 8:29 PM

                          Not easily. Not as far as I know at least.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received