Re: [mh] Misterhouse on Raspberry Pi?
Giles Godart-Brown <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Someone created this in the Wiki ;https://github.com/hollie/misterhouse/wiki/Minimising-disk-writes Is there anything on his thread we should add to it? Giles On 26/01/2021 00:30, Tom MacLean wrote: > Hi Brian, > > I did absolutely nothing to reduce the writes to the SD. > > I can’t tell what the failure is, I perhaps what I see is the normal > “worn out” behaviour. I can say that the last time it died it did so > the same way. (Losing recent file charges) > I had updated my password a few days ago, and after rebooting it > wouldn’t take my new password; it had reverted. > > I think the noatime change might be worthwhile, also slowing the > logging interval. > > I’m willing to change the SD a few years. My config is saved with git. > > Cheers, > Tom > > Sent from my iPhone > >> On Jan 25, 2021, at 5:19 PM, Brian M >> <[email protected]> wrote: >> >> >> I've been really appreciating folks posting their experiences running >> solely on the microSD. I don't run my vital RPis that way, because I >> didn't know what to expect, so this is good information. >> >> Tom, did you do anything to reduce write traffic to the microSD? >> Setting "noatime" in /etc/fstab eliminates a lot of writes, because >> everytime a file is *read*, the access time is updated(written). I've >> heard of people making /var/log a tmpfs file system (if they don't >> need their logs), optionally sweeping them to the SD card on an >> hourly basis. Removing swap and installing zram instead would help >> (but beware the current 8G bug in zram if you have an 8G RPi 4). Did >> you do any of these things, or others? >> >> -Brian M. >> >> On 1/25/21 12:28 PM, Tom MacLean wrote: >>> I was going to chime in that I just run MH on the microSD without >>> issues, but I just had a failure (on a 4 year old SD), my second >>> such failure. Same as last time: the system boots fine, MH runs >>> without issue, but none of my file changes persist after reboot. >>> It’s just writing to the SDs buffer, not to the flash. >>> >>> 4 years isn’t too bad though. >>> >>> Sent from my iPhone >>> >>>> On Jan 23, 2021, at 10:32 AM, Giles Godart-Brown >>>> <[email protected]> wrote: >>>> >>>> >>>> >>>> I've just had a go at tidying up the Wiki for Raspberry Pi >>>> (https://github.com/hollie/misterhouse/wiki/Raspberry-Pi), moving >>>> many of the optional bits onto separate pages so it doesn't look so >>>> daunting and adding things I've found during my many installs. >>>> >>>> Giles >>>> >>>> On 23/01/2021 12:55, Richard F wrote: >>>>> >>>>> When I started using an SSD over a decade ago or so (when burning >>>>> out SSD's was a big concern, as lifetimes weren't initially >>>>> specified/trusted), I reduced mh data saves by a factor of 5 (in >>>>> the mh file itself in /bin), like so, which has served me well: >>>>> >>>>> &object_states_save if &new_minute(5) and !($Time_Start_time or >>>>> $Time_Stop_time); >>>>> # &object_states_save if $New_Minute and !($Time_Start_time or >>>>> $Time_Stop_time); # Skip if in accelerated mode >>>>> >>>>> My current Samsung SSD has 81000 hrs on it - over 9yrs - and still >>>>> 78% of its life left according the smartd. >>>>> >>>>> I'd also be interested in a Pi guide as that may be the eventual >>>>> mh destination. I'm a big fan of the Picoreplayer which has a >>>>> great feature of running totally from RAM once booted, so you can >>>>> switch it off without worries. Though mh needs to write status, I >>>>> could forsee a picore or similar mini distro that includes mh, and >>>>> saves its config/recovers (if lost) to network storage or cloud. >>>>> >>>>> >>>>> On 21/01/2021 7:54 pm, Gianni Veloce wrote: >>>>>> hi guys >>>>>> as my old Ubuntu laptop running MH is almost broken i am looking >>>>>> to move to Raspberry Pi. >>>>>> is there any detailed guide how to setup MH on Rpi? >>>>>> and are any hints to avoid the abuse of the SD card with writes >>>>>> from the OS and MH? >>>>>> Would installation on a USB drive help in this? >>>>>> TIA >>>>>> GV >>>>>> >>>>>> >>>>> >>>>> >>>>> ________________________________________________________ >>>>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>> >>>> ________________________________________________________ >>>> To unsubscribe from this list, go to: >>>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>> >>> >>> >>> ________________________________________________________ >>> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>> >> >> ________________________________________________________ >> To unsubscribe from this list, go to: >> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> > > > ________________________________________________________ > To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users > ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users