PDA

View Full Version : Read-only file system (drive)



dannygoh
03-20-2008, 07:36 AM
[root@server /]# mkdir /backup/testing
mkdir: cannot create directory `/backup/testing': Read-only file system


[root@server /]# cat /etc/fstab
LABEL=/ / ext3 defaults,usrquota,grpquota 1 1
LABEL=/backup /backup ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0

What's wrong?

tanfwc
03-20-2008, 08:08 AM
I suspect your disk is going to give you problem.

Run a fsck and see if it report any problem.

andyreed
03-20-2008, 05:02 PM
[root@server /]# mkdir /backup/testing
mkdir: cannot create directory `/backup/testing': Read-only file systemLook into the log file for error messages related to your partitions. Check this site for information on HowTo manage your HD partitions. If you are not very comfortable with this Linux, hire a sys admin.

GXX
03-20-2008, 08:02 PM
If you don't have console access, get your provider to run fsck on your drive. When it drops you into read-only access, it means the drive is possibly fubared.