Page 1 of 1

recover SBC3

Posted: Tue Jul 30, 2019 9:45 am
by speed
I have an SBC3 that has stopped responding, I can't ping it, detect it with the phidgets software or anything. I have a number of programs running on it that I really don't want to lose. Is there any other way to access what is stored on it?

Re: recover SBC3

Posted: Wed Jul 31, 2019 3:01 pm
by Patrick
You can attempt to recover files from the recovery system, but this may fail if the main partition has major issues - as it may it it's not booting.

see: https://www.phidgets.com/docs21/OS_-_Ph ... ery_System

-Patrick

Re: recover SBC3

Posted: Wed Jul 31, 2019 3:16 pm
by speed
I tried the recovery : ubiattach /dev/ubi_ctrl -m 6

i get get this error message: ubiattach: error!: cannot attach mtd6
error 22 (Invalid argument). I'm guessing it is not finding my file system. I really need to recover these files

Re: recover SBC3

Posted: Wed Jul 31, 2019 3:24 pm
by Patrick
Hi,

I have looked into this, and that command is for SBC2. For SBC3, you want:

ubiattach /dev/ubi_ctrl -m 7

-Patrick

Re: recover SBC3

Posted: Wed Jul 31, 2019 3:35 pm
by speed
i tried your suggestion, i got a little farther, but now i get this message:
mount: mounting /dev/ubi0_0 on /mnt failed: Structure needs cleaning
how do i clean it?

Re: recover SBC3

Posted: Wed Jul 31, 2019 4:06 pm
by Patrick
After mount failure, can you run dmesg and post UBI related output?

-Patrick

Re: recover SBC3

Posted: Fri Aug 02, 2019 10:22 am
by speed
I've attached the dmesg output