You are not logged in.
Hello (:
I got a new hard drive a while ago because the old one was starting to fail and today I decided to disconnect the old one to reduce noise. I had to change grub's menu.lst and /etc/fstab, but after that my system was up and running again, exept for one wierd problem. I have a FAT partition on sda2 and my fstab looks like this:
[snip]
/dev/sda5 / ext3 defaults,noatime 0 1
/dev/sda6 /home ext3 defaults,noatime 0 1
/dev/sda3 /mnt/per xfs defaults 0 1/dev/sda2 /mnt/mellom vfat defaults,uid=1000,gid=95,iocharset=iso8859-1,utf8 0 0
/dev/sda7 swap swap defaults 0 0
When I've booted everything works fine. All the files belong to my user and the storage group, and I can both read and write. But after a while (without doing anything special) it suddenly turns read-only, and I have to unmount and mount -a to be able to write to it again (as a normal user).. I'm clueless, what have I screwed up this time?
Last edited by burk (2008-02-09 12:05:57)
Offline
Here's a little test to show you how the problem looks:
burk /mnt $ mount
[...]
/dev/sda2 on /mnt/mellom type vfat (rw,uid=1000,gid=95,iocharset=iso8859-1,utf8)
burk /mnt $ mkdir /mnt/mellom/lele
mkdir: cannot create directory `/mnt/mellom/lele': Read-only file system
burk /mnt $ sudo umount /mnt/mellom
burk /mnt $ sudo mount -a
burk /mnt $ mkdir /mnt/mellom/lele
burk /mnt $ mount
[...]
/dev/sda2 on /mnt/mellom type vfat (rw,uid=1000,gid=95,iocharset=iso8859-1,utf8)
burk /mnt $ ll
total 60
[...]
drwxr-xr-x 15 burk storage 16384 2008-02-09 01:03 mellom
[...]
burk /mnt $
EDIT:
I've fount out that this doesn't just happen periodically, it happens when I run swiftfox! Immediately after running it the partition becomes read-only :S I have my swiftfox profile stored on this partition, but I always have, so I don't see why this is happening now...
EDIT2:
Seems my filesystem was a bit corrupted. I found a lot of FAT errors in /var/log/errors.log and fixed it with fsck.vfat -a /dev/sda2, so now it works again (:
Last edited by burk (2008-02-09 12:05:44)
Offline