LinuxQuestions.org
Review your favorite Linux distribution.
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, 06: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 06:14 AM.
 
Old 12-06-2013, 08:44 AM   #2
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 118

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, 12:08 PM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,269

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
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, 05:47 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,691

Rep: Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264
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, 09:56 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,686
Blog Entries: 12

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
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 10:00 PM.
 
Old 12-07-2013, 06: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:45 PM
usb pendrive not mounting in read write mode pkush Linux - Hardware 4 09-25-2012 05:30 AM
USB Write-Protected (Read-Only Mode) After GParted Install jay_pablo_69 Ubuntu 2 11-01-2011 04:20 PM
how can I automate my usb drive to be read/write abrand888 Debian 4 10-19-2006 07:58 PM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 02:48 AM


All times are GMT -5. The time now is 10:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration