You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, May 3rd 2007, 7:15pm

automatic usb harddisk mounting

Hey there,

I've been having some troubles with my usb harddisk. It automatically mounts, and Konqueror pops up a window, but it gives "Read-only file system" errors, even when it appears to be mounted read-write.

There is something very buggy about this and I'd like to get into contact with the people that are responsible for this auto-mounting or that have some knowledge about the process and that are supposed to know about this problem.

The problem sometimes just dissappears. Usually I can write to the filesystem a couple of times and then it suddenly switches into read-only mode. Or, I cannot write to it at all, to start with. Or, it starts read-only, and then it becomes read-write later.

Anyway,
is this a kernel issue? Should I contact kernel programmers? Is it a KDE issue? Where can I take this?

greetings,

Xen.

kriko

Trainee

Posts: 127

Location: Slovenia

  • Send private message

2

Friday, May 4th 2007, 9:20am

I think this is an issue with your drive. Please take a look at dmesg, when you're mounting:

Source code

1
sudo tail -f /var/log/messages

to see why it is being mounted read-only. It might be corrupted, as I had same problem with my flash drive. Backup data, reformat.

3

Monday, May 7th 2007, 2:28pm

Hey kriko,

thanks for the reply. I had before looked into /var/log/messages, but did not find anything useful, but now with the tail this came up:

Source code

1
2
3
May  7 15:12:24 linux kernel: FAT: Filesystem panic (dev sda1)
May  7 15:12:24 linux kernel:     invalid access to FAT (entry 0xffffffff)
May  7 15:12:24 linux kernel:     File system has been set read-only

So I guess a reformat will do the trick.
Now I only need some way to back up all this data, which I would have needed anyway...

kriko

Trainee

Posts: 127

Location: Slovenia

  • Send private message

4

Monday, May 7th 2007, 3:26pm

Just mount it in read-only:
#sudo mount -o ro /dev/xxx /mnt

5

Monday, May 7th 2007, 4:10pm

What good will that do? It is already in effect read-only, so why would I need to mount it read-only?

kriko

Trainee

Posts: 127

Location: Slovenia

  • Send private message

6

Monday, May 7th 2007, 4:21pm

Sorry, misunderstood.