Go to advanced search

by johnspackman
Fri Feb 09, 2018 9:40 am
Forum: Raspbian
Topic: Mirror of archive.raspberrypi.org
Replies: 2
Views: 1946

Re: Mirror of archive.raspberrypi.org

It was archive.raspberrypi.org, my wget script started returning HTTP errors and wasn't allowed to download any more, but when I checked from my workstation (at a different location) I was able to browse and download just fine. Do you have an example script you can send me for debmirror? I've not us...
by johnspackman
Thu Feb 08, 2018 12:41 pm
Forum: Raspbian
Topic: Mirror of archive.raspberrypi.org
Replies: 2
Views: 1946

Mirror of archive.raspberrypi.org

Hi We have around 1,000 Pi's (and we expect to be growing by another 300 this year) and we want to take control of our distribution of updates; this means creating private mirrors of archive.raspberrypi.org and archive.raspbian.org. I've already created a mirror of archive.raspbian.org, but the only...
by johnspackman
Thu Dec 07, 2017 10:54 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Solutions exist but cannot be buyed by individuals like me because we don't make a business So, you're saying that you can't afford a mechanical hard disk? Or that only businesses have the scale to be able to attach a drive in a caddy? The only solution we've used to improve reliability is to repar...
by johnspackman
Tue Dec 05, 2017 5:02 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

jamesh wrote:
Tue Dec 05, 2017 4:42 pm
As an aside, think I went to school (One on Hills Road, Cambridge) with a John Spackman - any relation?
No, sorry, I went to Kingswood in Bath. That would be an amazing small world coincidence though, there don't seem to be that many of us around!
by johnspackman
Tue Dec 05, 2017 12:59 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

All the suggestions above are attempting to fix a minor problem, and all cost a hat load of money. ^^^ exactly. Last month, we broke the 1,000 mark on shipped devices based on Raspberry Pi and SD cards - these are not general purpose devices, they are digital signage devices that live in waiting ro...
by johnspackman
Tue Jan 03, 2017 10:14 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

I experience the same corrupt Disk problem which occurs extremely often. As for my experience it is not an SD-Card only problem . I have 3 Raspberry pi A+ and 3 Raspberry pi 3 I use all kinds of SD Cards but also disks but usually 32GB cards for all my pis One of these Raspberry Pis also has a 500 ...
by johnspackman
Thu Apr 21, 2016 7:52 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Interesting - please can you expand on "Automatic repair of SD-card filesystems in the event of power loss during writing"? Have you had much success with this, I've tended to find that filing systems are largely unrecoverable; espcially in early Pi v1 days - specifically, something got corrupted on...
by johnspackman
Thu Apr 21, 2016 6:13 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

We do commercial signage also - I avoid the problem by having a read only root partition, a ramdisk for data and a read only partition for videos; periodically sync the ramdisk to a normally read-only data partition, and only make the media partition read/write when downloading new videos. We used t...
by johnspackman
Tue Sep 08, 2015 11:21 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

I have 3 Pi boards. Pi1 and Pi2. All develop SD card errors after some time. One thing I'm strict about is not reusing cards; if a box is RMA'd for any reason (we do one month trials and sometimes they get returned) then the card is binned. IMHO if you've had corruption on a card then it's suspect ...
by johnspackman
Wed Jul 01, 2015 6:44 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

We have well over 70 Pi's installed on live customer sites, with power cuts, the-cleaner-turned-it-off cuts, users deliberately turning it off overnight, etc. They are powered by a £3 (US$5) PSU from RS Components, use a reformated NOOBS SD card, have heatsinks installed, are in a plastic case, and ...
by johnspackman
Mon Jun 08, 2015 8:18 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Thanks I'm aware of that, and wear leveling will only occur if the disk has been written to; by reducing the number of writes to disk (the SD card) you reduce the likelyhood that the disk will be written to by wear leveling or by the OS during a power failure.
by johnspackman
Mon Jun 08, 2015 6:12 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Corruption is caused by power failures at the same time as the disk is being written to. If the power fails while the disk is not being written to, you're OK (assuming that your PSU is a suitably good quality etc) Removing dphy-swapfile stops the pi from being able to swap to disk when memory gets l...
by johnspackman
Wed Jan 21, 2015 1:53 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Is there a reason why you didnt choose the SD cards sold by Raspberry? The NOOBS cards are 8Gb cards and seem pretty solid, just wipe them and put your preferred distro on. SD cards are not as reliable as good old fashioned mechanical hard drives so if you have anything really sensitive stick it on ...
by johnspackman
Fri Jan 09, 2015 7:35 am
Forum: General discussion
Topic: Still have SD card corruption issue?
Replies: 18
Views: 4108

Re: Still have SD card corruption issue?

We have around 60 Pis in production now - the only corruption is down to power loss but that can be fatal to the OS; that's just a fact of life with SD cards and other flash memory, not a problem wth the Pi itself. We use quality PSU and Wifi dongles (without powered hubs, just plugged in direct) an...
by johnspackman
Fri Jan 09, 2015 7:13 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

It could be that the cards are shot - personally I'd replace them all and see if that improves things. We have around 60 pis and using the standard raspbian they're reliable so long as there are no power cuts; we've since modified the OS so that it uses a read only root FS (all writes are to a ramdi...
by johnspackman
Wed Jan 22, 2014 8:38 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

AIUI SD cards are only targetted at a size (eg 8gb) but as part of manufacturing they are checked and any bad blocks are mapped out; this means you get minor variations in size. If you want to copy your larger image to another, smaller card you'll have to resize the filing system & partition to some...
by johnspackman
Sun Jan 12, 2014 5:37 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Have had the same results with two Kingston 8GB Class 4, which is what made me think it was my shutdown method. It's not that; sync just flushes the cache, which is something that happens automatically at the end of proper shutdown (ie with "sudo shutdown"). it's either a hardware issue (damaged ca...
by johnspackman
Sat Jan 11, 2014 9:37 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 241474

Re: Prevent SD-Card Corruption

Have you tried a new card? The card will remap blocks underneath the partition (this is called wear levelling) and that will randomly move the good data onto the bad blocks

Go to advanced search