Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Gregor Ratajc
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 0

    Gregor Ratajc

    @Gregor Ratajc

    413
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Gregor Ratajc Unfollow Follow

    Latest posts made by Gregor Ratajc

    • RE: Protect your Raspberry PI SD card, use Read-Only filesystem

      Hi,

      great tutorial, helped me a lot! Hopefully this will end my SD card corruption problems. One thing I noticed is that there is a constant error in syslog: frequency file /var/lib/ntp/ntp.drift.TEMP: Read-only file system - ntp wants to write driftfile but is unable to. I fixed that so that driftfile command in /etc/ntp.conf points to /tmp/ntp.drift.

      # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
      
      driftfile /tmp/ntp.drift
      

      Another thing - I added loggly integration so I'm able to debug my Pi after reboots when syslogs are gone. I kept rsyslog and followed this guide (besides Python specific logging it also adds adds syslogs).

      Some info about driftfile: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-Understanding_the_Drift_File.html

      posted in Blog articles comments
      G
      Gregor Ratajc