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

    Dissable RRD Graphs

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 3 Posters 7.4k 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.
    • V
      VaCUm
      last edited by

      I'm running pfSense at home on a old Pentium II and i use a CF-card instead of a hard drive. I have changed /etc/platform to wrap and disabled logging to minimize disk activity.

      It worked great with a older build but since i upgraded to Beta 3 the machine reads/writes to the CF all the time.
      I want to minimize the disk activity so the CF won't fail and i suspect that it's the RRD Graph that logs the network load.

      Is there a way to disable the RRD Graphs or make it log to a Ram disk? It would actually be nice to have logging on a ram disk.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        It is logging to a ram disk, its not logging to the compact flash card.

        1 Reply Last reply Reply Quote 0
        • V
          VaCUm
          last edited by

          What is it doing if it's not the RRD-thingie? I'm starting to get worried.

          Is there a way to check what the machine is reading/writing to disk?

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            Type mount at a prompt.  It's most likely read-only and thus cannot be written to.

            1 Reply Last reply Reply Quote 0
            • V
              VaCUm
              last edited by

              mount

              /dev/ad0s1a on / (ufs, local)
              devfs on /dev (devfs, local)
              devfs on /var/dhcpd/dev (devfs, local)
              /dev/md1 on /var/db/rrd (ufs, local, soft-updates)

              Shouldn't it say Read only then?

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                Mine does…

                mount

                /dev/ufs/pfSense on / (ufs, local, read-only)

                Not sure what you have hosed, but you have hosed something good!

                1 Reply Last reply Reply Quote 0
                • V
                  VaCUm
                  last edited by

                  # cat /etc/platform
                  wrap
                  
                  # cat /etc/fstab 
                  # Device                Mountpoint      FStype  Options         Dump    Pass#
                  /dev/ad0s1a             /               ufs     rw              1       1
                  

                  should i change rw to ro?

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    Worth a shot.

                    I should add that this is not supported!

                    1 Reply Last reply Reply Quote 0
                    • V
                      VaCUm
                      last edited by

                      I know it's unsupported. I found the information about changing platform to wrap in your wiki btw (but i can't find it at the moment).

                      btw. when i changed platform to wrap the system stopped writing to disk. Exactly what happened when i did that? Does the system look in that file and changes som settings at boot time?

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Yes.

                        1 Reply Last reply Reply Quote 0
                        • V
                          VaCUm
                          last edited by

                          Then i will change it back to "pfSense", reboot, change it to wrap and reboot again. Hopefully it will change those settings and it will work as i want it to do.

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by

                            pfSense is full read write, not read only!

                            wrap or embedded are the only read only options….

                            1 Reply Last reply Reply Quote 0
                            • V
                              VaCUm
                              last edited by

                              Ok.

                              If i disable logging, platform is set to wrap and the RRD is logging to a ram disk what then could be reading/writing?

                              The CF-card will start failing if the system writes to the same block every 4 second in 14 days (i think). I'm starting to get worried about the machine.

                              one more thing. What is "missing" in the embedded version?

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by

                                Logging is always sent to a ram disk, regardless so its not going to affect the CF.  RRD logs to a ramdisk, regardless, so its not going to affect the CF.

                                Embedded is lacking package support.

                                1 Reply Last reply Reply Quote 0
                                • V
                                  VaCUm
                                  last edited by

                                  Can i use my backed up configuration from this setup if i install the embedded version?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by

                                    I would think so, yes.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      billm
                                      last edited by

                                      @VaCUm:

                                      I'm running pfSense at home on a old Pentium II and i use a CF-card instead of a hard drive. I have changed /etc/platform to wrap and disabled logging to minimize disk activity.

                                      You want 'embedded' not wrap btw.

                                      –Bill

                                      pfSense core developer
                                      blog - http://www.ucsecurity.com/
                                      twitter - billmarquette

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