I have a USB-flash device (SanDisk SDCZ33 BM120423519D
) with no hardware switch, which is stuck in readonly mode:
# hdparm /dev/sdf
/dev/sdf:
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 14 00 00 00 00 20 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
multcount = 0 (off)
readonly = 1 (on)
readahead = 256 (on)
geometry = 30532/64/32, sectors = 62530624, start = 0
I've tried to clear its r/o mode with:
# hdparm -r0 /dev/sdf
Then tried to format it with gparted
, but it fails with error messages:
The files system is availabe only for read
After reinstertion the flash device is still stucked in the r/o mode.
The problem with r/o mode is risen after the one of halts of the host device (Raspberry PI
). So the question is how to REALLY clear the readonly flag?
Best Answer
Well the flash has been simply locked by its internal mechanisma, and the manufacturer of the flash just replaced it. So step-by-step navigator follows:
I wrote the same letter to the company's support and got the answer in which they said that:
And they gave me a form to fill it in, in order to create the product return and replace with the similar one:
Then I've sent requested data by email to the manufacturer. The data are the place of purchase, date of purchase, presence of letter "R" or the word "Refurb/Refurbished" at the back of the product, kind of the product package at the time of purchase, my phone number, Presense of physical damage, and my complete address. And then they proposed me to do the following steps:
So then I've moved the properly packed device to nearest depot (I've asked about it from manufacturer). In my case it was in Moscow. Russia. There was two variants to move the device to manufacturer: to bring it physycally, or to send via post. I've selected the first one. And next, after a few weeks they send me pack similar device that works. The conclusion is: don't hesistate to write to support.