Hot answers tagged

6

I/O failure is a common cause of this; processes suffering from such are stuck in an uninterruptible sleep. If this is widespread and includes critical processes, the entire system will stutter and stall -- although from a GUI perspective this may be exaggerated in that it is mostly the GUI that is stalling. Such processes can be identified with diagnostic ...


4

Raspbian is a derivate of Debian and this isn't designed to work without a clean shutdown by default. May work with journaling on the root partition with ext4 file system but it is only designed for disaster recovery one time. The boot partition has a simple vfat file system and do not have disaster recovery so it may be easy corrupted. Using it for years is ...


2

You can record as it is like any other computers do, you just need to have a free space left on you sdcard todo so. Also, there is a life expectancy for every storage device, it is called the read and write cycle, it may not affect your sdcard directly but it may in a longer run. See: https://superuser.com/questions/17350/whats-the-life-expectancy-of-an-sd-...


2

I use an external USB HDD for the majority of my pi projects which will tolerate power interruptions. The majority of SD card corruptions occur when there is a power interruption in the middle of a write operation. Reducing this activity by moving it to an HDD/SDD that can be effectively fsck'd will substantially reduce the chance of SD corruption. Think ...


2

Well, SD cards DO have a physical switch that can be used to make them immutable. But I'll assume you already tried that ;) I thought crasic's suggestions were good, and the linked post he shared answers how you would really accomplish this. To directly answer your question, "No, there is not a device that does this". Something cannot be both immutable and ...


1

Enable a journal on your root partition: tune2fs -O has_journal /dev/mmcblk0p2 The journal enables the filesystem to revert to a consistent state after a crash. You may still lose data that was being written when you pulled the plug (so pulling the plug during a system upgrade may still result in an unbootable system), but it will not be possible for a ...


1

The problem certainly looks like it is SD card corruption, which can happen as a result of arbitrarily cycling the power. It shouldn't happen during normal operation. Reboots should be obvious in the system logs, OctoPi is Raspbian based, so you could start with /var/log/syslog (you can also use journalctl). If you can observe with a monitor that it ...


1

You can save your video files directly to the SD card - provided you have sufficient space on the card. "Sufficient space" will obviously depend upon what size card you have, and how big your video files are. I assume you can calculate this, and you haven't provided file or SD card sizes, so... If you're worried about SD card corruption, you can always ...


1

The situation continued to deteriorate till I could no more ssh (connection refused). It appears that simply unplugging and replugging the raspi finally solved the issue. The files where restored to a state prior to inconsistencies and prior to my latest modifications of sshd_config, so authentication through allowgroups was back ! I guess the restart ...


1

Thanks to Ingo's comment, I found a potential cause; in my case by using journalctl -e I could see that my Raspberry Pi was disconnecting and reconnecting to the IPv6 network every few minutes. This seems to have something to do with the IPv6 network not being fully supported by the ISP. I just had to disable it in the router and it went back to normal. But ...


1

According the official doc The Raspberry Pi 3 is powered by a +5.1V micro USB supply. Exactly how much current (mA) the Raspberry Pi requires is dependent on what you connect to it. We have found that purchasing a 2.5A power supply from a reputable retailer will provide you with ample power to run your Raspberry Pi. Please check whether your power supply ...


Only top voted, non community-wiki answers of a minimum length are eligible