Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

80%
+6 −0
Q&A Why can't I change any data on this micro SD card or format it?

When the controller of a flash medium detects a problem it often goes read only. This is a defence mechanism so that it preserves your data and prevents any further deterioration in the flash by f...

posted 1y ago by Pogo‭

Answer
#1: Initial revision by user avatar Pogo‭ · 2023-07-22T12:20:22Z (over 1 year ago)
When the controller of a flash medium detects a problem it often **goes read only**.  This is a defence mechanism so that it preserves your data and prevents any further deterioration in the flash by further writes.  For example, the controller may have decided the flash has reached the end of its write lifetime and the flash can no longer be relied upon to store data correctly, so it prevents further writing.

In this situation the devices appears to be accessible as normal, but any writes are ignored.  This can cause filesystems to become confused, since the filesystem thinks a write has succeeded but in fact the data is unchanged.  Depending on how data is cached, the filesystem may have either the old data (which is on the medium) or an updated version in cache, which will be replaced by the old data when it is evicted from cache.  This can be the source of strange behaviour and sometimes machine freezes.

If the card goes this way, it's life is over.  The thing to do is copy the files off it onto new media while you can.  Then you can only throw the card away - if the data is sensitive, physically destroy it (cut it up) first.