Netgate 4100 disk
-
@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.
-
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.
-
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
-
@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)
-
This post is deleted! -
@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 GbSo, 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/
-
@gertjan said in Netgate 4100 disk:
rawuuid: 6a2f135c-af59-11ec-b93b-90ec7729392c
Yes, that's the GPTID of nvd0p3.
-
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 ? -
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
-
@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 :
I started the stopwatch ;)
-
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 :
-
-