• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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
    last edited by Sep 11, 2022, 8:03 AM

    I have recently bought a Netgate 4100 and see under Disks that the size is 11G and 963M has been used, i.e. a disk size of 12G.
    Looking at the data sheet it should be 16G, is there an explanation for this.?
    ;o)

    P 1 Reply Last reply Sep 11, 2022, 8:49 AM Reply Quote 0
    • P
      Patch @Felix 4
      last edited by Patch Sep 11, 2022, 8:54 AM Sep 11, 2022, 8:49 AM

      @felix-4
      At a guess

      • formatted vs un-formatted
      • Swap space
      • Bios
      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Sep 11, 2022, 1:20 PM

        Yup, ZFS formatting and SWAP:

        [22.05-RELEASE][admin@4100-2.stevew.lan]/root: geom part list
        Geom name: mmcsd0
        modified: false
        state: OK
        fwheads: 255
        fwsectors: 63
        last: 30621655
        first: 40
        entries: 128
        scheme: GPT
        Providers:
        1. Name: mmcsd0p1
           Mediasize: 209715200 (200M)
           Sectorsize: 512
           Stripesize: 512
           Stripeoffset: 0
           Mode: r0w0e0
           efimedia: HD(1,GPT,856ab062-ec12-11ec-b466-90ec771f8c3f,0x28,0x64000)
           rawuuid: 856ab062-ec12-11ec-b466-90ec771f8c3f
           rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
           label: efiboot0
           length: 209715200
           offset: 20480
           type: efi
           index: 1
           end: 409639
           start: 40
        2. Name: mmcsd0p2
           Mediasize: 524288 (512K)
           Sectorsize: 512
           Stripesize: 512
           Stripeoffset: 0
           Mode: r0w0e0
           efimedia: HD(2,GPT,857c60fa-ec12-11ec-b466-90ec771f8c3f,0x64028,0x400)
           rawuuid: 857c60fa-ec12-11ec-b466-90ec771f8c3f
           rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
           label: gptboot0
           length: 524288
           offset: 209735680
           type: freebsd-boot
           index: 2
           end: 410663
           start: 409640
        3. Name: mmcsd0p3
           Mediasize: 1073741824 (1.0G)
           Sectorsize: 512
           Stripesize: 512
           Stripeoffset: 0
           Mode: r1w1e0
           efimedia: HD(3,GPT,8585f920-ec12-11ec-b466-90ec771f8c3f,0x64800,0x200000)
           rawuuid: 8585f920-ec12-11ec-b466-90ec771f8c3f
           rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
           label: swap0
           length: 1073741824
           offset: 210763776
           type: freebsd-swap
           index: 3
           end: 2508799
           start: 411648
        4. Name: mmcsd0p4
           Mediasize: 14392754176 (13G)
           Sectorsize: 512
           Stripesize: 512
           Stripeoffset: 0
           Mode: r1w1e1
           efimedia: HD(4,GPT,858d9b82-ec12-11ec-b466-90ec771f8c3f,0x264800,0x1acf000)
           rawuuid: 858d9b82-ec12-11ec-b466-90ec771f8c3f
           rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
           label: zfs0
           length: 14392754176
           offset: 1284505600
           type: freebsd-zfs
           index: 4
           end: 30619647
           start: 2508800
        Consumers:
        1. Name: mmcsd0
           Mediasize: 15678308352 (15G)
           Sectorsize: 512
           Stripesize: 512
           Stripeoffset: 0
           Mode: r2w2e3
        

        Steve

        F 1 Reply Last reply Sep 11, 2022, 1:31 PM Reply Quote 0
        • F
          Felix 4 @stephenw10
          last edited by Sep 11, 2022, 1:31 PM

          @stephenw10 said in Netgate 4100 disk:

          5678308352

          Thanks for reply,
          I'm a little green in Linux so I don't get the full benefit of the fine data you've attached.
          Does your answer mean that I have to do something to optimize the drive, or does it mean that this is how it should be, based on the data that is in operation.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Sep 11, 2022, 4:28 PM

            I just included to show the different partitions on the storage device and so you could replicate it to check. It will be the same though unless you re-installed and selected some custom values.

            Steve

            F 1 Reply Last reply Sep 12, 2022, 7:52 AM Reply Quote 0
            • F
              Felix 4 @stephenw10
              last edited by Sep 12, 2022, 7:52 AM

              @stephenw10

              Hi Steve, thanks for your reply.

              You must bear in mind that I am, as I said, new to the subject and do not know how to see that info. I haven't found a place that shows it.
              ;o)

              G 1 Reply Last reply Sep 12, 2022, 8:20 AM Reply Quote 0
              • G
                Gertjan @Felix 4
                last edited by Sep 12, 2022, 8:20 AM

                @felix-4 said in Netgate 4100 disk:

                I haven't found a place that shows it.

                @stephenw10 was using the most important access to you pfSense ; the console or SSH.
                He showed you the partition on his drive. Just add the several mediasize together.

                Btw : when you buy a 100 Gbytes disk, and install Windows on it, you wind up having a disk "C:" with about 80 Gbytes. The rest is sued for 'other stuff'. You will find more then one partion, one of them is the C: drive, and other portions for windows internal use.

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

                F 1 Reply Last reply Sep 12, 2022, 8:47 AM Reply Quote 0
                • F
                  Felix 4 @Gertjan
                  last edited by Sep 12, 2022, 8:47 AM

                  @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
                  • S
                    stephenw10 Netgate Administrator
                    last edited by stephenw10 Sep 12, 2022, 4:03 PM Sep 12, 2022, 11:43 AM

                    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 G 2 Replies Last reply Sep 12, 2022, 2:49 PM Reply Quote 0
                    • F
                      Felix 4 @stephenw10
                      last edited by Sep 12, 2022, 2:49 PM

                      @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 Sep 20, 2022, 5:05 PM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • G
                          Gertjan @stephenw10
                          last edited by Sep 21, 2022, 6:03 AM

                          @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 ??

                          S 1 Reply Last reply Sep 21, 2022, 11:31 AM Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator @Gertjan
                            last edited by Sep 21, 2022, 11:31 AM

                            @gertjan said in Netgate 4100 disk:

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

                            Yes, that's the GPTID of nvd0p3.

                            G 1 Reply Last reply Sep 21, 2022, 2:24 PM Reply Quote 0
                            • G
                              Gertjan @stephenw10
                              last edited by Gertjan Sep 21, 2022, 2:25 PM Sep 21, 2022, 2:24 PM

                              @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
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Sep 21, 2022, 2:36 PM

                                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

                                G 1 Reply Last reply Sep 21, 2022, 3:01 PM Reply Quote 0
                                • G
                                  Gertjan @stephenw10
                                  last edited by Gertjan Sep 21, 2022, 3:06 PM Sep 21, 2022, 3:01 PM

                                  @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 :

                                  🔒 Log in to view

                                  I started the stopwatch ;)

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

                                  G 1 Reply Last reply Oct 19, 2022, 1:27 PM Reply Quote 0
                                  • G
                                    Gertjan @Gertjan
                                    last edited by Oct 19, 2022, 1:27 PM

                                    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 :

                                    🔒 Log in to view

                                    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
                                    • G Gertjan referenced this topic on Mar 14, 2023, 6:59 AM
                                    • G Gertjan referenced this topic on Mar 14, 2023, 7:07 AM
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.