Re: [mh] Misterhouse on Raspberry Pi?

Lieven Hollevoet <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
Hey Tom,

confirming this. Of the 10 the RPis I have running on SD cards (the others are already on SSD) I experienced 2 SD card failures that resulted in read-only behaviour of the card. So no data was lost in the end. Cloning to a new card and rebooting got me up and running again.

This is over a timespan of 3 years, devices running 24/7 with no specific optimisations to reduce the number of writes.

I’m using large enough 32 of 64 GB Samsung Evo Plus cards

Best regards,
 Lieven.

> Op 26 jan. 2021, om 01:30 heeft Tom MacLean <[email protected]> het volgende geschreven:
> 
> 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]> <mailto:[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 <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 <https://lists.sourceforge.net/lists/listinfo/misterhouse-users>
>>>>> 
>>>> ________________________________________________________
>>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users>
>>>> 
>>> 
>>> 
>>> 
>>> ________________________________________________________
>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users <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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEungENbJWmfpYUYH8+1fNjhtKk2wFAmAQSGEACgkQ+1fNjhtK
k2zodg/7Bacdjh94Xma+VTjBEYoxKJFgRHtEX5/yWFiUNlS7wK4nvegA+7T4GhpS
lBaxOeT9cov5uYilHtgJWzirQiUgb4ZCtJ/z2Brw3Ybh6i7irthPMmgbnC0r276A
UuwRMRWFjEWTLwhXDAxl30ZukjXSJI4TyewKSUK0sSN+wPCXRvsbhJcdo1VBNmuX
Wsqn48tY8XIpDxVepnm8I2aDmtX6OiRWehsMBnOtZ23kTiaoSZK8S/FwamL1L2Mo
E7H6X6MpQNsIFEbjlES8yaN05TTXE7gN6LzF+5673iqzPIa3mJZ+X8KKs9S8FnO2
eCcFtSh5iap5AzwYOYh8upeMbETTY9D15YF1qU85V+7lreXGtfW86i/2JMuXTIBw
t940BkBFeNHb51v8GD6pvGfKTZwRddVlp+BNG/eO4kMwDQn8xWyEGGU9FTJ8ft9N
1Azl7n8wFXeNTqEzoA/E4BAEl6XtXkeGUDi0CAhCszRmwRybhIVHcmfpp+rjSN/e
csnk6Uvl1dTEgx5VuVnCw/OuOn1O1Mq7rAiqJkZ44/JYuIcIE/tldrBmuJOE2MFj
4aUEd28Se4iXPWuqHzrJwP1yTJ1zjQGS3iLfdc2hLw/AIGnHdJ8+S32KC9UDEPIV
9L5yBhthHIZ9z2rhSuGuvj+WF5ROIBVCxx4NYUjTyFsdfjRDrBA=
=3vou
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.