Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 11-26-2003, 04:05 PM   #1
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:
/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:
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:

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?
Old 11-26-2003, 06:19 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,972

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

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


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


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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration