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

    no crashdump created when using auto install on ZFS mirror

    CE 2.8.0 Development Snapshots
    2
    10
    815
    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.
    • w0wW
      w0w
      last edited by

      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.

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w
          last edited by w0w

          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
          • w0wW
            w0w
            last edited by w0w

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

            1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense @w0w
              last edited by

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

              w0wW 1 Reply Last reply Reply Quote 0
              • w0wW
                w0w @NollipfSense
                last edited by w0w

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

                NollipfSenseN 1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense @w0w
                  last edited by

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

                  w0wW 1 Reply Last reply Reply Quote 0
                  • w0wW
                    w0w @NollipfSense
                    last edited by w0w

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

                    NollipfSenseN 1 Reply Last reply Reply Quote 0
                    • NollipfSenseN
                      NollipfSense @w0w
                      last edited by

                      @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
                      • NollipfSenseN
                        NollipfSense
                        last edited by

                        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.