Jump to content

Fazor

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Thanks for those tips, I will try using the mount options when I do my tests (forcibly drag out power and up again) to make sure my system can survive power cuts properly. I did re-install armbian just now right before writing this reply and to my surprise everything works perfectly again. The UPS is something I will look into in case I do need it. I don't have that many power cuts, and there is this issue where my internet would take much longer time to come back up then the electricity. I did attempt to fix it. The logs were of no use, as they ended the time my board got its power cut. As I said I tried restarting sshd manually, but it wouldn't even start, the task was just queued before the kernel crashed. After I pushed my seemingly not so big changes, the box wouldn't even give me a HDMI output, so I just considered the errors to be off bounds for my knowledge and proceeded to reinstall. Having access to console is indeed good, I have a COM cable where I can probably access the serial console if necessary, but since I put my device inside a case for easy moving it's not that easy to attach the pins, but if it was truly necessary I guess I could plug it in and have the USB end on some other safe device like my router which boots using RAM. As for the sdcard, I just ran fsck and said there were no errors, more I can't tell if it was corrupted, but I'd assume it was in some way due to the problems I'm having (and it potentially ran fsck itself as per defined in fstab? However, there's nothing in the logs about it. Since I had no logs at all could be it wasn't saved for some reason, and it repaired it before so I couldn't see any fs errors. But I believe the media has to be unmounted for it to be possible unless it does post-booting using tmpfs, excuse my lack in GNU/Linux knowledge it's a hobby after all). It could have been a smart move to get a x64/x86, but I am still sure a small device like this should be able to handle what I need without having to go for something bigger. There is also the fact that Intel is no longer planning to release new Atom-series CPUs which would make me have to go for a bigger CPU in the future. This sounds very interesting, I didn't think of that. But wouldn't you potentially be charging the battery cells inside to death if it continously draws power and charges it back up again? As you said it only has circuitry for charging/discharging, so as per my understanding it would not be able to directly passthrough the current- But it might be too little to make a difference. I did some tests and I believe some lithium cells on heavy use ended up degrading to 75% of it's original capacity during a period of one and a half year, so if the device does not draw that much energy it should be able to last for a while although it will get less and less hours after some time?
  2. Hello, I leave in a place where we occasionally get really heavy storms or the power gets cut for some reason. This most often does not happen more than five minutes, but there has been longer cases. Now, this poses an obvious problem with my headless server (Orange Pi PC btw). I went on a week trip last month, to discover the development board I needed was completely down. I called a friend and the power had indeed been cut off in my neighbourhood, but my server would no longer respond over SSH. I hard reset the server by power cable and tried restarting sshd (after getting home a week later), just to get warning that the action of the service was queued and afterwards warning like these unable to enter anything directly to the server anymore, It has network connection and all, but sshd just died and won't accept connections for some reason. Now while I'm not sure how this broke, I just want to know if it's possible or prone for it to die like this after a power cut-off, and if I can optimize it to completely restore itself if that happens. For now I have everything I need in a safe chroot environment (where nothing has been touched since the shut-off as everything can only be started manually), so I plan to reinstall the OS to fix potential issues which might have broken this installation. Could it had been related to how the data is set to commit each 600 secs, or maybe I broke it already myself before the power outage? Either way these kind of power outages has happened already a lot with my Raspberry Pi, and it has encountered no issues. So I was wondering if I could somehow optimize armbian to be prepeared for power cut-offs? I am pretty new to armbian, so at most I only installed the base OS, updated it to newest definitions and kept what I would run in a stretch chroot. Any opinion/help is accepted with great pleasure, I can provide any logs if you would like. Already talked a bit in sunxi-linux IRC about how I could have hooked up a UPS-like device by using a 20k mAh power bank possibly, but it would from what I can see not be a viable solution unless I get a very expensive UPS.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines