Did you toggle read-only mode in the rpi config program or another way?Chris D wrote: ↑Sat Feb 15, 2020 3:15 pmWow, another odd problem.
I did an image backup of this SD last week. It runs fine, my program that is auto loaded runs as it should, HOWEVER
I just copied a new file onto the desktop - all seemed normal
I edited LXDE-PI to prevent auto running - all seemed normal
Those changes were gone as if I never did them?
After the second attempt and the same result, I am pretty sure something is really messed up.
Any suggestions as to what I did that could cause such crazy behaviour?
This is an RPI3 with Stretch.
I tried some google searches and couldn't find similar problems posted anywhere.
Another possibility is that the SD card is damaged and has turned read-only. I’ve had a couple of memory cards do this after a power brown-out. It’s not immediately obvious because no errors are generated, and as long as the new files remain in the cache it appears as if they have been written as normal.
Code: Select all
echo 3 | sudo tee /proc/sys/vm/drop_caches
Code: Select all
#!/bin/bash # email parameters email="sendEmail -f firstname.lastname@example.org -t email@example.com -s smtp.mail.com:587 -o tls=yes -xu username -xp password -q" subj="Error from $HOSTNAME" msg="error reported by $HOSTNAME at $(date)" # look for critical kernel errors [[ $(dmesg -xl crit) ]] && \ eval "$email -u '$subj' -m 'Critical kernel $msg'" # look for critical errors in dmesg # to clear dmesg : $ sudo dmesg -C # check filesystem hasn't become read-only teststring=$(date) testfile=$(mktemp -p $HOME) echo $teststring > $testfile # make a test file sync; sync # wait for disc-sync to complete echo 3 | sudo tee /proc/sys/vm/drop_caches &> /dev/null # drop caches echo $teststring | diff - $testfile &> /dev/null || \ eval "$email -u '$subj' -m 'File-system $msg'" # check the contents of the test file rm $testfile &> /dev/null
Lexar do not list a 633x card in 16GB, lowest storage capacity they offer is 32GB - your card is likely a fake.
The following is for sale on Amazon:Imperf3kt wrote: ↑Sun Feb 16, 2020 5:34 amLexar do not list a 633x card in 16GB, lowest storage capacity they offer is 32GB - your card is likely a fake.
That doesn't mean they've never sold them in the past, just that they don't sell them now.
https://www.lexar.com/portfolio_page/hi ... s-i-cards/