USB HardDrive mounts read-only. Is there anyway to make it read-write?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
USB HardDrive mounts read-only. Is there anyway to make it read-write?
I've got a Seagate "FreeAgent Go" 160GB, USB2, bus-powered. It was formated NTFS, but I reformated it Fat32 so I could use it to transfer files to/from my Linux/Windoze boxes.
It read/writes fine on Windoze.
On Linux it mounts read-only in the /media directory. I can get files off of it but when I try to copy files to it I get this message:
Aug 14 12:24:43 localhost kernel: attempt to access beyond end of device
Aug 14 12:24:43 localhost kernel: sdb1: rw=0, want=7996839755, limit=312576642
Aug 14 12:24:43 localhost kernel: attempt to access beyond end of device
Aug 14 12:24:43 localhost kernel: sdb1: rw=0, want=7996839756, limit=312576642
(( repeated thousands of times ))
and, once in a while, this appears :
Code:
Aug 14 12:24:44 localhost kernel: FAT: Filesystem panic (dev sdb1)
Aug 14 12:24:44 localhost kernel: invalid access to FAT (entry 0xe7544796)
I formated it on Windows, using SwissKnife. This was recommended by Neuros OSD.
The NeurosOSD also has problems playing back videos stored on the drive. Periodically it locks up in the middle of playback. Otherwise it's a pretty cool product.
I suppose the next step is to reformat the drive to Fat32 using Linux to see if that fixes the problem?
The old generation of USB do work on linux, the new ones only can read! The reason is that the new controller chip on them has problem with linux, formatting and reformatting has no effect.
I use, Opensuse, Fedora, and PClinuxOS, they all have same problem.
My solution:
I had an old enclosure case for a USB hard drive(2.5 inch), I fitted it with Hard Disk (Samsung, 100GB), and I use it as my memory stick, it is same size as a cigarette pack.
May be this problem should be referred to LINUX distros.
Well, I have absolutely no idea what you are talking about in regards to "old generation of USB" (USB 1.0?) or there being any problems with such devices and the Linux kernel.
But as the FreeAgent line is relatively new in the first place, I don't think it is applicable anyway.
I have some entries in my system logs that look like the ones you posted.
I have a Sabrent external usb box with an old WD 80Gb hd in it, formatted for FAT32, but it stays mounted r/w.
My problem happened while copying a 6-7Gb directory tree from the portable to my desktop system using rsync. Got most of the way through the copy operation when the drive light stayed on with no activity. Then the operation failed, leaving things in the logs like you posted. An ls of the portable after the failure gives:
In my case none of the directories is readable. Unmount and power cycle the unit and plug it back in and it works.
System log entries were similar to what the OP posted. Makes me wonder if this might have something to do with a timing problem on the USB system. The drive works fine on Win XP, and so does copying the same large directory tree.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.