You are not logged in.

#1 2009-05-21 19:06:40

ozeta
Member
Registered: 2007-11-01
Posts: 63

Can't write on my usb pen drive from 2 days?!?

hi, from 2 days i can't write on my usb pen drive (Transcend JetFlash Flash  16gb with FAT32 partition)

if I do a manual mount in a console by root, I can easly a do cp command and copy files over.

if I open dolphin and mount by hal the drive,  I can read but not copy files, and if I open a console and do a cp command, I have this error:

cp: cannot create regular file `/media/OZETA/ownage.png': Read-only file system


what the... sad is going on? i used my pen 4 or 5 days ago sad

on the contrary, i can mount my sd card (fat32) and my 2 usb disk (fat32 and ntfs) and i can write on them.

help sad

Last edited by ozeta (2009-05-21 19:10:19)

Offline

#2 2009-05-21 19:20:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't write on my usb pen drive from 2 days?!?

What does your /etc/mtab say when you have mounted your usb pen drive? Maybe it's ro not rw <shrugs>

Offline

#3 2009-05-21 19:45:51

ozeta
Member
Registered: 2007-11-01
Posts: 63

Re: Can't write on my usb pen drive from 2 days?!?

this is the row of the device:

/dev/sdb1 /media/OZETA vfat rw,nosuid,nodev,uhelper=hal,uid=1000,utf8,shortname=mixed 0 0

Offline

#4 2009-05-21 19:51:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't write on my usb pen drive from 2 days?!?

I'm sorry, but I don't know what dolphin is, what it does and how it works - I don't even have HAL :-) I mount from the console so I don't have such problems, but unfortunately that also means I'm unable to help you. Good luck.

Offline

#5 2009-05-21 20:13:34

ozeta
Member
Registered: 2007-11-01
Posts: 63

Re: Can't write on my usb pen drive from 2 days?!?

sad

someone else has an idea?

Offline

#6 2009-05-22 10:53:23

ozeta
Member
Registered: 2007-11-01
Posts: 63

Re: Can't write on my usb pen drive from 2 days?!?

i took a shot of ls -l and it seems to be normal..

drwxr-xr-x 10 ozeta root  8192 1970-01-01 01:00 OZETA


i really don't know what to do.

to format the key? to format my pc?

Offline

#7 2009-05-22 12:44:22

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: Can't write on my usb pen drive from 2 days?!?

Have you tried running dosfsck on the device? Of course, be sure that you unmount the usb drive and verify the dev file of the relevant partition.

Something like:

dosfsck /dev/sdb1 <----replace with correct dev file!!

to see what the problem is and then

dosfsck -a /dev/sdb1

Of course, I would strongly encourage you to backup all data on the drive first.

Last edited by madalu (2009-05-22 12:45:26)

Offline

#8 2009-05-22 12:49:27

ozeta
Member
Registered: 2007-11-01
Posts: 63

Re: Can't write on my usb pen drive from 2 days?!?

i have an update:

i cleared the drive and created a new partition in ext3: i can't write on it yet!!!

neither with dolphin, neither with the console..?!?

Offline

#9 2009-05-22 13:57:40

ozeta
Member
Registered: 2007-11-01
Posts: 63

Re: Can't write on my usb pen drive from 2 days?!?

last update: i cleared the partitions and created a new fat32 (from winxp) and at least, it works!

but i don't understand why till 3 days ago the key worked well but from yesterday my pc refused to write on it!? :S

Last edited by ozeta (2009-05-22 14:07:10)

Offline

#10 2009-05-24 09:52:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't write on my usb pen drive from 2 days?!?

@ozeta
Could we do a little test? Create a new partition from Arch and please set your fstab to

/dev/sdb1 /media/OZETA vfat user,rw,umask=111,dmask=000 0 0

(edit device name and mount point accordingly).
Please write if you can write to it as a user.

Offline

Board footer

Powered by FluxBB