LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-12-2013, 06:26 PM   #1
iamchairs
LQ Newbie
 
Registered: Apr 2013
Posts: 8

Rep: Reputation: Disabled
USB Became read only mid-copy?


I copied 10 videos to a 64gb flash drive fine. Everything copied over fine. Had another set of 10 videos I needed to copy and after that. Started copying the second batch of ten and after the first video (and probably half way through the second) it stopped and said 'Error opening file '/media/micah/USB20FD/(the video)': Read-only file system'.

How can this happen when it's half way through copying a file?
 
Old 07-12-2013, 06:31 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,568

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
It wouldnt happen half-way through unless there was no more free space on the drive. If you just type the command "mount" or cat your /etc/mtab file you can see the mounts and their options, which should have either an ro or rw for read only or read write.

So you either :

1) Did not copy the files to the USB drive when you thought you had and it was read only the entire time
2) Somehow re-mounted the USB drive, either by unplugging it and plugging it back in or manually remounted it.
3) Filled up the usb drive and it has no more free space(although the error message usually indicates this).
 
Old 07-12-2013, 09:13 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,789

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
I have had USB devices go read-only on me, particularly my podplayer, which gets a lot of mounting and remounting as I remove listened-to podcasts and add new ones every day, though I can't recall it happening in the middle of copying a file--it might have, but I can't be certain. I have had happen while copying a series of files.

Unmounting, removing, and remounting it has fixed the problem for me. It happens very infrequently and I've never been inconvenienced enough to try to figure out why it happened.

Last edited by frankbell; 07-12-2013 at 09:15 PM.
 
Old 07-13-2013, 09:09 AM   #4
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 546
Blog Entries: 3

Rep: Reputation: 62
Just curious, how big are the videos and what FS on the drive? I have seen this copying files larger than 4GB to a FAT based drive.
 
Old 08-04-2013, 03:59 AM   #5
Doc CPU
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 999

Rep: Reputation: 294Reputation: 294Reputation: 294
Hi there,

Quote:
Originally Posted by goumba View Post
Just curious, how big are the videos and what FS on the drive? I have seen this copying files larger than 4GB to a FAT based drive.
that was my first idea, too, but I think this produces a different error condition. "Not enough space" or something like that, IIRC.

However, I occasionally had this effect too - a USB drive (a normal HDD) that mounted fine, I copied a large amount of data to it, and in mid-copy the process stalled and complained about the target being read-only.
I investigeted that, and found out that from time to time the USB device disconnected and reconnected again after fractions of a second. That disconnection was so short that it wasn't even reported by the desktop, but since it happened during a write access, it left file system errors and therefore the file system was re-mounted read-only.

I finally found out that the reason was a bad USB plug that would lose contact from time to time when the cable was moved.

[X] Doc CPU
 
  


Reply


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] External USB hard drives no longer mounting read/write -- now read only revbish Puppy 2 01-28-2013 05:44 PM
[SOLVED] Cant read or copy DVD's lpallard Linux - Software 17 06-03-2011 04:53 AM
Run Puppy via USB mid XP session flotoonie Puppy 2 03-12-2008 12:01 AM
USB HardDrive mounts read-only. Is there anyway to make it read-write? Fritz_Katz Linux - Hardware 7 09-13-2007 06:50 PM
Good, quite ATX-mid tower case that supports 6 usb ports? r_jensen11 General 1 03-21-2005 08:36 PM


All times are GMT -5. The time now is 01:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration