Jump to content

Flash drive just got randomly write protected

I know this might be a common topic on the internet but I've tried all the methods on the first page of google and none worked. 

 

My flash drive does not have a write protection switch or viruses.

My main OS is a variant of ubuntu 14.04 called Zorin 9 but I am dual booting with windows 10.

Diskpart doesn't work.

Regedit doesn't work.

And Gparted doesn't work either.

 

I know it might not be that big of a deal because it's only a 16 GB flash drive but I'd still like to keep some of my money.

Link to post
Share on other sites

16GB flash drives are usually sold for 10€ tough. You seem to have tried everything imaginable on that flash drive from the software side things (cleaning, virus/malware scanning, formating and checking the drive connector. If you can backup your data, do it. Backing up data implies "Read" so you should be fine if its only "Write" locked at random. "Execute" you wont need ot use i presume.

 

Please dont throw that drive at me!

Groomlake Authority

Link to post
Share on other sites

4 minutes ago, VerticalDiscussions said:

16GB flash drives are usually sold for 10€ tough. You seem to have tried everything imaginable on that flash drive from the software side things (cleaning, virus/malware scanning, formating and checking the drive connector. If you can backup your data, do it. Backing up data implies "Read" so you should be fine if its only "Write" locked at random. "Execute" you wont need ot use i presume.

 

Please dont throw that drive at me!

 

The annoying thing is though I was installing GParted when it got write protected which I guess is also ironic.

Link to post
Share on other sites

13 minutes ago, epicdude7623 said:

I know this might be a common topic on the internet but I've tried all the methods on the first page of google and none worked. 

 

My flash drive does not have a write protection switch or viruses.

My main OS is a variant of ubuntu 14.04 called Zorin 9 but I am dual booting with windows 10.

Diskpart doesn't work.

Regedit doesn't work.

And Gparted doesn't work either.

 

I know it might not be that big of a deal because it's only a 16 GB flash drive but I'd still like to keep some of my money.

Did you use "override"?

Cor Caeruleus Reborn v6

Spoiler

CPU: Intel - Core i7-8700K

CPU Cooler: be quiet! - PURE ROCK 
Thermal Compound: Arctic Silver - 5 High-Density Polysynthetic Silver 3.5g Thermal Paste 
Motherboard: ASRock Z370 Extreme4
Memory: G.Skill TridentZ RGB 2x8GB 3200/14
Storage: Samsung - 850 EVO-Series 500GB 2.5" Solid State Drive 
Storage: Samsung - 960 EVO 500GB M.2-2280 Solid State Drive
Storage: Western Digital - Blue 2TB 3.5" 5400RPM Internal Hard Drive
Storage: Western Digital - BLACK SERIES 3TB 3.5" 7200RPM Internal Hard Drive
Video Card: EVGA - 970 SSC ACX (1080 is in RMA)
Case: Fractal Design - Define R5 w/Window (Black) ATX Mid Tower Case
Power Supply: EVGA - SuperNOVA P2 750W with CableMod blue/black Pro Series
Optical Drive: LG - WH16NS40 Blu-Ray/DVD/CD Writer 
Operating System: Microsoft - Windows 10 Pro OEM 64-bit and Linux Mint Serena
Keyboard: Logitech - G910 Orion Spectrum RGB Wired Gaming Keyboard
Mouse: Logitech - G502 Wired Optical Mouse
Headphones: Logitech - G430 7.1 Channel  Headset
Speakers: Logitech - Z506 155W 5.1ch Speakers

 

Link to post
Share on other sites

Just now, epicdude7623 said:

I got no override option when I did it before

"delete partition override"

Cor Caeruleus Reborn v6

Spoiler

CPU: Intel - Core i7-8700K

CPU Cooler: be quiet! - PURE ROCK 
Thermal Compound: Arctic Silver - 5 High-Density Polysynthetic Silver 3.5g Thermal Paste 
Motherboard: ASRock Z370 Extreme4
Memory: G.Skill TridentZ RGB 2x8GB 3200/14
Storage: Samsung - 850 EVO-Series 500GB 2.5" Solid State Drive 
Storage: Samsung - 960 EVO 500GB M.2-2280 Solid State Drive
Storage: Western Digital - Blue 2TB 3.5" 5400RPM Internal Hard Drive
Storage: Western Digital - BLACK SERIES 3TB 3.5" 7200RPM Internal Hard Drive
Video Card: EVGA - 970 SSC ACX (1080 is in RMA)
Case: Fractal Design - Define R5 w/Window (Black) ATX Mid Tower Case
Power Supply: EVGA - SuperNOVA P2 750W with CableMod blue/black Pro Series
Optical Drive: LG - WH16NS40 Blu-Ray/DVD/CD Writer 
Operating System: Microsoft - Windows 10 Pro OEM 64-bit and Linux Mint Serena
Keyboard: Logitech - G910 Orion Spectrum RGB Wired Gaming Keyboard
Mouse: Logitech - G502 Wired Optical Mouse
Headphones: Logitech - G430 7.1 Channel  Headset
Speakers: Logitech - Z506 155W 5.1ch Speakers

 

Link to post
Share on other sites

Apart from other possible culprits like access rights, software problems, etc., this is how NAND flash dies when it wears out from too many erases - it essentially becomes read-only and nothing can be done about it, it's done.

 

It is the same process as in SSDs, but USB drives typically do not have such robust controllers, do not support TRIM, do not have spare blocks and have simpler wear leveling, so you are looking at anything from 1,000 to 100,000 erase cycles depending on the flash drive in question.

Link to post
Share on other sites

Just now, Trololo said:

Apart from other possible culprits like access rights, software problems, etc., this is how NAND flash dies when it wears out from too many erases - it essentially becomes read-only and nothing can be done about it, it's done.

 

It is the same process as in SSDs, but USB drives typically do not have such robust controllers, do not support TRIM, do not have spare blocks and have simpler wear leveling, so you are looking at anything from 1,000 to 100,000 erase cycles depending on the flash drive in question.

 

I don't think I've done even close to 1000 erase cycles because I can still see the files.

Link to post
Share on other sites

When an erase fails, you will keep seeing the files and possibly be able to read them - a failed memory cell will not be erased and will keep its previous contents. Keep in mind that they are not "erase cycles" of the entire drive as such, but of individual memory cells. That is why an SSD will: a) move stuff around in order not to overwrite a few blocks again and again, b) transparently replace failed blocks from reserve space. Imagine 16 GB drive with no spare blocks - if you fill it up to the last block and then rewrite that one, it will be gone very quickly.

 

How does the drive behave now, is it completely read-only are can you still write to some parts?

How old and 'reputable' is it (e.g. some noname china vs. overpriced 'professional' stuff)?

Was it ever used as ReadyBoost drive, swap drive or boot drive?

 

Maybe this is a red herring and it is only some software problem, but perhaps check it with tools used for checking counterfeit ebay drives - H2testw or ChkFlsh (not to check whether it is fake, but to see how it takes writes across the drive).

Link to post
Share on other sites

10 hours ago, Trololo said:

When an erase fails, you will keep seeing the files and possibly be able to read them - a failed memory cell will not be erased and will keep its previous contents. Keep in mind that they are not "erase cycles" of the entire drive as such, but of individual memory cells. That is why an SSD will: a) move stuff around in order not to overwrite a few blocks again and again, b) transparently replace failed blocks from reserve space. Imagine 16 GB drive with no spare blocks - if you fill it up to the last block and then rewrite that one, it will be gone very quickly.

 

How does the drive behave now, is it completely read-only are can you still write to some parts?

How old and 'reputable' is it (e.g. some noname china vs. overpriced 'professional' stuff)?

Was it ever used as ReadyBoost drive, swap drive or boot drive?

 

Maybe this is a red herring and it is only some software problem, but perhaps check it with tools used for checking counterfeit ebay drives - H2testw or ChkFlsh (not to check whether it is fake, but to see how it takes writes across the drive).

 

It's only like 3-4 months old and I don't remember the brand because it was on the box and not on the flash drive. I never used it with ReadyBoost but I have put a few install disks on it for windows. And I think it's semi-reputable because I went to an actual store to buy it.

Link to post
Share on other sites

11 hours ago, ARikozuM said:

"delete partition override"

I just tried that and it comes back with this message:

DISKPART> delete partition override                                                                                                                                          

DiskPart has encountered an error: The request could not be performed because of an I/O device error.                  

See the System Event Log for more information.

Link to post
Share on other sites

10 hours ago, Trololo said:

When an erase fails, you will keep seeing the files and possibly be able to read them - a failed memory cell will not be erased and will keep its previous contents. Keep in mind that they are not "erase cycles" of the entire drive as such, but of individual memory cells. That is why an SSD will: a) move stuff around in order not to overwrite a few blocks again and again, b) transparently replace failed blocks from reserve space. Imagine 16 GB drive with no spare blocks - if you fill it up to the last block and then rewrite that one, it will be gone very quickly.

 

How does the drive behave now, is it completely read-only are can you still write to some parts?

How old and 'reputable' is it (e.g. some noname china vs. overpriced 'professional' stuff)?

Was it ever used as ReadyBoost drive, swap drive or boot drive?

 

Maybe this is a red herring and it is only some software problem, but perhaps check it with tools used for checking counterfeit ebay drives - H2testw or ChkFlsh (not to check whether it is fake, but to see how it takes writes across the drive).

 

I tried h2testw and it came out with a code 19 error and I can't find chkflsh.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×