LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-26-2003, 04:05 PM   #1
maddes
LQ Newbie
 
Registered: Nov 2003
Location: Erlangen, Germany
Distribution: Debian sid
Posts: 1

Rep: Reputation: 0
"mkdir: cannot create directory `foo': Read-only file system" on FAT32


I have a problem with FAT partition. I mount my FAT32 partition (hdb3) when my system starts. The fstab entry is as follows:
Code:
/dev/hdb3  /wind  vfat  rw,user,auto,umask=0  0 0
At first everything works fine, but after about one hour I get the following message, when I want to write on this filesystem:
Code:
Read-only file system
It is the same with mkdir, touch, rm and so on. It also makes no diference if I am root or anyone else.
I have found the following in /var/log/syslog:

Code:
Nov 26 21:18:26 debian kernel: FAT: Filesystem panic (dev hdb3)
Nov 26 21:18:26 debian kernel:     clusters badly computed (511 != 508)
...
Nov 26 22:02:26 debian kernel: FAT: Filesystem panic (dev hdb3)
Nov 26 22:02:26 debian kernel:     clusters badly computed (591 != 590)
Today it happend for the first time. The only thing I changed on my system is that I updated my edonkey-GUI. But it would be very strange, if this is the reason for this problem.
I recognized this, because the edonkey client permanently writes to this partition.
The last days I had problems with my IDE CD-Writer (hdd) so that my system froze a couple of times. Could this have damaged my partition?
Thanks!
 
Old 11-26-2003, 06:19 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
Try this for your fstab line:

/dev/hdb3 /wind vfat iocharset=iso8859-1,codepage=850,quiet,umask=0 0 0

or

/dev/hdb3 /wind vfat user,exec,auto,defaults,quiet,umask=0,rw 0 0
 
  


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
mkdir: cannot create directory `test': Read-only file system punt Linux - General 2 04-16-2005 09:58 PM
"Read-Only File System" external USB HD logan2004 Linux - Hardware 3 04-01-2005 09:07 AM
KDE freezes up. Getting "Read-only file system" GoodVibrations Slackware 6 02-28-2005 07:49 AM
Can't boot Mandrake 10.0, "Cannot touch, Read-Only File System" RasutoIbuki Mandriva 5 07-23-2004 08:57 PM
"Attempting create too large a file system" suguru Linux - Hardware 2 02-23-2004 01:16 AM


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