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

    Netgate 4100 disk

    Official Netgate® Hardware
    5
    17
    2.0k
    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.
    • F
      Felix 4 @Gertjan
      last edited by

      @gertjan

      Thanks for reply.

      Exactly as you describe, I know well that there is a difference between a new drive, before and after installation, of for example Windows.
      I just have no experience with Netgate 4100, i.e. whether the original hard drive size is displayed, or a partition after installing Pfsense, which is what I am describing. (11G)

      So if someone answers that there is usually 11 G available on such a device, then I know that it is normal.

      I've started working with ssh, but from the 16 possible choices, I don't get insight into the partitions, so it probably requires a special command.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by stephenw10

        Choose option 8 at the console menu to access the command line. (Enter 'exit' to get back to the menu).

        At the command line run the command I showed there: geom part list
        You should see very similar output to what I posted.

        But, yes, what you;re seeing is the expected value and not any indication of a problem. ☺

        Steve

        F GertjanG 2 Replies Last reply Reply Quote 0
        • F
          Felix 4 @stephenw10
          last edited by

          @stephenw10 said in Netgate 4100 disk:

          geom part list

          Thank you Steve,

          You have enriched my day, I am happy for the help I got here. Getting to know my new 4100 is an exciting world.

          ;o)

          1 Reply Last reply Reply Quote 1
          • N
            Neha gi
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @stephenw10
              last edited by

              @stephenw10 said in Netgate 4100 disk:

              At the command line run the command I showed there: geom part list
              You should see very similar output to what I posted.

              [22.05-RELEASE][admin@pfSense.right-here.net]/root: geom part list
              Geom name: nvd0
              modified: false
              state: OK
              fwheads: 255
              fwsectors: 63
              last: 234441639
              first: 3
              entries: 4
              scheme: GPT
              Providers:
              1. Name: nvd0p1
                 Mediasize: 209715200 (200M)
                 Sectorsize: 512
                 Stripesize: 0
                 Stripeoffset: 1536
                 Mode: r0w0e0
                 efimedia: HD(1,GPT,53119e25-8838-11ec-8def-539c1f4371c1,0x3,0x64000)
                 rawuuid: 53119e25-8838-11ec-8def-539c1f4371c1
                 rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
                 label: (null)
                 length: 209715200
                 offset: 1536
                 type: efi
                 index: 1
                 end: 409602
                 start: 3
              2. Name: nvd0p2
                 Mediasize: 113922309632 (106G)
                 Sectorsize: 512
                 Stripesize: 0
                 Stripeoffset: 209716736
                 Mode: r1w1e1
                 efimedia: HD(2,GPT,53119e2b-8838-11ec-8def-539c1f4371c1,0x64003,0xd43263f)
                 rawuuid: 53119e2b-8838-11ec-8def-539c1f4371c1
                 rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
                 label: (null)
                 length: 113922309632
                 offset: 209716736
                 type: freebsd-ufs
                 index: 2
                 end: 222914113
                 start: 409603
              3. Name: nvd0p3
                 Mediasize: 5902090752 (5.5G)
                 Sectorsize: 512
                 Stripesize: 0
                 Stripeoffset: 2462876672
                 Mode: r0w0e0
                 efimedia: HD(3,GPT,6a2f135c-af59-11ec-b93b-90ec7729392c,0xd496642,0xafe561)
                 rawuuid: 6a2f135c-af59-11ec-b93b-90ec7729392c
                 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
                 label: (null)
                 length: 5902090752
                 offset: 114132026368
                 type: freebsd-swap
                 index: 3
                 end: 234441634
                 start: 222914114
              Consumers:
              1. Name: nvd0
                 Mediasize: 120034123776 (112G)
                 Sectorsize: 512
                 Mode: r1w1e2
              

              What I make of it :
              There is a device (and driver) called : nvd0 - 112G
              Partition 1 : nvd0p1 - something like a boot partition - 200 Mb
              Partition 2 : nvd0p2 - the main Freebsd root or 'pfSense' - 106 Gb
              Partition 3 : nvd0p3 - "freebsd-swap" so there is one - 5,5 Gb

              So, the swap space is there, but FreeeBSD isn't using it ?

              My /etc/fstab :

              # Device                Mountpoint      FStype  Options         Dump    Pass#
              /dev/msdosfs/EFISYS     /boot/efi       msdosfs rw,noatime,noauto       0       0
              /dev/gptid/6a2f135c-af59-11ec-b93b-90ec7729392c		none	swap	sw		0	0
              

              Where "6a2f135c-af59-11ec-b93b-90ec7729392c" is nvd0p3 ( ? )

              A device like /dev/gptid/ isn't listed under /dev/

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              stephenw10S 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator @Gertjan
                last edited by

                @gertjan said in Netgate 4100 disk:

                rawuuid: 6a2f135c-af59-11ec-b93b-90ec7729392c

                Yes, that's the GPTID of nvd0p3.

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @stephenw10
                  last edited by Gertjan

                  @stephenw10

                  My serial (4100-MAX) console access has always been set to "log to file".
                  So, when I received my device, ir was using 22.01 'as shipped' :
                  From back then

                  ....
                  Configuring crash dumps...
                  No suitable dump device was found.
                  Filesystems are clean, continuing...
                  Mounting filesystems...
                  Mounting ZFS boot environment... done.
                  
                          __
                   _ __  / _|___  ___ _ __  ___  ___      _
                  | '_ \| |_/ __|/ _ \ '_ \/ __|/ _ \   _| |_
                  | |_) |  _\__ \  __/ | | \__ \  __/  |_   _|
                  | .__/|_| |___/\___|_| |_|___/\___|    |_|
                  |_|
                  
                  
                  Welcome to Netgate pfSense Plus 22.01-RELEASE..
                  .....
                  

                  Throwing now "No suitable dump device was found" on every reboot.

                  Is it possible to 'delete' this swap partition, and use, for example,
                  /etc/rc.d/createswap ?
                  Or a command to make it available/usable for FreeBSD ?

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Well anything's possible. 😉 But I have never tried that. Especially in ZFS.

                    The fstab does not reference the gptid in any install I have here:

                    [22.05-RELEASE][admin@4100.stevew.lan]/root: cat /etc/fstab
                    # Device		Mountpoint	FStype	Options		Dump	Pass#
                    /dev/gpt/efiboot0		/boot/efi	msdosfs	rw		2	2
                    /dev/nvd0p3		none	swap	sw		0	0
                    

                    So you might try just changing that initially.

                    Steve

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @stephenw10
                      last edited by Gertjan

                      @stephenw10 said in Netgate 4100 disk:

                      So you might try just changing that initially.

                      Yeah, just like that 😕

                      I would love to try things out, but I have only one 4100, and messing around with core boot files is a scary thing.

                      I guess I'll ask for a "22.05" ISO first prepare a new USB boot drive, back the config, wait for the weekend etc ;)

                      edit :

                      Ok, done :

                      24a8f9e0-4ee8-47cc-ba2d-1f321b00a284-image.png

                      I started the stopwatch ;)

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @Gertjan
                        last edited by

                        I did it :
                        I changed

                        # Device                Mountpoint      FStype  Options         Dump    Pass#
                        /dev/msdosfs/EFISYS     /boot/efi       msdosfs rw,noatime,noauto       0       0
                        /dev/gptid/6a2f135c-af59-11ec-b93b-90ec7729392c		none	swap	sw		0 0
                        

                        for

                        # Device                Mountpoint      FStype  Options         Dump    Pass#
                        /dev/msdosfs/EFISYS     /boot/efi       msdosfs rw,noatime,noauto       0       0
                        /dev/nvd0p3		none		swap	sw		0	0
                        

                        and suddenly, after reboot, I have a swap partition :

                        0bfa1530-daf3-4c61-9a0b-ad6a3116d6f8-image.png

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        1 Reply Last reply Reply Quote 1
                        • GertjanG Gertjan referenced this topic on
                        • GertjanG Gertjan referenced this topic on
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.