Page 1 of 1
Read-only file system
Posted: Mon Jul 07, 2008 6:47 pm
by twm
Since upgrading to 2.5, I am having trouble correctly displaying graphs or uploading data to my website.
When I try to create a new graph, I get:
Code: Select all
Error file open: /data/graphs/__test.mg: Read-only file system
[/color]
It also appears that existing graphs are not being created or uploaded, although when I look in the logs, it appear that the cron jobs are running.
Any help would be appreciated. I'm currently running 2.5c
Thanks.
Re:Read-only file system
Posted: Mon Jul 07, 2008 10:26 pm
by admin
If you have not pulled the USB stick during operation this is a clear indication that the USB stick or NSLU2 are not working correctly. Try to save your weather data and setup a new USB stick from the USB stick images from scratch.
There is no other cure for a corrupted file system. sorry.
Re:Read-only file system
Posted: Mon Jul 07, 2008 11:59 pm
by follower
I had a similar problem after updating. I couldn't get the application backup to work on the older level so I saved the weather files with copy and paste with windows to save on windows from meteohub. After restoring the files the graphs failed on the newer level (2.4e). I my case I think I edited the raw weather files with windows using KEDIT which put carriage return and line feeds for the end of line code. Linux expects only a line feed. I was able to get things going again by setting the editor option to encode the end of line with line feed only. Also I found some garbage in the raw file which I deleted and then I sorted the records to make sure they were in order by time recorded. It still would not work until I found some duplicate records in the raw file and deleted the extra records. Of course I had to have meteohub recalculate the weather data in order to make the graphs work OK.
-- Good Luck Paul B
Re:Read-only file system
Posted: Tue Jul 08, 2008 12:12 am
by follower
I just now noticed this part of your post:
Code:
Error file open: /data/graphs/__test.mg: Read-only file system
My meteohub system remounted to read-only also. I saw the remount message in the log. It set it a while after a startup. You could change files right after a restart, but after a while it would become read-only. This was after I had updated meteohub, but did not have the compatible firmware installed. After updating firmware to 2.6.21.7 I think from 2.6.16.... that problem went away.
Paul