Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 09:38:57 21:38


Login with username, password and session length


Pages: [1]
Print
Author Topic: Usb flash drive write protection problem  (Read 5371 times)
0 Members and 1 Guest are viewing this topic.
max
Senior Member
****
Offline Offline

Posts: 321

Thank You
-Given: 1661
-Receive: 52


« on: August 10, 2013, 06:48:32 18:48 »

Hi,

I have a usb 4gb kingston flash drive, during a files transfer operation it become
in-operative and can not formatted, getting the message the disk is write protected, I search the net for the solution but nothing is helpful.
Any idea how to recover the drive.

Regards
Logged

Fate arrived and made the conscious unconscious It silenced the activity of life.
calabazas
Junior Member
**
Offline Offline

Posts: 59

Thank You
-Given: 152
-Receive: 6


« Reply #1 on: August 10, 2013, 08:14:10 20:14 »

[potential software cause]
According to JEDEC JESD220A, something may have set the WP (write protect) flag in Mode Parameter header.
Standard doc is at http://www.jedec.org/committees/jc-649. Page 244/245 has below descriptions.
"This field contains the write protect (WP) bit: a WP bit set to one indicates that the medium is write-protected, a WP bit set to zero indicates that the medium is not write-protected."

The WP bit shall be set to one when the logical unit is write-protected by any method, including any one of the followings:
• the software write protect (SWP) bit in the Control mode page is set to one
• the logical unit is configured as permanent write protected and fPermanentWPEn = 1
• the logical unit is configured as power on write protected and fPowerOnWPEn = 1
• the device is write-protected by vendor-specific electrical or mechanical mechanism.

[potential hardware cause]
- some flash module has a write-protect switch
- some flash module has a write-protect signal on module pin (via manufacturer specific pin)

Logged
h0nk
Senior Member
****
Offline Offline

Posts: 257

Thank You
-Given: 226
-Receive: 231



« Reply #2 on: August 10, 2013, 08:41:07 20:41 »

You may try "PLSCSI". With this software You can edit the SCSI-Modepages.
The Modepages contain the deviceflags as calabazas wrote.
You should read the SCSI-specs toroughly. Else may be Your harddrive is also write protected...

Another solution would be to reinitialise the firmware of the stick.
I did this already with a Alcor-compatible controller used in a CNMemory-Stick.
The stick is fine now :-)
I dont know what chipset Kingston has used.


Good luck, and

Best Regards
« Last Edit: August 10, 2013, 09:09:36 21:09 by h0nk » Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 152
-Receive: 214


« Reply #3 on: August 11, 2013, 06:36:41 06:36 »

I'd probably try it on some different computers and if it acts the same throw it out (or try to get a warranty replacement)
Logged
max
Senior Member
****
Offline Offline

Posts: 321

Thank You
-Given: 1661
-Receive: 52


« Reply #4 on: August 11, 2013, 07:36:23 19:36 »

It means the usb flash drives are the most un-reliable media for the data storage and backup.
The kingston web site says it is the OS problem, not the drive problem.
Please suggest the most reliable media for the data backup. (I think it is dvd)

Regards
Logged

Fate arrived and made the conscious unconscious It silenced the activity of life.
calabazas
Junior Member
**
Offline Offline

Posts: 59

Thank You
-Given: 152
-Receive: 6


« Reply #5 on: August 11, 2013, 08:26:07 20:26 »

Please suggest the most reliable media for the data backup. (I think it is dvd)

- Kingston DT Ultimate G2 USB 3.0 flash works, ~3 years, costy
- add another internal SATA HDD, reliable for ~5 years
- if you have reliable USB link, external USB HDD like WD MyPassport can be useful.

WD MyBook is piece of crap. It requires wiping free space clean to be recognized by BIOS/OS properly.
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 152
-Receive: 214


« Reply #6 on: August 14, 2013, 11:37:06 23:37 »

It means the usb flash drives are the most un-reliable media for the data storage and backup.
The kingston web site says it is the OS problem, not the drive problem.
Please suggest the most reliable media for the data backup. (I think it is dvd)

Regards


We use multiple rotating SATA backup drives and take a drive offsite each night.   They only thing truly reliable is multiple redundancy.  Relying on optical media is a bad idea because that isn't fool proof either, plus they are slow and hold very little data.
Logged
max
Senior Member
****
Offline Offline

Posts: 321

Thank You
-Given: 1661
-Receive: 52


« Reply #7 on: August 15, 2013, 10:47:54 22:47 »

I think if we properly care the optical media then it will be as good as other media, I have some 15 year old cd's data backup, the cd's are still working properly, the most important thing in cd/dvd are no electronics
and no motors compare to other form of medias.
Logged

Fate arrived and made the conscious unconscious It silenced the activity of life.
vtec_b0i
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


« Reply #8 on: August 26, 2013, 02:58:47 14:58 »

CD's tend to deteriorate and the foil will flake. If you want reliable backup media go for tape.
USED LTO3 drives are cheap these days and are quite fast.

You can pick up an LTO3 autoloader for $200 these days and a SCSI card is also quite cheap ($100).

LTO3 will take 400gig uncompressed per tape and can stream data at up to 80MB/s. In comparison a WD Green drive gets around 110MB/s

LTO3 tapes are around $10-15
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 152
-Receive: 214


« Reply #9 on: August 26, 2013, 06:26:36 18:26 »

CD's tend to deteriorate and the foil will flake. If you want reliable backup media go for tape.
USED LTO3 drives are cheap these days and are quite fast.

You can pick up an LTO3 autoloader for $200 these days and a SCSI card is also quite cheap ($100).

LTO3 will take 400gig uncompressed per tape and can stream data at up to 80MB/s. In comparison a WD Green drive gets around 110MB/s

LTO3 tapes are around $10-15

Don't forget to mention SUPER long seek times with tape.  They are great unless you want to get a couple of files!

I hate optical media, since they use organic layers they deteriorate over time, and you have no way of knowing how deteriorated they are until they simply don't work anymore.  There are some specialized tools for evaluated P1 and P2 errors on optical media so you can get a sense of how they are deteriorating but there isn't really a metric.

At least a hard drive is fast, cheap, and can be duplicated quickly, Also it's nice to have a medium that you automatically assume is unreliable and will fail so you are more inclined to have multiple copies.  It's a real bummer to go through a box of archival DVDs and find out every one is no longer readable.
Logged
h0nk
Senior Member
****
Offline Offline

Posts: 257

Thank You
-Given: 226
-Receive: 231



« Reply #10 on: August 26, 2013, 08:18:10 20:18 »

Don't forget to mention SUPER long seek times with tape.  They are great unless you want to get a couple of files!

I hate optical media, since they use organic layers they deteriorate over time, and you have no way of knowing how deteriorated they are until they simply don't work anymore.  There are some specialized tools for evaluated P1 and P2 errors on optical media so you can get a sense of how they are deteriorating but there isn't really a metric.

At least a hard drive is fast, cheap, and can be duplicated quickly, Also it's nice to have a medium that you automatically assume is unreliable and will fail so you are more inclined to have multiple copies.  It's a real bummer to go through a box of archival DVDs and find out every one is no longer readable.

LTO drives seek remarkably fast.
But You have to use a software (Veritas Netbackup, Tivoli Storage Manager, ...) which maintains a catalog of the files on the tape
to get this fast access to a single file.
LTO-4 and LTO-5 can even more store data on a tape and to my personal opinion they are good value for money.


Best Regards
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 152
-Receive: 214


« Reply #11 on: August 26, 2013, 10:08:33 22:08 »

LTO drives seek remarkably fast.
But You have to use a software (Veritas Netbackup, Tivoli Storage Manager, ...) which maintains a catalog of the files on the tape
to get this fast access to a single file.
LTO-4 and LTO-5 can even more store data on a tape and to my personal opinion they are good value for money.


Best Regards


heh well I guess fast and slow is subjective, 50 second average seek time seems like a long time to me Smiley
Logged
h0nk
Senior Member
****
Offline Offline

Posts: 257

Thank You
-Given: 226
-Receive: 231



« Reply #12 on: August 27, 2013, 06:05:10 06:05 »

heh well I guess fast and slow is subjective, 50 second average seek time seems like a long time to me Smiley

I think You will not be able to flip through a bunch of >= 100 DVD's in 50 sec  Smiley

And the Backup Software is also able to maintain a adjustable disk cache...
As long as all the tapes fit in the library all will be fine.


At home i use two Seagate GoFlex Net running Debian 6 with 1x 1 TB and 2x 2 TB attached on each system.
The 2 TB drives are working in RAID-1 and are mounted read-only normally.
Actual data is written only to the 1 TB drive.

One system is cold standby only.

Once a week the data on the RAID-1 array of the standby system gets a refresh from the active system
where the data from the 1 TB drive and the data from the RAID-1 of the operational system will be merged.

The standby system will then become the master for a week.

This gives me three versions for each file i work on and two versions for older files.

In the near future i will test ZFS for the cache to make a daily snapshot.

But i think at christmas i will add a LTO-4 drive and a spare GoFlex Smiley

Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC