LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-21-2010, 11:24 AM   #1
nutjob16
LQ Newbie
 
Registered: Dec 2009
Location: Philadelphia PA, USA
Distribution: Debian
Posts: 13

Rep: Reputation: 0
External USB Hard Drive became read only


I was in the process of backing up data from my hard drive to an external usb drive when the drive suddenly became read only. Does anyone know how I can make it read/write again? I am using Debian Lenny and the drive is ntfs formatted. I have another ntfs formatted usb drive that is not effected in this way.
 
Old 08-21-2010, 11:32 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
try
Code:
mount -o remount,rw mount_point
Quote:
the drive suddenly became read only
you can look at dmesg for the reason.

Last edited by troop; 08-21-2010 at 11:36 AM.
 
Old 08-21-2010, 11:51 AM   #3
nutjob16
LQ Newbie
 
Registered: Dec 2009
Location: Philadelphia PA, USA
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks troop,

I tried the command and it didn't work.

I looked in dmesg and nothing really popped out at me as being the answer. I saw a line such as:
[ 43.846581] sd 1:0:0:0: [sdd] Write Protect is off

Which would indicate to me that it is in read/write mode, however it is still read only.

Could the hard drive be going?
 
Old 08-21-2010, 01:36 PM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,884

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
I was in the process of backing up data from my hard drive to an external usb drive
How were you doing this backup? From a bash or other script? using dd command?

Quote:
the drive suddenly became read only
What does that mean? How did you notice it became "suddenly" readonly?
 
Old 08-21-2010, 04:31 PM   #5
nutjob16
LQ Newbie
 
Registered: Dec 2009
Location: Philadelphia PA, USA
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
yancek,

I was just dragging and dropping files one by one with the file manager. I copied one and it worked, then I tried to copy the next one and it gave me a message, "operation not supported".

However, it appears that it is not read only. I am able to delete. Interestingly, I deleted 2 files, then I was able to copy 2 files to the drive before it gave me the "operation not supported" message.

Is there a limit to the number of files I can put on the drive?
 
Old 08-21-2010, 05:51 PM   #6
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
No there shouldn't be a limit on how many files unless, of course, you're out of disc space. If you were moving the files and not copying I could see the potential problem of the file being moved protected and incapable of being deleted. But you're copying so it's a mystery. You say the other external drive is set up the same way and it's not affected. I wonder if the enclosure circuitry is going bad? I've seen that happen. Just for kicks and giggles try changing enclosures and see what happens. Good Luck.
 
Old 08-22-2010, 09:18 AM   #7
nutjob16
LQ Newbie
 
Registered: Dec 2009
Location: Philadelphia PA, USA
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Hello,

I believe I figured this out. Looks like the ntfs-3g drivers in Lenny are the problem. I tried the latest (10.04) ubuntu live cd and was able to add more files to the drive.
 
Old 08-22-2010, 11:48 AM   #8
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Glad you got it sorted out. Now all you need is to update your ntfs-3g package.
 
  


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
Booting Linux on an external USB hard drive (not a memory stick, a hard drive) comcastuser Linux - Hardware 4 01-13-2010 06:59 PM
External Hard Drive has become read-only jraclarke Linux - Newbie 17 07-30-2009 06:23 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Setting permissions on an external USB hard drive so that all users can read from it? Pi Man Linux - Hardware 2 09-07-2004 09:50 PM


All times are GMT -5. The time now is 05:28 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