• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Howto make Mycontroller sd-card friendly? (Highly experimental!!)

    Scheduled Pinned Locked Moved Developers Zone
    15 Posts 5 Posters 3.9k Views 1 Watching
    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.
    • jkandasaJ Offline
      jkandasa @Tag
      last edited by

      @tag This is an awesome information. Thank you for your hard work !!

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        Tag MOD @jkandasa
        last edited by

        @jkandasa

        Thx!, 🙂
        Will polish up the files and attach them to this post.

        1 Reply Last reply Reply Quote 1
        • skywatchS Offline
          skywatch
          last edited by

          Hi guys,

          I am back now and just trying to pick up where I left off.

          There was similar issue on another system and moving to btrfs and having the system boot from sd but load the system on ysb stick works great (with added advantage that 'live' full backups can be automated via cron. Maybe something to look into?

          What about using a pi hdd? They are not so expensive and could help a lot with this too......

          Just a thought! 🙂

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            Tag MOD @skywatch
            last edited by

            @skywatch
            Hi!,

            Great tips!, and there are many solutions out there 🙂
            Currently running the database in memory, it works very well, however there is always the topic of dataloss, therefore I schedule regular backups (every 6 hours). It is a "proof of concept".

            Will definitely look into Btrfs, it seems that it is "SSD" aware, so this might be a solution, need to figure out how my OPI-0 is able to boot from it.

            Thanks for the tips!! thinking along is always appreciated 😉

            1 Reply Last reply Reply Quote 0
            • skywatchS Offline
              skywatch
              last edited by

              @Tag.

              I just rememeber that Xbian had similar SD card issues. They moved to btrfs and things suddenly became much better. and running live system backups with cron overnight really makes it for me. So simple to restore from server if needed...

              This week I will look into booting pi3 from usb instead of SD card. Will be fun for sure! 😉

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                Tag MOD @skywatch
                last edited by

                @skywatch

                Great!, 👍 but keep in mind that an usb stick also has a limited number of writes per physical bit, maybe more compared to and SD card, but it is still not an harddisk/SSD

                W 1 Reply Last reply Reply Quote 0
                • skywatchS Offline
                  skywatch
                  last edited by

                  Did this today, but now waiting for WD pidrive to come back into stock......

                  FWIW I still get crashes 😞

                  Will post about that in troubleshooting.....

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    blacksheepinc
                    last edited by

                    Any news about this topic?
                    Just a remark: Dietpi has an inbuilt option to make the filesystem only readable.

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wanvo @Tag
                      last edited by wanvo

                      Hi @tag!

                      Is it possible to move the RAM also to the InfluxDB database?

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        Tag MOD @wanvo
                        last edited by

                        @wanvo

                        Hi, I assume you mean putting the influx database in ram?.
                        yes that should be possible since this is just a ram disk.... but take precautions to powerfailures... power-off = data gone.....

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        0

                        Online

                        589

                        Users

                        529

                        Topics

                        3.4k

                        Posts
                        Copyright © 2015-2025 MyController.org | Contributors | Localization