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

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

    Developers Zone
    5
    15
    3018
    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.
    • jkandasa
      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
        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
        • skywatch
          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
            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
            • skywatch
              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
                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
                • skywatch
                  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
                    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
                      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
                        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

                        647
                        Users

                        506
                        Topics

                        3.3k
                        Posts

                        Copyright © 2015-2023 MyController.org | Contributors | Localization