LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   perplexing "read-only file system" error (http://www.linuxquestions.org/questions/linux-general-1/perplexing-read-only-file-system-error-383830/)

Chomper 11-16-2005 07:49 PM

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...

Dommy 11-16-2005 08:56 PM

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


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