LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-16-2005, 06:49 PM   #1
Chomper
LQ Newbie
 
Registered: Jan 2005
Location: Columbus Ohio
Distribution: Slackware 11
Posts: 23

Rep: Reputation: 15
perplexing "read-only file system" error


Hey.

So i have a (what seems to me) incredibly odd error. When i try to write to one of my vfat partitions (/thepit), i get the error:

Code:
[root@cpe thepit]# mkdir folderforstuff
mkdir: cannot create directory `folderforstuff': Read-only file system
when i write to my other vfat partition, it works just fine

the weird part is that they are both set up exactly the same! and yet, for some reason, one works and the other doesn't.

here's my fstab:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
/dev/hda2               /boneyard               vfat    rw,noauto,user,owner,uid=500,gid=500,umask=0000 0 0
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
/dev/hdb3               /thepit                 vfat    rw,noauto,user,owner,uid=500,gid=500,umask=0000 0 0
LABEL=SWAP-hdb2         swap                    swap    defaults        0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,managed 0 0
/dev/hdd                /media/cdrom            auto    pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
as you can see, i have them both set up equally. "/boneyard" works but "/thepit" doesn't.

and finally:

Code:
[root@cpe /]# ls -l
total 216
drwxr-xr-x    2 root    root     4096 Nov 16 18:27 bin
drwxrwxrwx   17 chomper chomper 32768 Nov 16 19:39 boneyard
drwxr-xr-x    3 root    root     4096 Nov 16 16:26 boot
drwxr-xr-x   10 root    root     5360 Nov 16 19:21 dev
drwxr-xr-x   83 root    root    12288 Nov 16 19:29 etc
drwxr-xr-x    3 root    root     4096 Nov 16 16:49 home
drwxr-xr-x   11 root    root     4096 Nov 16 18:19 lib
drwx------    2 root    root    16384 Nov 16 11:22 lost+found
drwxr-xr-x    5 root    root     4096 Nov 16 19:21 media
drwxr-xr-x    2 root    root        0 Nov 16 19:21 misc
drwxr-xr-x    2 root    root     4096 May 23 00:28 mnt
drwxr-xr-x    2 root    root        0 Nov 16 19:21 net
drwxr-xr-x    2 root    root     4096 May 23 00:28 opt
dr-xr-xr-x  126 root    root        0 Nov 16 14:20 proc
drwxr-x---    7 root    root     4096 Nov 16 19:27 root
drwxr-xr-x    2 root    root    12288 Nov 16 18:28 sbin
drwxr-xr-x    2 root    root     4096 Nov 16 16:22 selinux
drwxr-xr-x    2 root    root     4096 May 23 00:28 srv
drwxr-xr-x   10 root    root        0 Nov 16 14:20 sys
drwxrwxrwx   32 chomper chomper 32768 Dec 31  1969 thepit
drwxrwxrwt   14 root    root     4096 Nov 16 19:40 tmp
drwxr-xr-x   14 root    root     4096 Nov 16 16:25 usr
drwxr-xr-x   22 root    root     4096 Nov 16 16:40 var
they both show the same permissions but for some reason the dates are different? i don't exactly know what those dates are supposed to mean but i just reformatted my computer twice today so i assume they should all be Nov 16.

any help would be more than greatly appreciated.

thanks for looking...
 
Old 11-16-2005, 07:56 PM   #2
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Looks kinda wierd, especially the date, the usual problem with accessing mounted filesystems as non root is not having umask=000.
Plse post the output of "mount" and /etc/mtab and also the mount command you use to mount the vfat partitions in the first place. You might also care to check /var/log/messages to see if anything untoward is going on.

Alternately you could try replacing noauto with auto and see what happens
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Read-Only File System" external USB HD logan2004 Linux - Hardware 3 04-01-2005 09:07 AM
Sudden "read only file system" !? clandestine Fedora 2 03-14-2005 06:12 PM
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
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM


All times are GMT -5. The time now is 07:01 PM.

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