Page 1 of 1

File corrupted

Posted: Sat Oct 25, 2008 12:38 am
by fil
Hi. File meteohub.conf has become suddently corrupted for no reason, it can't be read or written. My meteohub application turned to a demo so I restarted and now I can't access meteohub through http nor ssh. What can I do? :(

Thanks.

Re:File corrupted

Posted: Sat Oct 25, 2008 12:55 am
by admin
looks like a file system error caused by a bad usb stick.

rebuilding a fresh stick might cure this.

Re:File corrupted

Posted: Sat Oct 25, 2008 1:06 am
by fil
What about the data? How can I recover it?

Re:File corrupted

Posted: Sat Oct 25, 2008 1:10 pm
by admin
if you have a linux system, you can try to mount the stick. There are three partitions on it. dtaa is on third partition.

if you dont have a linux system, you can start NSLU2 without usb stick:
1) login via ssh (user root, pw meteohub),
2) plug-in usb stick,
3) mount (mount /dev/sda3 /mnt),
4) check if data in /mnt/weather/.
5) If so, plugin second USB stick (formated to fat32 on your pc),
6) make new mount point (mkdir /mnt2),
7) mount second usb stick (mount /dev/sdb /mnt2) or (mount /dev/sdb1 /mnt2),
8) copy data (cp -r /mnt/weather/200* /mnt2),
9) copy graphs (cp -r /mnt/graphs /mnt2),
10) shutdown NSLU2,
11) unplug sticks,
12) copy data from second usb-stick to your windows system.

Re:File corrupted

Posted: Sat Oct 25, 2008 5:00 pm
by fil
Well I tried to mount it in a Linux system but it gives me lots of I/O errors... :dry:

I tried to access NSLU2 with the stick unplugged but I can't, I get "Connection timed out".

I guess there is no hope for my data, right? :(