You are not logged in.
Hi,
since yesterday I can't delete or create new files on my primary USB flash drive.
I then tried my other USB drive and it works without a problem.
Both are from the same manufacturer and formated with the FAT16 file system. When I check the permissions of the files/folder I see myself as owner with read/write permissions on both drives.
the error message on the console is:
rm: cannot remove 'foo': Read-only file systemI'd really like to give you more information but honestly I don't know where to look since one works and the other suddenly stopped working.
\edit: Checked dmesg:
[ 769.912866] FAT-fs (sdb1): error, fat_get_cluster: invalid cluster chain (i_pos 123716903)
[ 769.912871] FAT-fs (sdb1): Filesystem has been set read-onlySeems to be the problem. Any ideas?
Thanks in advance!
Last edited by Barghest (2012-06-20 07:06:48)
Offline
I wasn't aware that FAT filesystems had a concept of file permissions or ownership...
First of all, reboot if you recently updated your system. Because the linux package (the kernel) was also updated. Then install and use gparted to format the drive.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Maybe check the output of mount and what options were used for your drive?
Offline
Ok, I've solved it using fsck.vfat. Seems that some recently used files were corrupted (although I don't know why).
Offline
I think it's because you should unmount it first before pulling it out.
In Dolphin there's something like "Safely Unmount Device" and in Thunar I think it's called "Eject".
Last edited by DSpider (2012-06-20 07:57:23)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline