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

    Another Netgate with storage failure, 6 in total so far

    Official Netgate® Hardware
    32
    264
    38.8k
    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 @fireodo
      last edited by

      @fireodo
      A wonderful idea and discovery! It seems quite reasonable not to synchronize the tmp folder and 2 minutes delay for transaction writes. Good alternative to ram disks if it can not be used for some reason.

      fireodoF 1 Reply Last reply Reply Quote 0
      • fireodoF
        fireodo @w0w
        last edited by

        @w0w said in Another Netgate with storage failure, 6 in total so far:

        2 minutes delay

        PS. If you test you can set the delay to greater values de amount of writing rate will decrease but you have a greater risk of loosing data when a power failure comes in ... (it reduce the robustness of ZFS filesystem)

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.7.2 CE
        Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

          @fireodo

          In the case of a firewall, I think it is acceptable.
          Most critical logs should be sent to an external syslog server, and I don't see any risks that could compromise the system. I can't think of any scenarios where this would be critical for pfSense, but I might be wrong. I don't know—some major updates are also managed by BE and shouldn't be affected.

          1 Reply Last reply Reply Quote 0
          • P
            Patch @andrew_cb
            last edited by Patch

            @andrew_cb said in Another Netgate with storage failure, 6 in total so far:

            it would appear that ZFS itself is the major cause of the increased write activity

            That is my understanding. ZFS results in significant write amplification but as a result is more robust on power failure.

            But I thought later installs of pfsense did not use ZFS for temporary files.

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

              /var should be standard sync by default anyway, was yours not?

              fireodoF JonathanLeeJ 2 Replies Last reply Reply Quote 0
              • fireodoF
                fireodo @stephenw10
                last edited by fireodo

                @stephenw10 said in Another Netgate with storage failure, 6 in total so far:

                /var should be standard sync by default anyway, was yours not?

                It was, but I set it to disabled! (my decision)

                Here the output of my zfs get -r sync zroot

                NAME                              PROPERTY  VALUE     SOURCE
                zroot                             sync      standard  local
                zroot/ROOT                        sync      standard  inherited from zroot
                zroot/ROOT/default                sync      standard  inherited from zroot
                zroot/ROOT/default/var_cache_pkg  sync      standard  inherited from zroot
                zroot/ROOT/default/var_db_pkg     sync      standard  inherited from zroot
                zroot/reservation                 sync      standard  inherited from zroot
                zroot/tmp                         sync      disabled  local
                zroot/var                         sync      disabled  local
                

                Edit: The firewall is working with this settings since 08.2021.
                I experimented also with huge delays (up to 1800s what make the amount of daily written data to go down to 0,28GBw/day ...)
                Its up to you to consider what weights more to you! (with a eMMC that cannot be replaced easily, I guess its better to go with that risk!)

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.7.2 CE
                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                JonathanLeeJ 1 Reply Last reply Reply Quote 1
                • JonathanLeeJ
                  JonathanLee @fireodo
                  last edited by JonathanLee

                  @fireodo

                  In 2100-max

                  zfs get -r sync zroot

                  Shell Output - zfs get -r sync zroot
                  cannot open 'zroot': dataset does not exist

                  Shell Output - zpool status -x
                  all pools are healthy

                  Shell Output - zfs get -r sync
                  NAME                                                                                PROPERTY  VALUE     SOURCE
                  pfSense                                                                             sync      standard  default
                  pfSense/ROOT                                                                        sync      standard  default
                  pfSense/ROOT/23_05_01_clone                                                         sync      standard  default
                  pfSense/ROOT/23_05_01_clone/cf                                                      sync      standard  default
                  pfSense/ROOT/23_05_01_clone/var_db_pkg                                              sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4                                                          sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4@2024-01-12-11:46:05-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv4@2024-02-29-08:52:57-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv4@2024-04-01-12:32:27-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv4@2024-06-27-11:52:26-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv4@2024-07-03-09:09:28-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv4@2025-01-20-10:11:49-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv4/cf                                                       sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4/cf@2025-01-20-10:11:49-0                                 sync      -         -
                  pfSense/ROOT/23_05_01_ipv4/var_cache_pkg                                            sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4/var_cache_pkg@2025-01-20-10:11:49-0                      sync      -         -
                  pfSense/ROOT/23_05_01_ipv4/var_db_pkg                                               sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4/var_db_pkg@2025-01-20-10:11:49-0                         sync      -         -
                  pfSense/ROOT/23_05_01_ipv4_Backup                                                   sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4_Backup/cf                                                sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4_Backup/var_cache_pkg                                     sync      standard  default
                  pfSense/ROOT/23_05_01_ipv4_Backup/var_db_pkg                                        sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6                                                          sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6@2024-07-25-15:54:45-0                                    sync      -         -
                  pfSense/ROOT/23_05_01_ipv6/cf                                                       sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6/var_db_pkg                                               sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy                                   sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf                                sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-01-12-11:46:05-0          sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-02-29-08:52:57-0          sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-04-01-12:32:27-0          sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-06-27-11:52:26-0          sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-07-25-15:54:45-0          sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg                        sync      standard  default
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-01-12-11:46:05-0  sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-02-29-08:52:57-0  sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-04-01-12:32:27-0  sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-06-27-11:52:26-0  sync      -         -
                  pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-07-25-15:54:45-0  sync      -         -
                  pfSense/ROOT/23_09_01_ipv4_20240703094025                                           sync      standard  default
                  pfSense/ROOT/23_09_01_ipv4_20240703094025/cf                                        sync      standard  default
                  pfSense/ROOT/23_09_01_ipv4_20240703094025/var_cache_pkg                             sync      standard  default
                  pfSense/ROOT/23_09_01_ipv4_20240703094025/var_db_pkg                                sync      standard  default
                  pfSense/ROOT/24_03_01_ipv4                                                          sync      standard  default
                  pfSense/ROOT/24_03_01_ipv4/cf                                                       sync      standard  default
                  pfSense/ROOT/24_03_01_ipv4/var_cache_pkg                                            sync      standard  default
                  pfSense/ROOT/24_03_01_ipv4/var_db_pkg                                               sync      standard  default
                  pfSense/ROOT/24_03_01_ipv6_20250113135850                                           sync      standard  default
                  pfSense/ROOT/24_03_01_ipv6_20250113135850@2024-07-03-09:40:36-0                     sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850@2024-07-23-10:05:22-0                     sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850@2025-01-13-13:59:02-0                     sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/cf                                        sync      standard  default
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2024-07-03-09:09:28-0                  sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2024-07-03-09:40:36-0                  sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2024-07-23-10:05:22-0                  sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2025-01-13-13:59:02-0                  sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg                             sync      standard  default
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2024-07-03-09:09:28-0       sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2024-07-03-09:40:36-0       sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2024-07-23-10:05:22-0       sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2025-01-13-13:59:02-0       sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg                                sync      standard  default
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2024-07-03-09:09:28-0          sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2024-07-03-09:40:36-0          sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2024-07-23-10:05:22-0          sync      -         -
                  pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2025-01-13-13:59:02-0          sync      -         -
                  pfSense/ROOT/auto-default-20240112115753                                            sync      standard  default
                  pfSense/ROOT/auto-default-20240112115753@2024-01-12-11:57:53-0                      sync      -         -
                  pfSense/ROOT/auto-default-20240112115753/cf                                         sync      standard  default
                  pfSense/ROOT/auto-default-20240112115753/cf@2024-01-12-11:57:53-0                   sync      -         -
                  pfSense/ROOT/auto-default-20240112115753/var_cache_pkg                              sync      standard  default
                  pfSense/ROOT/auto-default-20240112115753/var_cache_pkg@2024-01-12-11:57:53-0        sync      -         -
                  pfSense/ROOT/auto-default-20240112115753/var_db_pkg                                 sync      standard  default
                  pfSense/ROOT/auto-default-20240112115753/var_db_pkg@2024-01-12-11:57:53-0           sync      -         -
                  pfSense/ROOT/quick-20240401123227                                                   sync      standard  default
                  pfSense/ROOT/quick-20240401123227/cf                                                sync      standard  default
                  pfSense/ROOT/quick-20240401123227/var_db_pkg                                        sync      standard  default
                  pfSense/home                                                                        sync      standard  default
                  pfSense/reservation                                                                 sync      standard  default
                  pfSense/tmp                                                                         sync      standard  default
                  pfSense/var                                                                         sync      standard  default
                  pfSense/var/cache                                                                   sync      standard  default
                  pfSense/var/db                                                                      sync      standard  default
                  pfSense/var/log                                                                     sync      standard  default
                  pfSense/var/tmp
                  

                  Make sure to upvote

                  fireodoF 1 Reply Last reply Reply Quote 0
                  • JonathanLeeJ
                    JonathanLee @stephenw10
                    last edited by

                    @stephenw10 is that a setting on M.2 sata SSDs and NVMe drives we should leave be?

                    Make sure to upvote

                    1 Reply Last reply Reply Quote 0
                    • fireodoF
                      fireodo @JonathanLee
                      last edited by fireodo

                      @JonathanLee said in Another Netgate with storage failure, 6 in total so far:

                      zfs get -r sync zroot

                      replace "zroot" with "pfSense" in your case!

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.7.2 CE
                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                      JonathanLeeJ 1 Reply Last reply Reply Quote 1
                      • JonathanLeeJ
                        JonathanLee @fireodo
                        last edited by

                        @fireodo

                        
                        Shell Output - zfs get -r sync pfSense
                        NAME                                                                                PROPERTY  VALUE     SOURCE
                        pfSense                                                                             sync      standard  default
                        pfSense/ROOT                                                                        sync      standard  default
                        pfSense/ROOT/23_05_01_clone                                                         sync      standard  default
                        pfSense/ROOT/23_05_01_clone/cf                                                      sync      standard  default
                        pfSense/ROOT/23_05_01_clone/var_db_pkg                                              sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4                                                          sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4@2024-01-12-11:46:05-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv4@2024-02-29-08:52:57-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv4@2024-04-01-12:32:27-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv4@2024-06-27-11:52:26-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv4@2024-07-03-09:09:28-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv4@2025-01-20-10:11:49-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv4/cf                                                       sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4/cf@2025-01-20-10:11:49-0                                 sync      -         -
                        pfSense/ROOT/23_05_01_ipv4/var_cache_pkg                                            sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4/var_cache_pkg@2025-01-20-10:11:49-0                      sync      -         -
                        pfSense/ROOT/23_05_01_ipv4/var_db_pkg                                               sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4/var_db_pkg@2025-01-20-10:11:49-0                         sync      -         -
                        pfSense/ROOT/23_05_01_ipv4_Backup                                                   sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4_Backup/cf                                                sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4_Backup/var_cache_pkg                                     sync      standard  default
                        pfSense/ROOT/23_05_01_ipv4_Backup/var_db_pkg                                        sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6                                                          sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6@2024-07-25-15:54:45-0                                    sync      -         -
                        pfSense/ROOT/23_05_01_ipv6/cf                                                       sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6/var_db_pkg                                               sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy                                   sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf                                sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-01-12-11:46:05-0          sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-02-29-08:52:57-0          sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-04-01-12:32:27-0          sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-06-27-11:52:26-0          sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/cf@2024-07-25-15:54:45-0          sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg                        sync      standard  default
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-01-12-11:46:05-0  sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-02-29-08:52:57-0  sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-04-01-12:32:27-0  sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-06-27-11:52:26-0  sync      -         -
                        pfSense/ROOT/23_05_01_ipv6_non_website_test_proxy/var_db_pkg@2024-07-25-15:54:45-0  sync      -         -
                        pfSense/ROOT/23_09_01_ipv4_20240703094025                                           sync      standard  default
                        pfSense/ROOT/23_09_01_ipv4_20240703094025/cf                                        sync      standard  default
                        pfSense/ROOT/23_09_01_ipv4_20240703094025/var_cache_pkg                             sync      standard  default
                        pfSense/ROOT/23_09_01_ipv4_20240703094025/var_db_pkg                                sync      standard  default
                        pfSense/ROOT/24_03_01_ipv4                                                          sync      standard  default
                        pfSense/ROOT/24_03_01_ipv4/cf                                                       sync      standard  default
                        pfSense/ROOT/24_03_01_ipv4/var_cache_pkg                                            sync      standard  default
                        pfSense/ROOT/24_03_01_ipv4/var_db_pkg                                               sync      standard  default
                        pfSense/ROOT/24_03_01_ipv6_20250113135850                                           sync      standard  default
                        pfSense/ROOT/24_03_01_ipv6_20250113135850@2024-07-03-09:40:36-0                     sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850@2024-07-23-10:05:22-0                     sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850@2025-01-13-13:59:02-0                     sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/cf                                        sync      standard  default
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2024-07-03-09:09:28-0                  sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2024-07-03-09:40:36-0                  sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2024-07-23-10:05:22-0                  sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/cf@2025-01-13-13:59:02-0                  sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg                             sync      standard  default
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2024-07-03-09:09:28-0       sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2024-07-03-09:40:36-0       sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2024-07-23-10:05:22-0       sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_cache_pkg@2025-01-13-13:59:02-0       sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg                                sync      standard  default
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2024-07-03-09:09:28-0          sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2024-07-03-09:40:36-0          sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2024-07-23-10:05:22-0          sync      -         -
                        pfSense/ROOT/24_03_01_ipv6_20250113135850/var_db_pkg@2025-01-13-13:59:02-0          sync      -         -
                        pfSense/ROOT/auto-default-20240112115753                                            sync      standard  default
                        pfSense/ROOT/auto-default-20240112115753@2024-01-12-11:57:53-0                      sync      -         -
                        pfSense/ROOT/auto-default-20240112115753/cf                                         sync      standard  default
                        pfSense/ROOT/auto-default-20240112115753/cf@2024-01-12-11:57:53-0                   sync      -         -
                        pfSense/ROOT/auto-default-20240112115753/var_cache_pkg                              sync      standard  default
                        pfSense/ROOT/auto-default-20240112115753/var_cache_pkg@2024-01-12-11:57:53-0        sync      -         -
                        pfSense/ROOT/auto-default-20240112115753/var_db_pkg                                 sync      standard  default
                        pfSense/ROOT/auto-default-20240112115753/var_db_pkg@2024-01-12-11:57:53-0           sync      -         -
                        pfSense/ROOT/quick-20240401123227                                                   sync      standard  default
                        pfSense/ROOT/quick-20240401123227/cf                                                sync      standard  default
                        pfSense/ROOT/quick-20240401123227/var_db_pkg                                        sync      standard  default
                        pfSense/home                                                                        sync      standard  default
                        pfSense/reservation                                                                 sync      standard  default
                        pfSense/tmp                                                                         sync      standard  default
                        pfSense/var                                                                         sync      standard  default
                        pfSense/var/cache                                                                   sync      standard  default
                        pfSense/var/db                                                                      sync      standard  default
                        pfSense/var/log                                                                     sync      standard  default
                        pfSense/var/tmp                                                                     sync      standard  default
                        
                        

                        Make sure to upvote

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

                          Changing the sync settings by itself doesn't make much difference in my testing. Setting the txg delta value higher makes a far larger difference but that increases the possibility of filesystem issues. And it's globally set for all the zfs mount points not just var and tmp. So there's a tradeoff.

                          fireodoF 1 Reply Last reply Reply Quote 2
                          • GertjanG
                            Gertjan
                            last edited by

                            To offset any potential issue when adapting ZFS : as this is uncharted theory, at least, it is on this forum, just to be sure : use and maintain a working UPS.
                            I think this is valid : way more complex files systems are way more complex to repair.

                            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
                            • fireodoF
                              fireodo @stephenw10
                              last edited by

                              @stephenw10 said in Another Netgate with storage failure, 6 in total so far:

                              Setting the txg delta value higher makes a far larger difference but that increases the possibility of filesystem issues.

                              Yes, thats the bitter pill you have to swallow ...

                              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                              pfsense 2.7.2 CE
                              Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                                Be good if you could set it for /tmp only..... 🤔

                                fireodoF dennypageD 2 Replies Last reply Reply Quote 0
                                • fireodoF
                                  fireodo @stephenw10
                                  last edited by

                                  @stephenw10 said in Another Netgate with storage failure, 6 in total so far:

                                  Be good if you could set it for /tmp only..... 🤔

                                  Maybe better because some inconsistencys in /var could cause trouble ...🤔

                                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                  pfsense 2.7.2 CE
                                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                                    Well you can lose /var and /tmp entirely (if they are ramdisks) and the system will still boot back and replace them.

                                    fireodoF 1 Reply Last reply Reply Quote 1
                                    • fireodoF
                                      fireodo @stephenw10
                                      last edited by fireodo

                                      @stephenw10 said in Another Netgate with storage failure, 6 in total so far:

                                      Well you can lose /var and /tmp entirely (if they are ramdisks) and the system will still boot back and replace them.

                                      So, you agree with me, letting /tmp AND /var "out" of sync would do no harm?

                                      Fact is - since 2021 I had reboots but no problems with these settings. Power failure I have not because my pfsense hangs on a UPS.

                                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                      pfsense 2.7.2 CE
                                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                      dennypageD 1 Reply Last reply Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee
                                        last edited by JonathanLee

                                        Side note: I keep thinking about a smart Optane NVMe
                                        drive that leverages ram for the constant rewrites and a capacitor/battery for power fail to write to SSD. Some Symantec and Veritas systems as well as TinTri systems have such a capacitor. 4200 systems need the NVMe drive. the needs of zfs are burning up onboard components

                                        IMG_1747.png

                                        Put specific items in the ram of the nvme that burn up drives with zfs in this type of environment.

                                        Make sure to upvote

                                        M 1 Reply Last reply Reply Quote 0
                                        • dennypageD
                                          dennypage @fireodo
                                          last edited by

                                          @stephenw10 said in Another Netgate with storage failure, 6 in total so far:

                                          Well you can lose /var and /tmp entirely (if they are ramdisks) and the system will still boot back and replace them.

                                          @fireodo said in Another Netgate with storage failure, 6 in total so far:

                                          So, you agree with me, letting /tmp AND /var "out" of sync would do no harm?

                                          That's not the same thing. Use of ramdisks is a configuration driven thing, and the system knows that /var must be recreated at boot. There is a lot of data stored in /var, and if it's corrupted you could encounter any number of problems.

                                          IMO, you're fine letting /tmp go to pot, but not /var.

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

                                            Yup when ramdisks are enabled it triggers a bunch of things at boot and shutdown. But it might be possible....

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.