Page 1 of 2
Problem with sd card? Help please.
Posted: Fri Apr 17, 2015 9:50 am
by MrPippoTN
Hello. In last three or four days I've had a problem with my Meteohub. I noticed that my weather data were strange on my website:
http://www.dolomitilivecam.it/it/meteo- ... m-badia-bz
So I opened my Meteohub's control panel and tried to understand what happened. I rebooted the Raspberry, then clicked on "Weather Station" menu link and tried to set "clear internal recordings and set interval to 5 minutes" on Init Comand.
But after clicking on "Save" I get this red alert message:
Initialization file cannot be opened (/home/meteohub/logger.conf): No space left on device
No space left on device? What? I started to use this meteohub less than one month ago! It's a Raspberry Pi with a 8 GB SD card.
Any suggestion?
Re: Problem with sd card? Help please.
Posted: Sat Apr 18, 2015 6:27 pm
by admin
Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Re: Problem with sd card? Help please.
Posted: Sat Apr 18, 2015 6:46 pm
by MrPippoTN
admin wrote:Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Can you suggest me a solution?
Re: Problem with sd card? Help please.
Posted: Sat Apr 18, 2015 8:23 pm
by Jippe
MrPippoTN wrote:admin wrote:Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Can you suggest me a solution?
Simply: regular backups, new sd-card and new install

Re: Problem with sd card? Help please.
Posted: Sun Apr 19, 2015 9:13 am
by MrPippoTN
Jippe wrote:MrPippoTN wrote:admin wrote:Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Can you suggest me a solution?
Simply: regular backups, new sd-card and new install

Do you know a brand of safe SD Card?
The weather station I'm asking help for is very far apart from here. Can I set all parameters from my home and send a ready SD card to the weather station's owner? And, eventually, how?
Re: Problem with sd card? Help please.
Posted: Tue Apr 28, 2015 12:51 am
by goombah
MrPippoTN wrote:admin wrote:Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Can you suggest me a solution?
Or log in as root, unmount /data, and run fsck against it...
fuser -km /data - will kill all processes using /data
umount /data
fsck /dev/mmcblk0p4
shutdown -r now
A "df" command will show you the utilization of each mounted filesystem, I'm presuming its /data that is having the problem.
Re: Problem with sd card? Help please.
Posted: Tue Oct 06, 2015 7:49 pm
by ON1DQD
MrPippoTN wrote:admin wrote:Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Can you suggest me a solution?
I also like to now if there is a tool for repairing the file system.
Re: Problem with sd card? Help please.
Posted: Tue Oct 06, 2015 7:54 pm
by admin
Linux has tools like e2fsck for that.
Re: Problem with sd card? Help please.
Posted: Tue Oct 06, 2015 8:19 pm
by ON1DQD
if I do:
Code: Select all
fuser -km /data (will kill all processes using /data)
than
I receive:
Do I assume that there is still something using /data ?
Re: Problem with sd card? Help please.
Posted: Wed Oct 07, 2015 4:14 pm
by YJB
Yeah, fuser will not kill all the processes.
If you have access to the console, I would recommend to go to init 1 (which means no network access), as this will definitely kill things like smb.
Re: Problem with sd card? Help please.
Posted: Thu Oct 08, 2015 8:57 pm
by admin
Core files to transfer are:
/data/weather/YYYYMM/* for raw weather data
/data/graphs/* for graph definition
/home/meteohub/meteohub.conf for most of config data
/var/cron/tabs/root for the upload/send schedules
Re: Problem with sd card? Help please.
Posted: Mon Oct 12, 2015 4:15 pm
by miraculon
MrPippoTN wrote:admin wrote:Looks like the file system on your SD card is damaged,
which unfortunately happens here and there on the RPI.
Can you suggest me a solution?
The next time my SD card goes bad, I am seriously considering one of these Panasonic "Industrial Grade" SD cards:
http://panasonic.net/avc/sdcard/industr ... ineup.html
The "SLC" (single-level) cards seem to be the best, but they are really expensive. Even the RP-SDPC16 is almost twice what the Rasperry Pi costs.
Greg
Re: Problem with sd card? Help please.
Posted: Mon Oct 12, 2015 5:51 pm
by ON1DQD
Where do you buy these cards?
I can not find them in normal shops.
Also importend what are the prices for 8 or 16GB ?
Re: Problem with sd card? Help please.
Posted: Tue Oct 13, 2015 8:26 pm
by miraculon
ON1DQD wrote:Where do you buy these cards?
I can not find them in normal shops.
Also importend what are the prices for 8 or 16GB ?
I found them (16GB) on Mouser (USA), but I switched to Mouser Europe and they seem to have it as well. Price is 57,79 €
http://eu.mouser.com/ProductDetail/Pana ... CYeA%3d%3d
Greg
Re: Problem with sd card? Help please.
Posted: Wed Oct 14, 2015 3:01 am
by ON1DQD
miraculon wrote:ON1DQD wrote:Where do you buy these cards?
I can not find them in normal shops.
Also importend what are the prices for 8 or 16GB ?
I found them (16GB) on Mouser (USA), but I switched to Mouser Europe and they seem to have it as well. Price is 57,79 €
http://eu.mouser.com/ProductDetail/Pana ... CYeA%3d%3d
Greg
Thanks for sharing.
Why would these cards be any better than the normal ones accept for better Low/High temperature environments, can someone confirm thats it is worth the money?