LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2013, 05:12 AM   #1
nyk.mat
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Rep: Reputation: Disabled
USB Drive went into Read-only mode and doesn't allow me to write or delete anything


Hi,

I am using Linux kernel 3.4.56 and I was working with a USB stick but while doing a system upgrade procedure, it went into read-only mode.

And now it doesn't allow me to write or delete anything.

I have already checked the permissions, tried SU mode, tried fdisk -l, but nothing helped.

Lots of our USB sticks went down because of this problem.

How can I fix this?

Thanks in advance for your suggestions.

Last edited by nyk.mat; 12-06-2013 at 05:14 AM.
 
Old 12-06-2013, 07:44 AM   #2
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 120

Rep: Reputation: Disabled
You can try mounting it with 'rw' option. If your usb device is /dev/sdb,and you want to mount /dev/sdb1 at /mnt/usb then you can try:

Code:
mount -o rw /dev/sdb1 /mnt/usb
 
Old 12-06-2013, 11:08 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If that doesn't work, you may need to unmount and use fsck. If the stick has got corrupted, then it's mounted as ro so that you can get at the data but not make things worse by writing to it.
 
Old 12-06-2013, 04:47 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Boot to a live cd and see if you can access it.

I'd wonder about the actual hardware too. This is unusual.
"Lots of our USB sticks went down because of this problem."
 
Old 12-06-2013, 08:56 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,361
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
I don't want to sound flip and you may already have tried this, but have you tried unmounting, removing, and remounting the drive? I have had this happen to me occasionally (less than once every month or two) with a drive that is constantly connected and with my Iriver podplayer, which mounts as a mass storage device, and removing and reconnecting the device has always cleared it up.

Last edited by frankbell; 12-06-2013 at 09:00 PM.
 
Old 12-07-2013, 05:20 AM   #6
nyk.mat
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks,
> I tried mount -o rw /dev/sdb1 /mnt/usb, it successfully executed with returning 0.
But the Usb is still mounted in read-only mode.

> Already tried fsck, but did not work.

> I mean by, "Lots of our USB sticks went down because of this problem" is around 10-15 usb sticks went down out of 5000.

But still its a serious issue and affecting our reputation.
 
  


Reply

Tags
fat32, linux, mount usb, read only, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] usb drive - cannot write, can read and delete aidan@keyworld.net Debian 4 04-05-2013 02:45 PM
usb pendrive not mounting in read write mode pkush Linux - Hardware 4 09-25-2012 04:30 AM
USB Write-Protected (Read-Only Mode) After GParted Install jay_pablo_69 Ubuntu 2 11-01-2011 03:20 PM
how can I automate my usb drive to be read/write abrand888 Debian 4 10-19-2006 06:58 PM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 01:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration