The SD card on my first weewx installation died after about 8 months.  I didn’t 
want to add rotating magnetic storage (HDD), for reasons of engineering 
aesthetics, cost, and power consumption.  Instead, I added a pair of USB flash 
drives, configured as a linux RAID-1 array and mounted as /var.  Since almost 
all of the writes — log files, the weewx database, and the rendered web pages — 
are in /var, the SD card which hosts the rest of the filesystem should last a 
long time.  The USB flash drives probably won’t last because they’re the same 
basic technology as SD cards, but when one dies it can be replaced and the RAID 
array rebuilt, without shutting down weewx and without losing any data.  That’s 
the plan anyway; so far it’s been running 13 months without any failures.

Any storage device has the potential to fail.  Even an HDD is likely to fail 
within the timespan I want my weather station operating.  A RAID array largely 
solves this issue because double failures is much lower.  And once I settled on 
RAID, the reliability of USB flash for the underlying storage was plenty good 
enough.

  -Les

> On 31 Oct 2016, at 1:45, Andrew Milner <[email protected]> wrote:
> 
> I just use the sd card to boot from and then use an attached usb hard drive.  
> Many others have configured a ram disk and use the ram disk as much as 
> possible - with backups to sd only as and when required so that the sd card 
> is not hammered continuously.  SD cards are really designed for data storage 
> not for repeated read/write operations, and certainly not for 24/7 
> read/write..
> 
> On Monday, 31 October 2016 10:34:25 UTC+2, Jacek Skowroński wrote:
> Hi,
> How does Your sd card "live" in raspberry pi?
> On my example I lost 5 cards already - all of them by 3-4months long.
> Is it normal?
> 
> Yust now I'm looking to get rid of sd cards and write down data somewhere 
> else.
> Any topics? Any hints?
> 


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to