Go to advanced search

by cleverca22
Wed Sep 23, 2020 6:32 pm
Forum: General discussion
Topic: Bad micro SD, or bad Pi?
Replies: 5
Views: 194

Re: Bad micro SD, or bad Pi?

... doing an apt-get upgrade, and the files got corrupted re-imaging the card from a new .img would be the simplest way to repair that corruption, and get it working again
by W. H. Heydt
Sat Sep 19, 2020 2:58 am
Forum: Beginners
Topic: Raspberry Always On?
Replies: 8
Views: 335

Re: Raspberry Always On?

... file system. In addition, flash media (such as SD cards) do "wear leveling" activities, so the card may be ... much the biggest risk of unrecoverable file system corruption. So use one of the methods already pointed out. ...
by thagrol
Sun Sep 13, 2020 12:05 pm
Forum: Graphics, sound and multimedia
Topic: Pi Video Looper using USB Boot?
Replies: 2
Views: 126

Re: Pi Video Looper using USB Boot?

Switching from SD card to an external drive is not going to prevent drive corruption on power removal without shutdown. Especially if that's a flash ...
by andrum99
Sat Sep 12, 2020 4:03 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

... Good to hear! Are you even using it on the root disk? Do you use an SD card, or external disk? I don't use ZFS for root - just a pair of 1TB hard disks as a mirrored ...
by ragges
Thu Sep 10, 2020 10:10 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

... you're trying to use ZFS to detect and survive corruption on an SD card you have two options: either use just the SD card for the root ...
by andrum99
Thu Sep 10, 2020 9:32 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

... you're trying to use ZFS to detect and survive corruption on an SD card you have two options: either use just the SD card for the root ...
by ragges
Wed Sep 09, 2020 10:28 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

I wouldn't touch butterfs with a 3m bargepole, personally... All the fun and games you talked about with ext*, writ large, only this time attempting to copy a filesystem / block manager / snapshotter -- a far bigger job. I suppose the fact its authors didn't murder anyone -- unlike some filesystems...
by dickon
Wed Sep 09, 2020 7:46 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

I wouldn't touch butterfs with a 3m bargepole, personally... All the fun and games you talked about with ext*, writ large, only this time attempting to copy a filesystem / block manager / snapshotter -- a far bigger job. I suppose the fact its authors didn't murder anyone -- unlike some filesystems ...
by ragges
Wed Sep 09, 2020 7:22 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Unless and until ZFS gets in-kernel, I suspect you'll be out of luck. And I doubt that will happen. Not because the much-discussed licensing issues, but because there has been enough FUD about so-called 'layer violations' to put Torvalds off it. Well, if Ubuntu now has zfs, there is a chance one co...
by dickon
Wed Sep 09, 2020 6:53 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Unless and until ZFS gets in-kernel, I suspect you'll be out of luck. And I doubt that will happen. Not because the much-discussed licensing issues, but because there has been enough FUD about so-called 'layer violations' to put Torvalds off it. (Basically, some people seem to think that the block l...
by ragges
Wed Sep 09, 2020 6:39 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

... could support this out of the box, instead of the error prone ext4 on SD card as of today. As I mentioned, currently, I don't want to have machines that may need an ...
by dickon
Wed Sep 09, 2020 5:15 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Then do it. I just wanted to highlight some of the limitations and issues you may hit. I would strongly recommend the 64b kernel, though, possibly with the 64b userland (which will make compiling the modules easier). You'll also need an initrd, but the zfs-initramfs package should sort that out.
by ragges
Wed Sep 09, 2020 5:08 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

... not with a 32b kernel. I'd run it on an amd64 machine with a couple of SSDs and network boot (which is what I do), with an NFS-exported ZFS rootfs ... instruments in the field. Having a somewhat reliable root disk on SD card should be very useful to many, if not most, raspberry pi users, I would ...
by dickon
Wed Sep 09, 2020 4:54 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Yes, but it also likes lots of virtual address space to play with -- Solaris apparently heavily uses it internally -- which is extremely limited in 32b. Basically, I wouldn't run it on a Pi, and certainly not with a 32b kernel. I'd run it on an amd64 machine with a couple of SSDs and network boot (w...
by ragges
Wed Sep 09, 2020 4:36 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Be careful with it. It's a set of out-of-tree kernel modules, which means you'll need to rebuild it on an update to raspberrypi-kernel or on an rpi-update, and it doesn't much like 32b kernels. You'll also want to limit the memory it uses for cacheing, as it likes to use a lot. Leave compression on...
by dickon
Wed Sep 09, 2020 4:27 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

I don't recall the details -- I ran it once on a 32b kernel and had trouble, so ditched it for a 64b one. On a 64b-capable Pi you're probably better off running the 64b kernel anyway, given what Linux Torvalds says about address space ('virtual space needs to be bigger than physical space. Not “as b...
by cleverca22
Wed Sep 09, 2020 4:14 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Be careful with it. It's a set of out-of-tree kernel modules, which means you'll need to rebuild it on an update to raspberrypi-kernel or on an rpi-update, and it doesn't much like 32b kernels. You'll also want to limit the memory it uses for cacheing, as it likes to use a lot. Leave compression on...
by dickon
Wed Sep 09, 2020 4:02 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Re: Root on ZFS to detect and survive SD card corruption

Be careful with it. It's a set of out-of-tree kernel modules, which means you'll need to rebuild it on an update to raspberrypi-kernel or on an rpi-update, and it doesn't much like 32b kernels. You'll also want to limit the memory it uses for cacheing, as it likes to use a lot. Leave compression on ...
by ragges
Wed Sep 09, 2020 2:46 pm
Forum: Advanced users
Topic: Root on ZFS to detect and survive SD card corruption
Replies: 15
Views: 400

Root on ZFS to detect and survive SD card corruption

... is obviously hard to know how many writes an SD card will handle before it fails, and also it seems several ... but may return garbage data when there is a data corruption (at least older ones). One possible mitigation ...
by njh
Tue Sep 08, 2020 12:33 pm
Forum: Graphics, sound and multimedia
Topic: need help with First Project
Replies: 3
Views: 187

Re: First Project

... turning off the power can eventually cause SD Card corruption and stop the Pi from booting. So I'd suggest adding a ...
by jamesh
Tue Sep 08, 2020 11:50 am
Forum: Troubleshooting
Topic: voltage anomaly...
Replies: 10
Views: 320

Re: voltage anomaly...

... lightning flash/ low voltage from a storage corruption POV? > calleblyth best practice getting ... less than 4.65v, and you run the small risk of SD card corruption and/or lockups/random behaviour.
by hey24sheep
Fri Sep 04, 2020 6:16 am
Forum: Troubleshooting
Topic: PI4 micro HDMI giving white vertical line, HELP PLEASE!
Replies: 4
Views: 158

Re: PI4 micro HDMI giving white vertical line, HELP PLEASE!

... mismatch - Pi 4 i think thats an eeprom corruption thing? and the recovery procedure should ... image. I used RPI Imager with different sd cards but all fails. I plug it in and power it ... the instructions to create a bootable SD Card and it worked for me.. I have done the same, ...
by fruitoftheloom
Fri Sep 04, 2020 6:00 am
Forum: Troubleshooting
Topic: PI4 micro HDMI giving white vertical line, HELP PLEASE!
Replies: 4
Views: 158

Re: PI4 micro HDMI giving white vertical line, HELP PLEASE!

... mismatch - Pi 4 i think thats an eeprom corruption thing? and the recovery procedure should ... image. I used RPI Imager with different sd cards but all fails. I plug it in and power it ... the instructions to create a bootable SD Card and it worked for me..
by thagrol
Tue Sep 01, 2020 10:06 pm
Forum: General discussion
Topic: Would you buy time on a RasPi satellite?
Replies: 20
Views: 791

Re: Would you buy time on a RasPi satellite?

... destructive, either by accident or design? And SD card failure, filesystem corruption, stray cosmic rays, cooling (you can't just slap on a ...
by timg236
Tue Sep 01, 2020 12:48 pm
Forum: General discussion
Topic: Serious Problem in Bootloader EEPROM
Replies: 23
Views: 1524

Re: Serious Problem in Bootloader EEPROM

... and not just some random file placed on the card with that name, not a means to guarantee correctness ... to flash a Boot Eeprom recovery image from SD Card. Correct. The .sig file guards against FAT corruption or the randomly renaming something of exactly ...

Go to advanced search