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

no crashdump created when using auto install on ZFS mirror

Scheduled Pinned Locked Moved CE 2.8.0 Development Snapshots
10 Posts 2 Posters 846 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.
  • W
    w0w
    last edited by Sep 10, 2023, 5:29 AM

    Tested also on virtual machine.
    Install 2.8 selecting Autoinstall ZFS, select zfs mirror, select disks.
    Try to produce crash dump issuing command

    sysctl debug.kdb.enter=1
    

    System begins to dump
    Expected behavior is /var/crash should contain crash dump, but nothing created or created removed for unknown reason.

    N 1 Reply Last reply Sep 30, 2023, 1:46 PM Reply Quote 0
    • W
      w0w
      last edited by Sep 10, 2023, 6:25 AM

      Savecore result
      cf2fe8e4-7776-4b13-9fd2-350886e13b41-image.png

      1 Reply Last reply Reply Quote 0
      • W
        w0w
        last edited by w0w Sep 10, 2023, 7:53 AM Sep 10, 2023, 7:52 AM

        The problem is that if we have multiple swap devices, but saving dump on the first, the original script create symlinks twice and then we have wrong device for the savecore. I fixed that by

        rc.dumpon

        This is what working for me

        dumpon_try()
        {
            local dump_device="$1"
        
            if /sbin/dumpon "$dump_device" ; then
                # Create a symlink in devfs for savecore only if it doesn't exist
                if [ ! -e "/dev/dumpdev" ]; then
                    ln -s "$dump_device" /dev/dumpdev
                fi
                # Print a message for each dump device found
                echo "Using $dump_device for dump device."
                return 0
            fi
        
            echo "Unable to specify $dump_device as a dump device."
            return 1
        }
        
        1 Reply Last reply Reply Quote 0
        • W
          w0w
          last edited by w0w Sep 10, 2023, 8:22 AM Sep 10, 2023, 8:22 AM

          https://redmine.pfsense.org/issues/14767

          1 Reply Last reply Reply Quote 0
          • N
            NollipfSense @w0w
            last edited by Sep 30, 2023, 1:46 PM

            @w0w said in no crashdump created when using auto install on ZFS mirror:

            Install 2.8

            May I asked how did you get 2.8dev image? just checked and not available...

            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

            W 1 Reply Last reply Sep 30, 2023, 6:44 PM Reply Quote 0
            • W
              w0w @NollipfSense
              last edited by w0w Sep 30, 2023, 7:17 PM Sep 30, 2023, 6:44 PM

              @NollipfSense
              I don't know. I am sure it was available at the moment of this testing.

              https://snapshots.netgate.com/amd64/pfSense_master/installer/

              N 1 Reply Last reply Oct 1, 2023, 2:52 PM Reply Quote 0
              • N
                NollipfSense @w0w
                last edited by Oct 1, 2023, 2:52 PM

                @w0w Thanks for the link but, it seems that it's still down.

                pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                W 1 Reply Last reply Oct 10, 2023, 7:08 PM Reply Quote 0
                • W
                  w0w @NollipfSense
                  last edited by w0w Oct 10, 2023, 7:10 PM Oct 10, 2023, 7:08 PM

                  @NollipfSense
                  Sorry for the late response, but works for me just fine… There is something blocking it just for you.

                  N 1 Reply Last reply Oct 30, 2023, 1:20 AM Reply Quote 0
                  • N
                    NollipfSense @w0w
                    last edited by Oct 30, 2023, 1:20 AM

                    @w0w said in no crashdump created when using auto install on ZFS mirror:

                    There is something blocking it just for you.

                    Yes, you were correct...had to add snapshots.netgate.com to DNSBL whitelist and glad you mentioned that, thank you!

                    pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                    pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                    1 Reply Last reply Reply Quote 0
                    • N
                      NollipfSense
                      last edited by Oct 30, 2023, 4:55 AM

                      So, I have installed it, not sure why now that it's clear a waste of valuable time to participate.

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                      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